]> granicus.if.org Git - python/commitdiff
Fixed markup and spaces in Misc/NEWS.
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 18 Dec 2015 17:37:02 +0000 (19:37 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 18 Dec 2015 17:37:02 +0000 (19:37 +0200)
1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 3bb46fee65c635a93b7320318bc3501a3cb475f3,1f4d55cac484cc19a07ccc074cdfc7194110dc01..b57dbf1d0e61aca83e61413e818a6dc894c80255
+++ b/Misc/NEWS
@@@ -167,299 -69,6 +167,299 @@@ Librar
  - Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
    entries.  Patch by Dingyuan Wang.
  
- - Move the imp module  from a PendingDeprecationWarning to DeprecationWarning.
 +- Issue #25626: Change three zlib functions to accept sizes that fit in
 +  Py_ssize_t, but internally cap those sizes to UINT_MAX.  This resolves a
 +  regression in 3.5 where GzipFile.read() failed to read chunks larger than 2
 +  or 4 GiB.  The change affects the zlib.Decompress.decompress() max_length
 +  parameter, the zlib.decompress() bufsize parameter, and the
 +  zlib.Decompress.flush() length parameter.
 +
 +- Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
 +  when the OS gives priority to errors such as EACCES over EEXIST.
 +
 +- Issue #25593: Change semantics of EventLoop.stop() in asyncio.
 +
 +- Issue #6973: When we know a subprocess.Popen process has died, do
 +  not allow the send_signal(), terminate(), or kill() methods to do
 +  anything as they could potentially signal a different process.
 +
 +- Issue #23883: Added missing APIs to __all__ to match the documented APIs
 +  for the following modules: csv, enum, ftplib, logging, optparse, threading
 +  and wave.  Also added a test.support.check__all__() helper.  Patches by
 +  Jacek KoƂodziej.
 +
 +- Issue #25590: In the Readline completer, only call getattr() once per
 +  attribute.  Also complete names of attributes such as properties and slots
 +  which are listed by dir() but not yet created on an instance.
 +
 +- Issue #25498: Fix a crash when garbage-collecting ctypes objects created
 +  by wrapping a memoryview.  This was a regression made in 3.5a1.  Based
 +  on patch by Eryksun.
 +
 +- Issue #25584: Added "escape" to the __all__ list in the glob module.
 +
 +- Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'.
 +
 +- Issue #25446: Fix regression in smtplib's AUTH LOGIN support.
 +
 +- Issue #18010: Fix the pydoc web server's module search function to handle
 +  exceptions from importing packages.
 +
 +- Issue #25554: Got rid of circular references in regular expression parsing.
 +
 +- Issue #18973: Command-line interface of the calendar module now uses argparse
 +  instead of optparse.
 +
 +- Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
 +  at the end if the FileInput was opened with binary mode.
 +  Patch by Ryosuke Ito.
 +
 +- Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
 +  Original patch by John Mark Vandenberg.
 +
 +- Issue #25515: Always use os.urandom as a source of randomness in uuid.uuid4.
 +
 +- Issue #21827: Fixed textwrap.dedent() for the case when largest common
 +  whitespace is a substring of smallest leading whitespace.
 +  Based on patch by Robert Li.
 +
 +- Issue #25447: The lru_cache() wrapper objects now can be copied and pickled
 +  (by returning the original object unchanged).
 +
 +- Issue #25390: typing: Don't crash on Union[str, Pattern].
 +
 +- Issue #25441: asyncio: Raise error from drain() when socket is closed.
 +
 +- Issue #25410: Cleaned up and fixed minor bugs in C implementation of
 +  OrderedDict.
 +
 +- Issue #25411: Improved Unicode support in SMTPHandler through better use of
 +  the email package. Thanks to user simon04 for the patch.
 +
- - Issue #24879:  help() and pydoc can now list named tuple fields in the
++- Move the imp module from a PendingDeprecationWarning to DeprecationWarning.
 +
 +- Issue #25407: Remove mentions of the formatter module being removed in
 +  Python 3.6.
 +
 +- Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()
 +  that caused segmentation fault or hang in iterating after moving several
 +  items to the start of ordered dict.
 +
 +- Issue #25382: pickletools.dis() now outputs implicit memo index for the
 +  MEMOIZE opcode.
 +
 +- Issue #25357: Add an optional newline paramer to binascii.b2a_base64().
 +  base64.b64encode() uses it to avoid a memory copy.
 +
 +- Issue #24164: Objects that need calling ``__new__`` with keyword arguments,
 +  can now be pickled using pickle protocols older than protocol version 4.
 +
 +- Issue #25364: zipfile now works in threads disabled builds.
 +
 +- Issue #25328: smtpd's SMTPChannel now correctly raises a ValueError if both
 +  decode_data and enable_SMTPUTF8 are set to true.
 +
 +- Issue #16099: RobotFileParser now supports Crawl-delay and Request-rate
 +  extensions.  Patch by Nikolay Bogoychev.
 +
 +- Issue #25316: distutils raises OSError instead of DistutilsPlatformError
 +  when MSVC is not installed.
 +
 +- Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
 +  pickletools.opcodes.
 +
 +- Issue #23972: Updates asyncio datagram create method allowing reuseport
 +  and reuseaddr socket options to be set prior to binding the socket.
 +  Mirroring the existing asyncio create_server method the reuseaddr option
 +  for datagram sockets defaults to True if the O/S is 'posix' (except if the
 +  platform is Cygwin). Patch by Chris Laws.
 +
 +- Issue #25304: Add asyncio.run_coroutine_threadsafe().  This lets you
 +  submit a coroutine to a loop from another thread, returning a
 +  concurrent.futures.Future.  By Vincent Michel.
 +
 +- Issue #25232: Fix CGIRequestHandler to split the query from the URL at the
 +  first question mark (?) rather than the last. Patch from Xiang Zhang.
 +
 +- Issue #24657: Prevent CGIRequestHandler from collapsing slashes in the
 +  query part of the URL as if it were a path. Patch from Xiang Zhang.
 +
 +- Issue #25287: Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
 +  supported. Check if it is supported, it may not be supported on OpenBSD for
 +  example.
 +
 +- Issue #23600: Default implementation of tzinfo.fromutc() was returning
 +  wrong results in some cases.
 +
 +- Issue #25203: Failed readline.set_completer_delims() no longer left the
 +  module in inconsistent state.
 +
 +- Issue #25011: rlcompleter now omits private and special attribute names unless
 +  the prefix starts with underscores.
 +
 +- Issue #25209: rlcompleter now can add a space or a colon after completed keyword.
 +
 +- Issue #22241: timezone.utc name is now plain 'UTC', not 'UTC-00:00'.
 +
 +- Issue #23517: fromtimestamp() and utcfromtimestamp() methods of
 +  datetime.datetime now round microseconds to nearest with ties going to
 +  nearest even integer (ROUND_HALF_EVEN), as round(float), instead of rounding
 +  towards -Infinity (ROUND_FLOOR).
 +
 +- Issue #23552: Timeit now warns when there is substantial (4x) variance
 +  between best and worst times. Patch from Serhiy Storchaka.
 +
 +- Issue #24633: site-packages/README -> README.txt.
 +
- - Issue #24874:  Improve speed of itertools.cycle() and make its
++- Issue #24879: help() and pydoc can now list named tuple fields in the
 +  order they were defined rather than alphabetically.  The ordering is
 +  determined by the _fields attribute if present.
 +
-   dialog rather than a separate dialog.   The former tabs are now a sorted
++- Issue #24874: Improve speed of itertools.cycle() and make its
 +  pickle more compact.
 +
 +- Fix crash in itertools.cycle.__setstate__() when the first argument wasn't
 +  a list.
 +
 +- Issue #20059: urllib.parse raises ValueError on all invalid ports.
 +  Patch by Martin Panter.
 +
 +- Issue #24360: Improve __repr__ of argparse.Namespace() for invalid
 +  identifiers.  Patch by Matthias Bussonnier.
 +
 +- Issue #23426: run_setup was broken in distutils.
 +  Patch from Alexander Belopolsky.
 +
 +- Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
 +
 +- Issue #2091: open() accepted a 'U' mode string containing '+', but 'U' can
 +  only be used with 'r'. Patch from Jeff Balogh and John O'Connor.
 +
 +- Issue #8585: improved tests for zipimporter2. Patch from Mark Lawrence.
 +
 +- Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
 +  Patch from Nicola Palumbo and Laurent De Buyst.
 +
 +- Issue #24426: Fast searching optimization in regular expressions now works
 +  for patterns that starts with capturing groups.  Fast searching optimization
 +  now can't be disabled at compile time.
 +
 +- Issue #23661: unittest.mock side_effects can now be exceptions again. This
 +  was a regression vs Python 3.4. Patch from Ignacio Rossi
 +
 +- Issue #13248: Remove deprecated inspect.getargspec and inspect.getmoduleinfo
 +  functions.
 +
 +- Issue #25578: Fix (another) memory leak in SSLSocket.getpeercer().
 +
 +- Issue #25530: Disable the vulnerable SSLv3 protocol by default when creating
 +  ssl.SSLContext.
 +
 +- Issue #25569: Fix memory leak in SSLSocket.getpeercert().
 +
 +- Issue #25471: Sockets returned from accept() shouldn't appear to be
 +  nonblocking.
 +
 +- Issue #25319: When threading.Event is reinitialized, the underlying condition
 +  should use a regular lock rather than a recursive lock.
 +
 +IDLE
 +----
 +
 +- Issue 15348: Stop the debugger engine (normally in a user process)
 +  before closing the debugger window (running in the IDLE process).
 +  This prevents the RuntimeErrors that were being caught and ignored.
 +
 +- Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
 +  debugger is active (15347); b) closing the debugger with the [X] button
 +  (15348); and c) activating the debugger when already active (24455).
 +  The patch by Mark Roseman does this by making two changes.
 +  1. Suspend and resume the gui.interaction method with the tcl vwait
 +  mechanism intended for this purpose (instead of root.mainloop & .quit).
 +  2. In gui.run, allow any existing interaction to terminate first.
 +
 +- Change 'The program' to 'Your program' in an IDLE 'kill program?' message
 +  to make it clearer that the program referred to is the currently running
 +  user program, not IDLE itself.
 +
 +- Issue #24750: Improve the appearance of the IDLE editor window status bar.
 +  Patch by Mark Roseman.
 +
 +- Issue #25313: Change the handling of new built-in text color themes to better
 +  address the compatibility problem introduced by the addition of IDLE Dark.
 +  Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
 +
 +- Issue #24782: Extension configuration is now a tab in the IDLE Preferences
