Ćukasz Langa | fa919fd | 2019-10-14 15:34:47 +0200 | [diff] [blame] | 1 | .. bpo: 38469 |
| 2 | .. date: 2019-10-13-23-41-38 |
| 3 | .. nonce: 9kmuQj |
| 4 | .. release date: 2019-10-14 |
| 5 | .. section: Core and Builtins |
| 6 | |
| 7 | Fixed a bug where the scope of named expressions was not being resolved |
| 8 | correctly in the presence of the *global* keyword. Patch by Pablo Galindo. |
| 9 | |
| 10 | .. |
| 11 | |
| 12 | .. bpo: 38379 |
| 13 | .. date: 2019-10-09-16-50-52 |
| 14 | .. nonce: oz5qZx |
| 15 | .. section: Core and Builtins |
| 16 | |
| 17 | When cyclic garbage collection (gc) runs finalizers that resurrect |
| 18 | unreachable objects, the current gc run ends, without collecting any cyclic |
| 19 | trash. However, the statistics reported by ``collect()`` and |
| 20 | ``get_stats()`` claimed that all cyclic trash found was collected, and that |
| 21 | the resurrected objects were collected. Changed the stats to report that |
| 22 | none were collected. |
| 23 | |
| 24 | .. |
| 25 | |
| 26 | .. bpo: 38449 |
| 27 | .. date: 2019-10-11-18-49-00 |
| 28 | .. nonce: 9TWMlz |
| 29 | .. section: Library |
| 30 | |
| 31 | Revert GH-15522, which introduces a regression in |
| 32 | :meth:`mimetypes.guess_type` due to improper handling of filenames as urls. |
| 33 | |
| 34 | .. |
| 35 | |
| 36 | .. bpo: 38431 |
| 37 | .. date: 2019-10-10-16-53-00 |
| 38 | .. nonce: d5wzNp |
| 39 | .. section: Library |
| 40 | |
| 41 | Fix ``__repr__`` method for :class:`dataclasses.InitVar` to support typing |
| 42 | objects, patch by Samuel Colvin. |
| 43 | |
| 44 | .. |
| 45 | |
| 46 | .. bpo: 38109 |
| 47 | .. date: 2019-10-10-00-25-28 |
| 48 | .. nonce: 9w-IGF |
| 49 | .. section: Library |
| 50 | |
| 51 | Add missing :data:`stat.S_IFDOOR`, :data:`stat.S_IFPORT`, |
| 52 | :data:`stat.S_IFWHT`, :func:`stat.S_ISDOOR`, :func:`stat.S_ISPORT`, and |
| 53 | :func:`stat.S_ISWHT` values to the Python implementation of :mod:`stat`. |
| 54 | |
| 55 | .. |
| 56 | |
| 57 | .. bpo: 38405 |
| 58 | .. date: 2019-10-08-11-18-40 |
| 59 | .. nonce: 0-7e7s |
| 60 | .. section: Library |
| 61 | |
| 62 | Nested subclasses of :class:`typing.NamedTuple` are now pickleable. |
| 63 | |
| 64 | .. |
| 65 | |
| 66 | .. bpo: 38332 |
| 67 | .. date: 2019-10-05-02-07-52 |
| 68 | .. nonce: hwrPN7 |
| 69 | .. section: Library |
| 70 | |
| 71 | Prevent :exc:`KeyError` thrown by :func:`_encoded_words.decode` when given |
| 72 | an encoded-word with invalid content-type encoding from propagating all the |
| 73 | way to :func:`email.message.get`. |
| 74 | |
| 75 | .. |
| 76 | |
| 77 | .. bpo: 38341 |
| 78 | .. date: 2019-10-01-21-06-18 |
| 79 | .. nonce: uqwgU_ |
| 80 | .. section: Library |
| 81 | |
| 82 | Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported |
| 83 | names. |
| 84 | |
| 85 | .. |
| 86 | |
| 87 | .. bpo: 13153 |
| 88 | .. date: 2019-09-29-22-47-37 |
| 89 | .. nonce: 0mO9qR |
| 90 | .. section: Library |
| 91 | |
| 92 | OS native encoding is now used for converting between Python strings and Tcl |
| 93 | objects. This allows to display, copy and paste to clipboard emoji and |
| 94 | other non-BMP characters. Converting strings from Tcl to Python and back |
| 95 | now never fails (except MemoryError). |
| 96 | |
| 97 | .. |
| 98 | |
| 99 | .. bpo: 38294 |
| 100 | .. date: 2019-09-27-23-37-41 |
| 101 | .. nonce: go_jFf |
| 102 | .. section: Documentation |
| 103 | |
| 104 | Add list of no-longer-escaped chars to re.escape documentation |
| 105 | |
| 106 | .. |
| 107 | |
| 108 | .. bpo: 37531 |
| 109 | .. date: 2019-10-08-16-42-05 |
| 110 | .. nonce: 7v-_Ca |
| 111 | .. section: Tests |
| 112 | |
| 113 | On timeout, regrtest no longer attempts to call ``popen.communicate()`` |
| 114 | again: it can hang until all child processes using stdout and stderr pipes |
| 115 | completes. Kill the worker process and ignores its output. Change also the |
| 116 | faulthandler timeout of the main process from 1 minute to 5 minutes, for |
| 117 | Python slowest buildbots. |
| 118 | |
| 119 | .. |
| 120 | |
| 121 | .. bpo: 38344 |
| 122 | .. date: 2019-10-05-05-50-58 |
| 123 | .. nonce: scr2LO |
| 124 | .. section: Windows |
| 125 | |
| 126 | Fix error message in activate.bat |
| 127 | |
| 128 | .. |
| 129 | |
| 130 | .. bpo: 38359 |
| 131 | .. date: 2019-10-03-08-04-14 |
| 132 | .. nonce: wzwsl_ |
| 133 | .. section: Windows |
| 134 | |
| 135 | Ensures ``pyw.exe`` launcher reads correct registry key. |
| 136 | |
| 137 | .. |
| 138 | |
| 139 | .. bpo: 38355 |
| 140 | .. date: 2019-10-02-15-38-49 |
| 141 | .. nonce: n3AWX6 |
| 142 | .. section: Windows |
| 143 | |
| 144 | Fixes ``ntpath.realpath`` failing on ``sys.executable``. |
| 145 | |
| 146 | .. |
| 147 | |
| 148 | .. bpo: 36698 |
| 149 | .. date: 2019-10-04-18-03-09 |
| 150 | .. nonce: BKcmom |
| 151 | .. section: IDLE |
| 152 | |
| 153 | IDLE no longer fails when write non-encodable characters to stderr. It now |
| 154 | escapes them with a backslash, as the regular Python interpreter. Added the |
| 155 | ``errors`` field to the standard streams. |
| 156 | |
| 157 | .. |
| 158 | |
| 159 | .. bpo: 38118 |
| 160 | .. date: 2019-10-08-15-07-52 |
| 161 | .. nonce: pIZD6H |
| 162 | .. section: Tools/Demos |
| 163 | |
| 164 | Update Valgrind suppression file to ignore a false alarm in |
| 165 | :c:func:`PyUnicode_Decode` when using GCC builtin strcmp(). |
| 166 | |
| 167 | .. |
| 168 | |
| 169 | .. bpo: 38347 |
| 170 | .. date: 2019-10-02-09-48-42 |
| 171 | .. nonce: 2Tq5D1 |
| 172 | .. section: Tools/Demos |
| 173 | |
| 174 | pathfix.py: Assume all files that end on '.py' are Python scripts when |
| 175 | working recursively. |
| 176 | |
| 177 | .. |
| 178 | |
| 179 | .. bpo: 38395 |
| 180 | .. date: 2019-10-08-01-23-24 |
| 181 | .. nonce: MJ6Ey9 |
| 182 | .. section: C API |
| 183 | |
| 184 | Fix a crash in :class:`weakref.proxy` objects due to incorrect lifetime |
| 185 | management when calling some associated methods that may delete the last |
| 186 | reference to object being referenced by the proxy. Patch by Pablo Galindo. |