|
| 1 | +.. bpo: 42988 |
| 2 | +.. date: 2021-03-24-14-16-56 |
| 3 | +.. nonce: P2aNco |
| 4 | +.. release date: 2021-04-02 |
| 5 | +.. section: Security |
| 6 | +
|
| 7 | +CVE-2021-3426: Remove the ``getfile`` feature of the :mod:`pydoc` module |
| 8 | +which could be abused to read arbitrary files on the disk (directory |
| 9 | +traversal vulnerability). Moreover, even source code of Python modules can |
| 10 | +contain sensitive data like passwords. Vulnerability reported by David |
| 11 | +Schwörer. |
| 12 | + |
| 13 | +.. |
| 14 | +
|
| 15 | +.. bpo: 43285 |
| 16 | +.. date: 2021-03-13-03-48-14 |
| 17 | +.. nonce: g-Hah3 |
| 18 | +.. section: Security |
| 19 | +
|
| 20 | +:mod:`ftplib` no longer trusts the IP address value returned from the server |
| 21 | +in response to the PASV command by default. This prevents a malicious FTP |
| 22 | +server from using the response to probe IPv4 address and port combinations |
| 23 | +on the client network. |
| 24 | + |
| 25 | +Code that requires the former vulnerable behavior may set a |
| 26 | +``trust_server_pasv_ipv4_address`` attribute on their :class:`ftplib.FTP` |
| 27 | +instances to ``True`` to re-enable it. |
| 28 | + |
| 29 | +.. |
| 30 | +
|
| 31 | +.. bpo: 43439 |
| 32 | +.. date: 2021-03-08-23-06-07 |
| 33 | +.. nonce: 5U3lXm |
| 34 | +.. section: Security |
| 35 | +
|
| 36 | +Add audit hooks for :func:`gc.get_objects`, :func:`gc.get_referrers` and |
| 37 | +:func:`gc.get_referents`. Patch by Pablo Galindo. |
| 38 | + |
| 39 | +.. |
| 40 | +
|
| 41 | +.. bpo: 43660 |
| 42 | +.. date: 2021-03-29-19-50-34 |
| 43 | +.. nonce: scTgag |
| 44 | +.. section: Core and Builtins |
| 45 | +
|
| 46 | +Fix crash that happens when replacing ``sys.stderr`` with a callable that |
| 47 | +can remove the object while an exception is being printed. Patch by Pablo |
| 48 | +Galindo. |
| 49 | + |
| 50 | +.. |
| 51 | +
|
| 52 | +.. bpo: 43555 |
| 53 | +.. date: 2021-03-19-22-49-40 |
| 54 | +.. nonce: ZmhYSA |
| 55 | +.. section: Core and Builtins |
| 56 | +
|
| 57 | +Report the column offset for :exc:`SyntaxError` for invalid line |
| 58 | +continuation characters. Patch by Pablo Galindo. |
| 59 | + |
| 60 | +.. |
| 61 | +
|
| 62 | +.. bpo: 43517 |
| 63 | +.. date: 2021-03-16-17-12-54 |
| 64 | +.. nonce: zAo6Ws |
| 65 | +.. section: Core and Builtins |
| 66 | +
|
| 67 | +Fix misdetection of circular imports when using ``from pkg.mod import |
| 68 | +attr``, which caused false positives in non-trivial multi-threaded code. |
| 69 | + |
| 70 | +.. |
| 71 | +
|
| 72 | +.. bpo: 35883 |
| 73 | +.. date: 2021-03-13-13-57-21 |
| 74 | +.. nonce: UyGpdG |
| 75 | +.. section: Core and Builtins |
| 76 | +
|
| 77 | +Python no longer fails at startup with a fatal error if a command line |
| 78 | +argument contains an invalid Unicode character. The |
| 79 | +:c:func:`Py_DecodeLocale` function now escapes byte sequences which would be |
| 80 | +decoded as Unicode characters outside the [U+0000; U+10ffff] range. |
| 81 | + |
| 82 | +.. |
| 83 | +
|
| 84 | +.. bpo: 43406 |
| 85 | +.. date: 2021-03-04-22-53-10 |
| 86 | +.. nonce: Na_VpA |
| 87 | +.. section: Core and Builtins |
| 88 | +
|
| 89 | +Fix a possible race condition where ``PyErr_CheckSignals`` tries to execute |
| 90 | +a non-Python signal handler. |
| 91 | + |
| 92 | +.. |
| 93 | +
|
| 94 | +.. bpo: 42500 |
| 95 | +.. date: 2020-11-30-14-27-29 |
| 96 | +.. nonce: excVKU |
| 97 | +.. section: Core and Builtins |
| 98 | +
|
| 99 | +Improve handling of exceptions near recursion limit. Converts a number of |
| 100 | +Fatal Errors in RecursionErrors. |
| 101 | + |
| 102 | +.. |
| 103 | +
|
| 104 | +.. bpo: 43433 |
| 105 | +.. date: 2021-03-28-23-50-20 |
| 106 | +.. nonce: so9j5G |
| 107 | +.. section: Library |
| 108 | +
|
| 109 | +:class:`xmlrpc.client.ServerProxy` no longer ignores query and fragment in |
| 110 | +the URL of the server. |
| 111 | + |
| 112 | +.. |
| 113 | +
|
| 114 | +.. bpo: 35930 |
| 115 | +.. date: 2021-03-23-17-18-56 |
| 116 | +.. nonce: RZ51pM |
| 117 | +.. section: Library |
| 118 | +
|
| 119 | +Raising an exception raised in a "future" instance will create reference |
| 120 | +cycles. |
| 121 | + |
| 122 | +.. |
| 123 | +
|
| 124 | +.. bpo: 43577 |
| 125 | +.. date: 2021-03-21-10-13-17 |
| 126 | +.. nonce: m7JnAV |
| 127 | +.. section: Library |
| 128 | +
|
| 129 | +Fix deadlock when using :class:`ssl.SSLContext` debug callback with |
| 130 | +:meth:`ssl.SSLContext.sni_callback`. |
| 131 | + |
| 132 | +.. |
| 133 | +
|
| 134 | +.. bpo: 43521 |
| 135 | +.. date: 2021-03-16-16-05-02 |
| 136 | +.. nonce: mRT6fh |
| 137 | +.. section: Library |
| 138 | +
|
| 139 | +``ast.unparse`` can now render NaNs and empty sets. |
| 140 | + |
| 141 | +.. |
| 142 | +
|
| 143 | +.. bpo: 43423 |
| 144 | +.. date: 2021-03-11-15-44-18 |
| 145 | +.. nonce: rRomRD |
| 146 | +.. section: Library |
| 147 | +
|
| 148 | +:func:`subprocess.communicate` no longer raises an IndexError when there is |
| 149 | +an empty stdout or stderr IO buffer during a timeout on Windows. |
| 150 | + |
| 151 | +.. |
| 152 | +
|
| 153 | +.. bpo: 27820 |
| 154 | +.. date: 2021-03-10-14-07-44 |
| 155 | +.. nonce: Wwdy-r |
| 156 | +.. section: Library |
| 157 | +
|
| 158 | +Fixed long-standing bug of smtplib.SMTP where doing AUTH LOGIN with |
| 159 | +initial_response_ok=False will fail. |
| 160 | + |
| 161 | +The cause is that SMTP.auth_login _always_ returns a password if provided |
| 162 | +with a challenge string, thus non-compliant with the standard for AUTH |
| 163 | +LOGIN. |
| 164 | + |
| 165 | +Also fixes bug with the test for smtpd. |
| 166 | + |
| 167 | +.. |
| 168 | +
|
| 169 | +.. bpo: 43332 |
| 170 | +.. date: 2021-03-07-11-23-20 |
| 171 | +.. nonce: weatsh |
| 172 | +.. section: Library |
| 173 | +
|
| 174 | +Improves the networking efficiency of :mod:`http.client` when using a proxy |
| 175 | +via :meth:`~HTTPConnection.set_tunnel`. Fewer small send calls are made |
| 176 | +during connection setup. |
| 177 | + |
| 178 | +.. |
| 179 | +
|
| 180 | +.. bpo: 43399 |
| 181 | +.. date: 2021-03-04-17-53-46 |
| 182 | +.. nonce: Wn95u- |
| 183 | +.. section: Library |
| 184 | +
|
| 185 | +Fix ``ElementTree.extend`` not working on iterators when using the Python |
| 186 | +implementation |
| 187 | + |
| 188 | +.. |
| 189 | +
|
| 190 | +.. bpo: 43316 |
| 191 | +.. date: 2021-02-25-09-44-36 |
| 192 | +.. nonce: k9Gyqn |
| 193 | +.. section: Library |
| 194 | +
|
| 195 | +The ``python -m gzip`` command line application now properly fails when |
| 196 | +detecting an unsupported extension. It exits with a non-zero exit code and |
| 197 | +prints an error message to stderr. |
| 198 | + |
| 199 | +.. |
| 200 | +
|
| 201 | +.. bpo: 43260 |
| 202 | +.. date: 2021-02-20-12-15-29 |
| 203 | +.. nonce: 6znAas |
| 204 | +.. section: Library |
| 205 | +
|
| 206 | +Fix TextIOWrapper can not flush internal buffer forever after very large |
| 207 | +text is written. |
| 208 | + |
| 209 | +.. |
| 210 | +
|
| 211 | +.. bpo: 42782 |
| 212 | +.. date: 2020-12-29-13-46-57 |
| 213 | +.. nonce: 3r0HFY |
| 214 | +.. section: Library |
| 215 | +
|
| 216 | +Fail fast in :func:`shutil.move()` to avoid creating destination directories |
| 217 | +on failure. |
| 218 | + |
| 219 | +.. |
| 220 | +
|
| 221 | +.. bpo: 37193 |
| 222 | +.. date: 2020-06-12-21-23-20 |
| 223 | +.. nonce: wJximU |
| 224 | +.. section: Library |
| 225 | +
|
| 226 | +Fixed memory leak in ``socketserver.ThreadingMixIn`` introduced in Python |
| 227 | +3.7. |
| 228 | + |
| 229 | +.. |
| 230 | +
|
| 231 | +.. bpo: 43199 |
| 232 | +.. date: 2021-03-13-18-43-54 |
| 233 | +.. nonce: ZWA6KX |
| 234 | +.. section: Documentation |
| 235 | +
|
| 236 | +Answer "Why is there no goto?" in the Design and History FAQ. |
| 237 | + |
| 238 | +.. |
| 239 | +
|
| 240 | +.. bpo: 43407 |
| 241 | +.. date: 2021-03-04-22-53-03 |
| 242 | +.. nonce: x570l5 |
| 243 | +.. section: Documentation |
| 244 | +
|
| 245 | +Clarified that a result from :func:`time.monotonic`, |
| 246 | +:func:`time.perf_counter`, :func:`time.process_time`, or |
| 247 | +:func:`time.thread_time` can be compared with the result from any following |
| 248 | +call to the same function - not just the next immediate call. |
| 249 | + |
| 250 | +.. |
| 251 | +
|
| 252 | +.. bpo: 27646 |
| 253 | +.. date: 2021-02-20-00-09-13 |
| 254 | +.. nonce: HRsmo- |
| 255 | +.. section: Documentation |
| 256 | +
|
| 257 | +Clarify that 'yield from <expr>' works with any iterable, not just |
| 258 | +iterators. |
| 259 | + |
| 260 | +.. |
| 261 | +
|
| 262 | +.. bpo: 36346 |
| 263 | +.. date: 2020-06-15-10-45-45 |
| 264 | +.. nonce: H0sS_i |
| 265 | +.. section: Documentation |
| 266 | +
|
| 267 | +Update some deprecated unicode APIs which are documented as "will be removed |
| 268 | +in 4.0" to "3.12". See :pep:`623` for detail. |
| 269 | + |
| 270 | +.. |
| 271 | +
|
| 272 | +.. bpo: 37945 |
| 273 | +.. date: 2021-03-31-11-38-42 |
| 274 | +.. nonce: HTUYhv |
| 275 | +.. section: Tests |
| 276 | +
|
| 277 | +Fix test_getsetlocale_issue1813() of test_locale: skip the test if |
| 278 | +``setlocale()`` fails. Patch by Victor Stinner. |
| 279 | + |
| 280 | +.. |
| 281 | +
|
| 282 | +.. bpo: 41561 |
| 283 | +.. date: 2021-03-18-10-34-42 |
| 284 | +.. nonce: pDg4w- |
| 285 | +.. section: Tests |
| 286 | +
|
| 287 | +Add workaround for Ubuntu's custom OpenSSL security level policy. |
| 288 | + |
| 289 | +.. |
| 290 | +
|
| 291 | +.. bpo: 43288 |
| 292 | +.. date: 2021-02-21-11-11-53 |
| 293 | +.. nonce: LfTvL- |
| 294 | +.. section: Tests |
| 295 | +
|
| 296 | +Fix test_importlib to correctly skip Unicode file tests if the fileystem |
| 297 | +does not support them. |
| 298 | + |
| 299 | +.. |
| 300 | +
|
| 301 | +.. bpo: 43631 |
| 302 | +.. date: 2021-03-26-09-16-34 |
| 303 | +.. nonce: msJyPi |
| 304 | +.. section: Build |
| 305 | +
|
| 306 | +Update macOS, Windows, and CI to OpenSSL 1.1.1k. |
| 307 | + |
| 308 | +.. |
| 309 | +
|
| 310 | +.. bpo: 43617 |
| 311 | +.. date: 2021-03-24-16-55-55 |
| 312 | +.. nonce: d69KAv |
| 313 | +.. section: Build |
| 314 | +
|
| 315 | +Improve configure.ac: Check for presence of autoconf-archive package and |
| 316 | +remove our copies of M4 macros. |
| 317 | + |
| 318 | +.. |
| 319 | +
|
| 320 | +.. bpo: 41837 |
| 321 | +.. date: 2021-02-28-22-49-46 |
| 322 | +.. nonce: 9fqyXC |
| 323 | +.. section: macOS |
| 324 | +
|
| 325 | +Update macOS installer build to use OpenSSL 1.1.1j. |
| 326 | + |
| 327 | +.. |
| 328 | +
|
| 329 | +.. bpo: 42225 |
| 330 | +.. date: 2021-03-29-16-22-27 |
| 331 | +.. nonce: iIeiLg |
| 332 | +.. section: IDLE |
| 333 | +
|
| 334 | +Document that IDLE can fail on Unix either from misconfigured IP masquerage |
| 335 | +rules or failure displaying complex colored (non-ascii) characters. |
| 336 | + |
| 337 | +.. |
| 338 | +
|
| 339 | +.. bpo: 43283 |
| 340 | +.. date: 2021-02-21-16-30-10 |
| 341 | +.. nonce: DLBwYn |
| 342 | +.. section: IDLE |
| 343 | +
|
| 344 | +Document why printing to IDLE's Shell is often slower than printing to a |
| 345 | +system terminal and that it can be made faster by pre-formatting a single |
| 346 | +string before printing. |
0 commit comments