++  dialog rather than a separate dialog.  The former tabs are now a sorted
 +  list.  Patch by Mark Roseman.
 +
 +- Issue #22726: Re-activate the config dialog help button with some content
 +  about the other buttons and the new IDLE Dark theme.
 +
 +- Issue #24820: IDLE now has an 'IDLE Dark' built-in text color theme.
 +  It is more or less IDLE Classic inverted, with a cobalt blue background.
 +  Strings, comments, keywords, ... are still green, red, orange, ... .
 +  To use it with IDLEs released before November 2015, hit the
 +  'Save as New Custom Theme' button and enter a new name,
 +  such as 'Custom Dark'.  The custom theme will work with any IDLE
 +  release, and can be modified.
 +
 +- Issue #25224: README.txt is now an idlelib index for IDLE developers and
 +  curious users.  The previous user content is now in the IDLE doc chapter.
 +  'IDLE' now means 'Integrated Development and Learning Environment'.
 +
 +- Issue #24820: Users can now set breakpoint colors in
 +  Settings -> Custom Highlighting.  Original patch by Mark Roseman.
 +
 +- Issue #24972: Inactive selection background now matches active selection
 +  background, as configured by users, on all systems.  Found items are now
 +  always highlighted on Windows.  Initial patch by Mark Roseman.
 +
 +- Issue #24570: Idle: make calltip and completion boxes appear on Macs
 +  affected by a tk regression.  Initial patch by Mark Roseman.
 +
 +- Issue #24988: Idle ScrolledList context menus (used in debugger)
 +  now work on Mac Aqua.  Patch by Mark Roseman.
 +
 +- Issue #24801: Make right-click for context menu work on Mac Aqua.
 +  Patch by Mark Roseman.
 +
 +- Issue #25173: Associate tkinter messageboxes with a specific widget.
 +  For Mac OSX, make them a 'sheet'.  Patch by Mark Roseman.
 +
 +- Issue #25198: Enhance the initial html viewer now used for Idle Help.
 +  * Properly indent fixed-pitch text (patch by Mark Roseman).
 +  * Give code snippet a very Sphinx-like light blueish-gray background.
 +  * Re-use initial width and height set by users for shell and editor.
 +  * When the Table of Contents (TOC) menu is used, put the section header
 +  at the top of the screen.
 +
 +- Issue #25225: Condense and rewrite Idle doc section on text colors.
 +
 +- Issue #21995: Explain some differences between IDLE and console Python.
 +
 +- Issue #22820: Explain need for *print* when running file from Idle editor.
 +
 +- Issue #25224: Doc: augment Idle feature list and no-subprocess section.
 +
 +- Issue #25219: Update doc for Idle command line options.
 +  Some were missing and notes were not correct.
 +
 +- Issue #24861: Most of idlelib is private and subject to change.
 +  Use idleib.idle.* to start Idle. See idlelib.__init__.__doc__.
 +
 +- Issue #25199: Idle: add synchronization comments for future maintainers.
 +
 +- Issue #16893: Replace help.txt with help.html for Idle doc display.
 +  The new idlelib/help.html is rstripped Doc/build/html/library/idle.html.
 +  It looks better than help.txt and will better document Idle as released.
 +  The tkinter html viewer that works for this file was written by Rose Roseman.
 +  The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
 +
 +- Issue #24199: Deprecate unused idlelib.idlever with possible removal in 3.6.
 +
 +- Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts).
 +
  Documentation
  -------------