]> granicus.if.org Git - python/commitdiff
merge 3.5
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 29 Sep 2015 05:04:08 +0000 (01:04 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 29 Sep 2015 05:04:08 +0000 (01:04 -0400)
1  2 
Misc/NEWS

diff --cc Misc/NEWS
index b0f1a63e06040cdc250f2eba9416f27d167a2ded,d352296beb0907e96573b8f9b7dae1b0400cc3d0..72e521d7ffc6be63ebad1095216cdd81cd59bbb3
+++ b/Misc/NEWS
  Python News
  +++++++++++
  
-     at the top of the screen.
 +What's New in Python 3.6.0 alpha 1?
 +===================================
 +
 +Release date: XXXX-XX-XX
 +
 +Core and Builtins
 +-----------------
 +
 +- Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the
 +  getrandom() function instead of the getentropy() function. The getentropy()
 +  function is blocking to generate very good quality entropy, os.urandom()
 +  doesn't need such high-quality entropy.
 +
 +- Issue #9232: Modify Python's grammar to allow trailing commas in the
 +  argument list of a function declaration.  For example, "def f(*, a =
 +  3,): pass" is now legal. Patch from Mark Dickinson.
 +
 +- Issue #24965: Implement PEP 498 "Literal String Interpolation". This
 +  allows you to embed expressions inside f-strings, which are
 +  converted to normal strings at run time. Given x=3, then
 +  f'value={x}' == 'value=3'. Patch by Eric V. Smith.
 +
 +Library
 +-------
 +
 +- 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: rlcomplete now omits private and special attribute names unless
 +  the prefix starts with underscores.
 +
 +- Issue #25209: rlcomplete 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 #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.
 +
 +- 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.
 +
 +IDLE
 +----
 +
 +- Issue #24972: Inactive selection background now matches active selection
 +  background, as configured by user, 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 #24782: In Idle extension config dialog, replace tabs with sorted list.
 +  Patch by Mark Roseman.
 +
 +- Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts).
 +
 +Documentation
 +-------------
 +
 +- Issue #24952: Clarify the default size argument of stack_size() in
 +  the "threading" and "_thread" modules. Patch from Mattip.
 +
 +Tests
 +-----
 +
 +- PCbuild\rt.bat now accepts an unlimited number of arguments to pass along
 +  to regrtest.py.  Previously there was a limit of 9.
 +
 +Build
 +-----
 +
 +- Issue #24986: It is now possible to build Python on Windows without errors
 +  when external libraries are not available.
 +
 +Windows
 +-------
 +
 +- Issue #25022: Removed very outdated PC/example_nt/ directory.
 +
  
  What's New in Python 3.5.1 release candidate 1?
  ===============================================