Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
5765aca [3.7] bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19111) * bpo-22490: Remove "__PYVENV_LAUNCHER__" from the shell environment on macOS This changeset removes the environment varialbe "__PYVENV_LAUNCHER__" during interpreter launch as it is only needed to communicate between the stub executable in framework installs and the actual interpreter. Leaving the environment variable present may lead to misbehaviour when launching other scripts. * Actually commit the changes for issue 22490... * Correct typo Co-Authored-By: Nicola Soranzo <nicola.soranzo@gmail.com> * Run make patchcheck Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>. (cherry picked from commit 044cf94f610e831464a69a8e713dad89878824ce) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> 22 March 2020, 19:25:20 UTC
39680fb [3.7] bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. (GH-18942). (GH-19104) (cherry picked from commit b146568dfcbcd7409c724f8917e4f77433dd56e4) 21 March 2020, 14:33:44 UTC
6056b7b [3.8] bpo-27807: Skip test_site.test_startup_imports() if pth file (GH-19060) (GH-19090) test_site.test_startup_imports() is now skipped if a path of sys.path contains a .pth file. Sort test_site imports. (cherry picked from commit ba26bf30940f4347fedcf8ebc374c6e2dc375afa) Co-authored-by: Victor Stinner <vstinner@python.org> 20 March 2020, 14:27:54 UTC
64937d3 bpo-39797 Changes to socketserver.BaseServer's shutdown() method. (GH-18929) Automerge-Triggered-By: @ned-deily (cherry picked from commit 2de7ac97981c30e9c1001b05a771f52a41772c54) Co-authored-by: amaajemyfren <32741226+amaajemyfren@users.noreply.github.com> 20 March 2020, 08:08:47 UTC
4e3a7f9 bpo-39973: Fix the docs for PyObject_GenericSetDict() (GH-19026) PyObject_GenericSetDict() takes three arguments, not two. (cherry picked from commit a45b695b9fcfbbb0a087222abc5c8d691a7d2770) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 17 March 2020, 08:25:50 UTC
627e7bc Fix a possible refleak in tupleobject.c (GH-19018) (cherry picked from commit c81609e44eed641d3b8a137daa31ef35501c1f85) Co-authored-by: Hai Shi <shihai1992@gmail.com> 15 March 2020, 19:55:41 UTC
97e92db Link to list of keywords in the laguage reference (GH-18024) (cherry picked from commit 33238ec2af379e837cabc3945db5df8e23bf43e9) Co-authored-by: Борис Верховский <boris.verk@gmail.com> 14 March 2020, 19:14:12 UTC
34f85af bpo-38576: Disallow control characters in hostnames in http.client (GH-18995) Add host validation for control characters for more CVE-2019-18348 protection. (cherry picked from commit 9165addc22d05e776a54319a8531ebd0b2fe01ef) Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com> 14 March 2020, 19:12:58 UTC
725cbce bpo-39677: dis: rename the operand of MAKE_FUNCTION from `argc` to `flags` for 3.6+ (GC-18550) (cherry picked from commit 6672c16b1d7f83789bf3a2016bd19edfd3568e71) Co-authored-by: Taine Zhao <twshere@outlook.com> 14 March 2020, 14:45:11 UTC
148786a bpo-39582: ossaudiodev module update helpers signature for ioctl calls. (GH-18412) (cherry picked from commit b81f40f0adae3b1d1e57f9a89940ba827b9ede70) Co-authored-by: David CARLIER <devnexen@gmail.com> 14 March 2020, 14:43:47 UTC
4dcfe5f [3.7] bpo-39871: Fix possible SystemError in atan2, copysign and remainder (GH-18806) (GH-18990) In math_2(), the first PyFloat_AsDouble() call should be checked for failure before the second call. Co-authored-by: Mark Dickinson <dickinsm@gmail.com>. (cherry picked from commit 5208b4b37953a406db0ed6a9db545c2948dde989) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 14 March 2020, 11:51:53 UTC
962c722 Doc: Fix grammar in PyErr_ResourceWarning (GH-18879) (GH-18963) (cherry picked from commit fdcd53fe1a8a7f052d7217c36b2597df06b6e016) Co-authored-by: Daniel Hahler <git@thequod.de> 13 March 2020, 15:33:04 UTC
c05e491 bpo-39930: Fix MSBuild detection for Build Tools (GH-18938) Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017. 13 March 2020, 11:00:18 UTC
636eecb bpo-39689: Do not test undefined casts to _Bool (GH-18964) (#18965) - When casting to _Bool, arrays should only contain zeros or ones. (cherry picked from commit 1ae9cde4b2323235b5f9ff4bc76e4175a2257172) Co-authored-by: Stefan Krah <skrah@bytereef.org> 12 March 2020, 18:55:36 UTC
feaf0c3 [3.7] bpo-39847: EnterNonRecursiveMutex() uses GetTickCount64() (GH-18780) (GH-18959) The 32-bit (49-day) TickCount relied on in EnterNonRecursiveMutex can overflow in the gap between the 'target' time and the 'now' time WaitForSingleObjectEx returns, causing the loop to think it needs to wait another 49 days. This is most likely to happen when the machine is hibernated during WaitForSingleObjectEx. This makes acquiring a lock/event/etc from the _thread or threading module appear to never timeout. Replace with GetTickCount64 - this is OK now Python no longer supports XP which lacks it, and is in use for time.monotonic(). Co-authored-by: And Clover <and.clover@bromium.com> (cherry picked from commit 64838ce) Co-authored-by: bobince <and+github@doxdesk.com> 12 March 2020, 14:28:31 UTC
6a12676 bpo-39884: Add method name in "bad call flags" error (GH-18944) (GH-18957) _PyMethodDef_RawFastCallDict() and _PyMethodDef_RawFastCallKeywords() now include the method name in the SystemError "bad call flags" error message to ease debug. (cherry picked from commit c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3) 12 March 2020, 12:37:08 UTC
6f4e7fc [3.7] bpo-38643: Raise SystemError instead of crashing when PyNumber_ToBase is called with invalid base. (GH-18863). (GH-18955) (cherry picked from commit e5ccc94bbb153431698b2391df625e8d47a93276) 12 March 2020, 08:15:17 UTC
500999f Fix syntax error in an example in the ast documentation and sync docstrings (GH-18946) (cherry picked from commit c00c86b90443dbf3534cc4786a0b42b58db6e8af) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 12 March 2020, 01:05:45 UTC
d0837d2 bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) (cherry picked from commit 185903de12de8837bf0dc0008a16e5e56c66a019) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 11 March 2020, 20:16:36 UTC
b1b1d5f bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880) (cherry picked from commit 704e2065f8b8021a4a6999470fb6ed3453f7679e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 March 2020, 17:00:09 UTC
3136f6f bpo-39930: Convert error to warning for more silent failure (GH-18921) Makes it an error to create a layout without vcruntime DLL (cherry picked from commit fde44ae6d08d3df79554155b1cf079e73a8fabdd) Co-authored-by: Steve Dower <steve.dower@python.org> 11 March 2020, 14:30:25 UTC
eede148 bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918) Also adds GitHub CI test for Windows installer changes 11 March 2020, 13:11:03 UTC
76a69dd Fix download.html (GH-18902) `<tt>` is not allowed. Co-authored-by: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 39c34933fc958fd773ebf14ccd2e0224450b17ed) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 11 March 2020, 04:40:17 UTC
8d5c958 bpo-38662: ensurepip invokes pip via runpy (GH-18901) The ensurepip module now invokes pip via the runpy module. Hence it is no longer tightly coupled with the internal API of the bundled pip version, allowing easier updates to a newer pip version both internally and for distributors. This way, any changes to the internal pip API won't mean ensurepip needs to be changed as well. Also, distributors can update their pip wheels independent on CPython release schedule. Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com> Co-Authored-By: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit 88f82b2b9ea3514359cb6e3218121f75334063ac) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 10 March 2020, 21:34:51 UTC
f0fcf16 tracemalloc: 'pretty top' example no longer changes the filename (GH-18903) I've used this recipe a couple times and the filename editing has always been less than useful and something I've removed. This is because many modules end up losing which package they are located in, e.g. `util/date.py`. (cherry picked from commit d06eec218eac81225f9017951cddfc211fed9325) Co-authored-by: Adam Johnson <me@adamj.eu> 10 March 2020, 18:24:16 UTC
5b29a82 bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) (cherry picked from commit e5e56328afac50aad6d8893185d8e7ba8928afe2) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com> 10 March 2020, 14:25:42 UTC
633957d [3.7] bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779). (GH-18895) (cherry picked from commit 700cb587303461d5a96456c56902cfdd8ad50e2d) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Automerge-Triggered-By: @vstinner 10 March 2020, 08:30:49 UTC
ae0bafc Post release updates 10 March 2020, 07:47:29 UTC
dcecb70 Merge release engineering branch 10 March 2020, 07:45:37 UTC
d7c567b 3.7.7 10 March 2020, 06:11:12 UTC
e7ca2d3 fix typo: add space (GH-18853) Fix typo in cmdline.rst Add space between the `-m` option and the module name (`timeit`). (cherry picked from commit c580981ba01c4d9f721dbdd88208ba37704e0217) Co-authored-by: Julin S <48789920+ju-sh@users.noreply.github.com> 10 March 2020, 05:49:00 UTC
b092892 bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) (cherry picked from commit 31350f9af09dcff7cf6ff4b0a0a7ea595942372e) Co-authored-by: Steve Dower <steve.dower@python.org> 10 March 2020, 05:48:25 UTC
2244814 bpo-17422: slightly more precise language (GH-18682) (cherry picked from commit e59334ebc9308b0f3ad048ef293c6b49e6456d1a) Co-authored-by: Caleb Donovick <cdonovick@users.noreply.github.com> 10 March 2020, 05:48:00 UTC
1e85e1a IDLE doc: improve Startup failure subsection. (GH-18771) Eliminate repeat of 'Options', reported by Jules Lasne, and improve wording elsewhere. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ce305d641074931e4e790f7a83e28f74910644e5) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com> 10 March 2020, 05:47:21 UTC
7058d2d bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) `list(sys.modules.items())` was apparently not immune to "dictionary changed size during iteration" errors. Tested internally using an integration test that has run into this a couple of times in the past two years. With this patch applied, the test is no longer flaky. (cherry picked from commit 85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20) Co-authored-by: Gregory P. Smith <gps@google.com> 10 March 2020, 05:46:59 UTC
c157edb [3.7] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18782) (cherry picked from commit 67152d0ed670227b61b5df683655b196ab04ca1a) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon 10 March 2020, 05:46:27 UTC
1ecdc9b Allow python_uwp.vcxproj to build with toolset v142 if present (GH-18777) 10 March 2020, 05:46:07 UTC
8b9f713 Update macOS installer ReadMe for 3.7.7. (GH-18775) 10 March 2020, 05:45:48 UTC
ba8c09b Post release updates 10 March 2020, 05:40:00 UTC
f834535 bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871) Replace tkinter tkSimpleDialog.askinteger with a standard IDLE query dialog. The new box checks for positivity before returning. (cherry picked from commit 363fab83b8a0e6d924c7a7c577feec6a2812bb8c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 March 2020, 23:45:37 UTC
1695836 bpo-36184: Port python-gdb.py to FreeBSD (GH-18873) python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60740f2862a878f009671b1aaa75aeb0c2a) Co-authored-by: Victor Stinner <vstinner@python.org> 09 March 2020, 18:51:43 UTC
2235e04 [3.7] bpo-39850: Add support for abstract sockets in multiprocessing (GH-18866) (GH-18877) (cherry picked from commit 6012f30beff7fa8396718dfb198ccafc333c565b) 09 March 2020, 14:47:50 UTC
80be9c3 bpo-39903: Fix double decref in _elementtree.Element.__getstate__ (GH-18850) (cherry picked from commit 88944a44aa84b0f3674939019b1befbc7a9dc874) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 March 2020, 12:53:29 UTC
9d5ed83 bpo-27115: Move IDLE Query error blanking (GH-18868) Move required blanking of error text to non-overridden entry_ok(). (Omit news item.) (cherry picked from commit e53a3932cb01683b0fa8a7448ca25a2e658c39e6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 March 2020, 05:54:31 UTC
f9684d2 bpo-39885: IDLE context menu clears selection (GH-18859) Since clicking to get an IDLE context menu moves the cursor, any text selection should be and now is cleared. (cherry picked from commit 4ca060d8ad7c6df1fd4df30f9a14f6aa35380c09) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 08 March 2020, 19:46:38 UTC
ec61f53 bpo-39852: IDLE 'Go to line' deletes selection, updates status (GH-18801) It appears standard that moving the text insert cursor away from a selection clears the selection. Clearing prevents accidental deletion of a possibly off-screen bit of text. The update is for Ln and Col on the status bar. (cherry picked from commit 2522db11df102be3baf25ce9e816ebe8ffdb7fcc) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 08 March 2020, 18:50:34 UTC
516e673 fix typo: add space (GH-18853) Fix typo in cmdline.rst Add space between the `-m` option and the module name (`timeit`). (cherry picked from commit c580981ba01c4d9f721dbdd88208ba37704e0217) Co-authored-by: Julin S <48789920+ju-sh@users.noreply.github.com> 08 March 2020, 17:57:11 UTC
89fabe5 [3.7] bpo-39831: Fix a reference leak in PyErr_WarnEx(). (GH-18750). (GH-18765) (cherry picked from commit 2d2f85517f8216146a2f888d1ad4d765b3be2339) 08 March 2020, 16:07:58 UTC
cca0b31 bpo-38894: Fix pathlib.Path.glob in the presence of symlinks and insufficient permissions (GH-18815) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net> (cherry picked from commit eb7560a73d46800e4ade4a8869139b48e6c92811) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 07 March 2020, 18:10:10 UTC
65b0310 [3.8] bpo-39889: Fix unparse.py for subscript. (GH-18824). (GH-18826) (cherry picked from commit c4928fc1a853f3f84e2b4ec1253d0349137745e5) (cherry picked from commit 92b72788ecf2ee5dfac780c7dfb5ee5350fc641d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 07 March 2020, 17:13:31 UTC
47b7c22 bpo-39837: Disable macOS tests on Azure Pipelines (GH-18818) (cherry picked from commit 31350f9af09dcff7cf6ff4b0a0a7ea595942372e) Co-authored-by: Steve Dower <steve.dower@python.org> 07 March 2020, 00:29:49 UTC
f1b7964 bpo-17422: slightly more precise language (GH-18682) (cherry picked from commit e59334ebc9308b0f3ad048ef293c6b49e6456d1a) Co-authored-by: Caleb Donovick <cdonovick@users.noreply.github.com> 06 March 2020, 18:25:51 UTC
3c9cec0 IDLE doc: improve Startup failure subsection. (GH-18771) Eliminate repeat of 'Options', reported by Jules Lasne, and improve wording elsewhere. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ce305d641074931e4e790f7a83e28f74910644e5) Co-authored-by: Jules Lasne (jlasne) <jules.lasne@gmail.com> 06 March 2020, 01:33:48 UTC
a123812 bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) `list(sys.modules.items())` was apparently not immune to "dictionary changed size during iteration" errors. Tested internally using an integration test that has run into this a couple of times in the past two years. With this patch applied, the test is no longer flaky. (cherry picked from commit 85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20) Co-authored-by: Gregory P. Smith <gps@google.com> 05 March 2020, 01:03:29 UTC
6bb6745 [3.7] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18782) (cherry picked from commit 67152d0ed670227b61b5df683655b196ab04ca1a) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon 04 March 2020, 23:17:39 UTC
a39353e Allow python_uwp.vcxproj to build with toolset v142 if present (GH-18777) 04 March 2020, 19:46:50 UTC
0814411 Update macOS installer ReadMe for 3.7.7. (GH-18775) 04 March 2020, 17:32:09 UTC
7daf398 Post release updates 04 March 2020, 10:01:39 UTC
93b7677 3.7.7rc1 04 March 2020, 07:37:27 UTC
12c45ef [3.7] bpo-39389: gzip: fix compression level metadata (GH-18077) (GH-18101) * bpo-39389: gzip: fix compression level metadata (GH-18077) As described in RFC 1952, section 2.3.1, the XFL (eXtra FLags) byte of a gzip member header should indicate whether the DEFLATE algorithm was tuned for speed or compression ratio. Prior to this patch, archives emitted by the `gzip` module always indicated maximum compression. (cherry picked from commit eab3b3f1c60afecfb4db3c3619109684cb04bd60) Co-authored-by: William Chargin <wchargin@gmail.com> 04 March 2020, 07:06:19 UTC
3eff46f bpo-37953: Fix ForwardRef hash and equality checks (GH-15400) (GH-18751) Ideally if we stick a ForwardRef in a dictionary we would like to reliably be able to get it out again. https://bugs.python.org/issue37953 (cherry picked from commit e082e7c) Co-authored-by: plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com> 03 March 2020, 22:29:40 UTC
f8f163c Fix misleading statement about mixed-type numeric comparisons (GH-18615) (GH-18737) (cherry picked from commit 9f1cb1bb49476246de5d9ed5fe680301cf7f7571) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 03 March 2020, 16:22:56 UTC
852aee6 bpo-39776: Lock ++interp->tstate_next_unique_id (GH-18746) - Threads created by PyGILState_Ensure() could have a duplicate tstate->id. (cherry picked from commit b3b9ade4a3d3fe00d933bcd8fc5c5c755d1024f9) 03 March 2020, 08:19:58 UTC
72fff60 bpo-39778: Add clarification about tp_traverse and ownership (GH-18754) Automerge-Triggered-By: @pablogsal (cherry picked from commit 6df421fe87a9418d6c59f89dbc5d5573b6826855) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 03 March 2020, 03:03:56 UTC
499c926 [3.7] bpo-39831: Fix a reference leak in PyErr_WarnEx(). (GH-18750). (GH-18760) (cherry picked from commit 2d2f85517f8216146a2f888d1ad4d765b3be2339) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 March 2020, 01:13:24 UTC
8a5f7ad [3.7] bpo-38597: Never statically link extension initialization code on Windows (GH-18724) (GH-18759) Automerge-Triggered-By: @zooba 03 March 2020, 00:26:26 UTC
69ded39 bpo-39778: Don't traverse weak-reference lists OrderedDict's tp_traverse and tp_clear (GH-18749) Objects do not own weak references to them directly through the __weakref__ list so these do not need to be traversed by the GC. (cherry picked from commit 0c2b509f9d1d3a9065bc62c2407e1dc2ed70e9c2) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 02 March 2020, 23:53:03 UTC
7ca251b bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678) Automerge-Triggered-By: @zooba (cherry picked from commit 1382c3289bcfd34ac6811fdf9aa5bc09ca8c320e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 02 March 2020, 15:02:08 UTC
f4d709f bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666) Open issue in the BPO indicated a desire to make the implementation of codecs.open() at parity with io.open(), which implements a try/except to assure file stream gets closed before an exception is raised. (cherry picked from commit 2565edec2c974b2acca03b4cc5025e83f903ddd7) Co-authored-by: Chris A <christopher.aporta@gmail.com> 02 March 2020, 08:02:16 UTC
d3c2435 bpo-39378: partial of PickleState struct should be traversed. (GH-18046) (cherry picked from commit 1f577ce363121d590b51abf5c41d1bcf3d751436) Co-authored-by: Hai Shi <shihai1992@gmail.com> 02 March 2020, 06:46:59 UTC
7c64726 [3.7] bpo-39769: Fix compileall ddir for subpkgs. (GH-18676) (GH-18718) (GH-18725) Fix compileall.compile_dir() ddir= behavior on sub-packages. Fixes compileall.compile_dir's ddir parameter and compileall command line flag `-d` to no longer write the wrong pathname to the generated pyc file for submodules beneath the root of the directory tree being compiled. This fixes a regression introduced with Python 3.5. Tests backported from GH 02673352b5db6ca4d3dc804965facbedfe66425d, the implementation is different due to intervening code changes. But still quiet simple. Why was the bug ever introduced? The refactoring to add parallel execution kept the ddir -> dfile computations but discarded the results instead of sending them to compile_file(). This fixes that. Lack of tests meant this went unnoticed.. (cherry picked from commit ce720d3e0674d6ac6f1b950c20a89be4cfde7853) Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google] 01 March 2020, 19:06:54 UTC
c4ca1f8 [3.7] bpo-39794: Add --without-decimal-contextvar (GH-18702) * bpo-39794: Add --without-decimal-contextvar (#18702) (cherry picked from commit 815280eb160af637e1347213659f9236adf78f80) 29 February 2020, 22:10:26 UTC
cf347f3 bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest Auth (GH-18338) * bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication - The 'qop' value in the 'WWW-Authenticate' header is optional. The presence of 'qop' in the header should be checked before its value is parsed with 'split'. Signed-off-by: Stephen Balousek <stephen@balousek.net> * bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication - Add NEWS item Signed-off-by: Stephen Balousek <stephen@balousek.net> * Update Misc/NEWS.d/next/Library/2020-02-06-05-33-52.bpo-39548.DF4FFe.rst Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 5e260e0fde211829fcb67060cfd602f4b679f802) Co-authored-by: Stephen Balousek <sbalousek@users.noreply.github.com> 29 February 2020, 20:49:20 UTC
5157506 bpo-13790: Change 'string' to 'specification' in format doc (GH-18690) (cherry picked from commit 916895f93905f8b8dad677cceff501833f5a633a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 February 2020, 20:04:19 UTC
f4198ae bpo-39781: Do not jump when select in IDLE codecontext (GH-18683) Previously, the button-up part of selecting with a mouse was treated as a click that meant 'jump' to this line, which modified the context and undid the selection (cherry picked from commit c705fd1e89ccb8f6d414ec817b4616546147d877) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 February 2020, 18:41:17 UTC
3bf9de2 bpo-39699: Don't silence make on Azure and Github CIs (GH-18583) Doc tests remain disabled for 3.7 Co-authored-by: Ammar Askar <ammar_askar@hotmail.com> 26 February 2020, 22:08:10 UTC
0ef328a Doc: int -> int or Py_ssize_t (GH-18663) (cherry picked from commit 57c7a0bdf4f7da8cf47f797f075950f6b8c98b99) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 26 February 2020, 06:10:17 UTC
55be9a6 bpo-30566: Fix IndexError when using punycode codec (GH-18632) Trying to decode an invalid string with the punycode codec shoud raise UnicodeError. (cherry picked from commit ba22e8f174309979d90047c5dc64fcb63bc2c32e) Co-authored-by: Berker Peksag <berker.peksag@gmail.com> 25 February 2020, 03:43:46 UTC
e349e83 Give proper credit for figuring out and writing PEP-3118 tests. (GH-18644) (#18645) (cherry picked from commit b942ba03b8530f26240d4e36567d2ff42d701420) Authored-by: Stefan Krah <skrah@bytereef.org> 24 February 2020, 11:44:40 UTC
3dc6961 Give proper credits for the memoryview implementation. (GH-18626) (#18643) (cherry picked from commit ee3bac4cba56b51ce924f13d77b97131eec1a865) Authored-by: Stefan Krah <skrah@bytereef.org> 24 February 2020, 10:51:40 UTC
097612a bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531) Appears to be obsolete since 75bb54c3d8. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 4015d1cda3cdba869103779eb6ff32ad798ff885) Co-authored-by: Daniel Hahler <git@thequod.de> 24 February 2020, 03:32:50 UTC
d57f999 bpo-39654: Update pyclbr doc to reflect additional information returned (GH-18528) Full nested function and class info makes it a module browser. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit aea045adb8c90394264908670cbc495c5a41b65e) Co-authored-by: Hakan Çelik <hakancelik96@outlook.com> 24 February 2020, 02:07:50 UTC
333b989 [3.7] bpo-39427: Document -X opt options in the CLI --help and the man page (GH-18131) (#18134) https://bugs.python.org/issue39427 Automerge-Triggered-By: @pablogsal. (cherry picked from commit 41f0ef6abbd304409c55612a08788cdd59fbc8a3) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 23 February 2020, 20:48:30 UTC
24c570b bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18617) (cherry picked from commit b76518d43fb82ed9e5d27025d18c90a23d525c90) Authored-by: Stefan Krah <skrah@bytereef.org> 23 February 2020, 13:42:57 UTC
36a120d bpo-17422: Language reference should specify restrictions on class namespace (GH-18559) The language reference now specifies restrictions on class namespaces. Adapted from a patch by Ethan Furman. (cherry picked from commit fbe2e0bb8a7ee75d0f9d57682436dac7d69e202e) Co-authored-by: ananthan-123 <ananthakrishnan15.2001@gmail.com> 22 February 2020, 21:16:43 UTC
43a0137 bpo-39382: Avoid dangling object use in abstract_issubclass() (GH-18530) Hold reference of __bases__ tuple until tuple item is done with, because by dropping the reference the item may be destroyed. (cherry picked from commit 1c56f8ffad44478b4214a2bf8eb7cf51c28a347a) Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com> 22 February 2020, 13:32:36 UTC
00e4587 bpo-39576: docs: set context for decimal arbitrary precision arithmetic (GH-18594) (#18596) (cherry picked from commit a025d4ca99fb4c652465368e0b4eb03cf4b316b9) Authored-by: Stefan Krah <skrah@bytereef.org> 21 February 2020, 20:36:02 UTC
50ce890 fix(doc): set correct RST syntax for c:function (GH-18589) The current content is not rendered since the syntax is not correct. (cherry picked from commit d4d17fd2cf69e7c8f4cd03fbf2d575370945b952) Co-authored-by: Julien Danjou <julien@danjou.info> 21 February 2020, 14:09:24 UTC
09db1da bpo-38657: Clarify numeric padding behaviour in string formatting (GH-17036) Make the definition of the width more explicit that it includes any extra signs added by other options. https://bugs.python.org/issue38657 Automerge-Triggered-By: @Mariatta (cherry picked from commit 424e5686d82235e08f8108b8bbe034bc91421689) Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com> 21 February 2020, 06:05:58 UTC
c6f9554 bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581) (#18585) (cherry picked from commit 90930e65455f60216f09d175586139242dbba260) Authored-by: Stefan Krah <skrah@bytereef.org> 21 February 2020, 01:15:41 UTC
736e0ea Valgrind no longer supports --db-attach=yes. (GH-18568) (#18578) (cherry picked from commit c0cb8beb389da3ba67ad31b1ecc95e100b6292ab) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> 20 February 2020, 18:54:37 UTC
a3c2c5f Use the new recommended number of repetitions in the refleak tests. (GH-18569) (#18575) (cherry picked from commit 1246d892038a693304549f8574e6c2784b91589a) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> 20 February 2020, 18:37:23 UTC
2574910 Update runall.bat to the latest Windows build system. (GH-18571) (#18572) (cherry picked from commit 9b833e00e447a3b8b6966686bff701f549c66263) Co-authored-by: Stefan Krah <skrah@bytereef.org> Co-authored-by: Stefan Krah <skrah@bytereef.org> 20 February 2020, 18:30:00 UTC
fde0041 bpo-39663: IDLE: Add additional tests for pyparse (GH-18536) Test when find_good_parse_start should return 0. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ffda25f6b825f3dee493b6f0746266a4dd6989f0) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 18 February 2020, 03:05:14 UTC
3c57ca6 [3.8] bpo-39453: Fix contains method of list to hold strong references (GH-18204) (cherry picked from commit f64abd10563c25a94011f9e3335fd8a1cf47c205) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 17 February 2020, 09:30:44 UTC
505b601 Revert "bpo-27657: Fix urlparse() with numeric paths (GH-661)" (#18526) This reverts commit 82b5f6b16e051f8a2ac6e87ba86b082fa1c4a77f. The change broke the backwards compatibility of parsing behavior in a patch release of Python (3.7.6). A decision was taken to revert this patch in 3.7.7. In https://bugs.python.org/issue27657 it was decided that the previous behavior like >>> urlparse('localhost:8080') ParseResult(scheme='', netloc='', path='localhost:8080', params='', query='', fragment='') >>> urlparse('undefined:8080') ParseResult(scheme='', netloc='', path='undefined:8080', params='', query='', fragment='') needs to be preserved in patch releases as number of users rely upon it. Explicitly mention the releases involved with the revert in NEWS. Adopt the wording suggested by @ned-deily. 16 February 2020, 21:07:25 UTC
46cf4fc bpo-39545: Document changes in the support of await in f-strings. (GH-18456) https://bugs.python.org/issue39545 (cherry picked from commit f632736023502816f2e6bd714d1b48c81aa2ccc1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 February 2020, 00:03:12 UTC
f464edf bpo-39606: allow closing async generators that are already closed (GH-18475) (GH-18502) The fix for [bpo-39386](https://bugs.python.org/issue39386) attempted to make it so you couldn't reuse a agen.aclose() coroutine object. It accidentally also prevented you from calling aclose() at all on an async generator that was already closed or exhausted. This commit fixes it so we're only blocking the actually illegal cases, while allowing the legal cases. The new tests failed before this patch. Also confirmed that this fixes the test failures we were seeing in Trio with Python dev builds: https://github.com/python-trio/trio/pull/1396 https://bugs.python.org/issue39606 (cherry picked from commit 925dc7fb1d0db85dc137afa4cd14211bf0d67414) 13 February 2020, 09:33:35 UTC
ca133e5 bpo-21016: pydoc and trace use sysconfig (GH-18476) bpo-21016, bpo-1294959: The pydoc and trace modules now use the sysconfig module to get the path to the Python standard library, to support uncommon installation path like /usr/lib64/python3.9/ on Fedora. Co-Authored-By: Jan Matějek <jmatejek@suse.com> (cherry picked from commit 4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd) Co-authored-by: Victor Stinner <vstinner@python.org> 12 February 2020, 12:32:46 UTC
a933f74 docs: macos - change "versiona" to "versions" (GH-18467) (GH-18470) (cherry picked from commit 029e8401b7741cc0964b5f38d2c2264749dbff6b) Co-authored-by: @RandyMcMillan <randy.lee.mcmillan@gmail.com> 12 February 2020, 01:40:39 UTC
back to top