Home | History | Annotate | Download | only in NEWS.d
      1 .. bpo: 23722
      2 .. date: 9790
      3 .. nonce: e8BH5h
      4 .. release date: 2016-12-06
      5 .. section: Core and Builtins
      6 
      7 Rather than silently producing a class that doesn't support zero-argument
      8 ``super()`` in methods, failing to pass the new ``__classcell__`` namespace
      9 entry up to ``type.__new__`` now results in a ``DeprecationWarning`` and a
     10 class that supports zero-argument ``super()``.
     11 
     12 ..
     13 
     14 .. bpo: 28797
     15 .. date: 9789
     16 .. nonce: _A0_Z5
     17 .. section: Core and Builtins
     18 
     19 Modifying the class __dict__ inside the __set_name__ method of a descriptor
     20 that is used inside that class no longer prevents calling the __set_name__
     21 method of other descriptors.
     22 
     23 ..
     24 
     25 .. bpo: 28782
     26 .. date: 9788
     27 .. nonce: foJV_E
     28 .. section: Core and Builtins
     29 
     30 Fix a bug in the implementation ``yield from`` when checking if the next
     31 instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647).
     32 
     33 ..
     34 
     35 .. bpo: 27030
     36 .. date: 9787
     37 .. nonce: 88FOrz
     38 .. section: Library
     39 
     40 Unknown escapes in re.sub() replacement template are allowed again.  But
     41 they still are deprecated and will be disabled in 3.7.
     42 
     43 ..
     44 
     45 .. bpo: 28835
     46 .. date: 9786
     47 .. nonce: Fv7Dr1
     48 .. section: Library
     49 
     50 Fix a regression introduced in warnings.catch_warnings(): call
     51 warnings.showwarning() if it was overriden inside the context manager.
     52 
     53 ..
     54 
     55 .. bpo: 27172
     56 .. date: 9785
     57 .. nonce: mVKfLT
     58 .. section: Library
     59 
     60 To assist with upgrades from 2.7, the previously documented deprecation of
     61 ``inspect.getfullargspec()`` has been reversed. This decision may be
     62 revisited again after the Python 2.7 branch is no longer officially
     63 supported.
     64 
     65 ..
     66 
     67 .. bpo: 26273
     68 .. date: 9784
     69 .. nonce: ilNIWN
     70 .. section: Library
     71 
     72 Add new :data:`socket.TCP_CONGESTION` (Linux 2.6.13) and
     73 :data:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by
     74 Omar Sandoval.
     75 
     76 ..
     77 
     78 .. bpo: 24142
     79 .. date: 9783
     80 .. nonce: IrZnFs
     81 .. section: Library
     82 
     83 Reading a corrupt config file left configparser in an invalid state.
     84 Original patch by Florian Hch.
     85 
     86 ..
     87 
     88 .. bpo: 28843
     89 .. date: 9782
     90 .. nonce: O7M0LE
     91 .. section: Library
     92 
     93 Fix asyncio C Task to handle exceptions __traceback__.
     94 
     95 ..
     96 
     97 .. bpo: 28808
     98 .. date: 9781
     99 .. nonce: A03X6r
    100 .. section: C API
    101 
    102 PyUnicode_CompareWithASCIIString() now never raises exceptions.
    103 
    104 ..
    105 
    106 .. bpo: 23722
    107 .. date: 9780
    108 .. nonce: 6HX6fk
    109 .. section: Documentation
    110 
    111 The data model reference and the porting section in the What's New guide now
    112 cover the additional ``__classcell__`` handling needed for custom
    113 metaclasses to fully support PEP 487 and zero-argument ``super()``.
    114 
    115 ..
    116 
    117 .. bpo: 28023
    118 .. date: 9779
    119 .. nonce: 4gzSGp
    120 .. section: Tools/Demos
    121 
    122 Fix python-gdb.py didn't support new dict implementation.
    123