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

sort by:
Revision Author Date Message Commit Date
1f18771 Merge tag 'v3.7.5' into 3.7 15 October 2019, 07:15:46 UTC
5c02a39 3.7.5 14 October 2019, 22:32:36 UTC
796e8c8 Doc: 3.8 is now stable. (GH-16790) (GH-16792) (cherry picked from commit 4504b4500d2a1a80c26b27b0bfff8b624d5ce06c) Co-authored-by: Julien Palard <julien@palard.fr> 14 October 2019, 22:19:51 UTC
0365d51 Fix some news entries for 3.7.5 final. 14 October 2019, 22:00:26 UTC
8948bde [3.7] Update build docs for macOS (GH-16771) (GH-16774) 14 October 2019, 21:29:51 UTC
d6c1cc2 [3.7] Update macOS installer display files for 3.7.5 (GH-16767) 14 October 2019, 21:29:27 UTC
bd9a70c bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743) Metaclass was removed in Python 3.7 (there is already a `versionchanged` item about this). https://bugs.python.org/issue28556 (cherry picked from commit 8144095707f87bdee6f3e1bbb15283ea61381be6) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 14 October 2019, 21:29:02 UTC
2a40559 [3.7] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15685)" (GH-16724) (GH-16727) Reverts GH-15687 which caused the issue. https://bugs.python.org/issue22347 https://bugs.python.org/issue38449 14 October 2019, 21:27:49 UTC
c16897c Fix typo: equivalent code of `async with cond` (GH-11681) (GH-16720) 14 October 2019, 21:22:18 UTC
b6029f9 Update badges in README.rst (GH-16710) We no longer use AppVeyor in 3.x, and others were still pointed at master. 14 October 2019, 21:21:38 UTC
49d7428 Typo fix: "throuhgh" should be "through". (GH-16704) (cherry picked from commit a8e0d3141e271b3c0fbb7399a911f0c3aa567e30) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 14 October 2019, 21:19:12 UTC
49e650b bpo-32996: Documentation fix-up. (GH-16646) PR GH-4906 changed the typing.Generic class hierarchy, leaving an outdated comment in the library reference. User-defined Generic ABCs now must get a abc.ABCMeta metaclass from something other than typing.Generic inheritance. (cherry picked from commit d47f0dd2e85ce032aebfedbde18cdb2e728fa79f) Co-authored-by: M. Eric Irrgang <mei2n@virginia.edu> 14 October 2019, 21:18:08 UTC
42b16b2 bpo-36953: Delay removal of ABCs from collections. (GH-13409) Bump the removal to 3.9, indicate collections.abc available since 3.3, replace version-changed directive to deprecated-removed. https://bugs.python.org/issue36953 (cherry picked from commit eea47e09394dfb64d3a59a601d947d25bb1bdc96) Co-authored-by: Matthias Bussonnier <mbussonnier@ucmerced.edu> 14 October 2019, 21:04:26 UTC
1c61f2c bpo-38368: Added fix for ctypes crash when handling arrays in structs/unions. (GH-16589) (GH-16672) (cherry picked from commit e8bedbddadaa86be6bd86dc32dbdbd53933a4988) 14 October 2019, 21:03:10 UTC
918f0c4 Typo fix: "empy" should be "empty". (GH-16666) (cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 14 October 2019, 21:01:39 UTC
ae41f62 [3.7] bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. (GH-16442) (GH-16647) Prior to 3.7, re.escape escaped many characters that don't have special meaning in Python, but that use to require escaping in other tools and languages. This commit aims to make it clear which characters were, but are no longer escaped. (cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c) 14 October 2019, 21:00:49 UTC
89f35fa Fix typo in _warnings.warn_explicit() docstring (GH-16625) (cherry picked from commit 5dfbb4d50333e7a91fc0cd8c03a2f2f2cf56dbd9) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 14 October 2019, 20:57:27 UTC
ab22c8b bpo-38344: Fix syntax in activate.bat (GH-16533) (cherry picked from commit e310af9e2941c2fbb7370e003276cc37eb230f16) Co-authored-by: James Abel <j@abel.co> 14 October 2019, 20:56:12 UTC
e9c65b4 bpo-38391: Fixing a typo for Py_DECREF (GH-16616) (cherry picked from commit 038503e08ac5b10601b95d5adc2c2cab7be10163) Co-authored-by: Krishna Oza <krishoza15sep@gmail.com> 14 October 2019, 20:54:26 UTC
f168c17 bpo-26510: Add versionchanged for required arg of add_subparsers (GH-16588) The `required` argument to `argparse.add_subparsers` was added in GH-3027. This PR specifies the earliest version of Python where it is available. https://bugs.python.org/issue26510 Automerge-Triggered-By: @merwok (cherry picked from commit 9e71917e0290972f65711f75510078f799cf0b59) Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> 14 October 2019, 20:53:27 UTC
6eb5545 bpo-38235: Correct some arguments names in logging documentation (GH-16571) (GH-16577) (cherry picked from commit 3142c667b50254daaa28f22c79bdda177136bd03) Co-authored-by: Ashley Whetter <AWhetter@users.noreply.github.com> 14 October 2019, 20:50:11 UTC
88204a3 bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) (cherry picked from commit b23a8423a923077e4f83d3f328bb7542b4c940ed) Co-authored-by: idomic <michael.ido@gmail.com> 14 October 2019, 20:48:16 UTC
d1e0568 [3.7] Update build docs for macOS (GH-16771) (GH-16774) 14 October 2019, 13:27:03 UTC
c60bed3 [3.7] Update macOS installer display files for 3.7.5 (GH-16767) 14 October 2019, 08:38:13 UTC
20d1f49 bpo-28556: Remove another mention of metaclass of Generic in typing docs (GH-16743) Metaclass was removed in Python 3.7 (there is already a `versionchanged` item about this). https://bugs.python.org/issue28556 (cherry picked from commit 8144095707f87bdee6f3e1bbb15283ea61381be6) Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com> 13 October 2019, 16:58:59 UTC
164bee2 [3.7] bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15685)" (GH-16724) (GH-16727) Reverts GH-15687 which caused the issue. https://bugs.python.org/issue22347 https://bugs.python.org/issue38449 12 October 2019, 18:50:03 UTC
febe359 bpo-38332: Catch KeyError from unknown cte in encoded-word. (GH-16503) KeyError should cause a failure in parsing the encoded word and should be caught and raised as a _InvalidEWError instead. (cherry picked from commit 65dcc8a8dc41d3453fd6b987073a5f1b30c5c0fd) Co-authored-by: Andrei Troie <andreitroie90@gmail.com> 12 October 2019, 17:02:23 UTC
cb580d6 bpo-38341: Add SMTPNotSupportedError in the exports of smtplib (GH-16525) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 3faf826e5879536d2272f1a51c58965a16827f81) Co-authored-by: nde <denayer.norman@gmail.com> 12 October 2019, 16:26:04 UTC
193366e [3.7] bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) (GH-16663) The implementation of weakref.proxy's methods call back into the Python API using a borrowed references of the weakly referenced object (acquired via PyWeakref_GET_OBJECT). This API call may delete the last reference to the object (either directly or via GC), leaving a dangling pointer, which can be subsequently dereferenced. To fix this, claim a temporary ownership of the referenced object when calling the appropriate method. Some functions because at the moment they do not need to access the borrowed referent, but to protect against future changes to these functions, ownership need to be fixed in all potentially affected methods.. (cherry picked from commit 10cd00a9e3c22af37c748ea5a417f6fb66601e21) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> https://bugs.python.org/issue38395 11 October 2019, 20:28:49 UTC
1845997 Fix typo: equivalent code of `async with cond` (GH-11681) (GH-16720) 11 October 2019, 17:27:16 UTC
dd63ee2 Update badges in README.rst (GH-16710) We no longer use AppVeyor in 3.x, and others were still pointed at master. 11 October 2019, 16:30:37 UTC
ed189ce bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536) (GH-16719) pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively. (cherry picked from commit 2b7dc40b2af6578181808ba73c1533fc114e55df) 11 October 2019, 15:36:56 UTC
08afed7 Typo fix: "throuhgh" should be "through". (GH-16704) (cherry picked from commit a8e0d3141e271b3c0fbb7399a911f0c3aa567e30) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 11 October 2019, 04:01:33 UTC
f5ed41c bpo-38109: Add missing constants to Lib/stat.py (GH-16665) (GH-16691) Add missing stat.S_IFDOOR, stat.S_IFPORT, stat.S_IFWHT, stat.S_ISDOOR, stat.S_ISPORT, and stat.S_ISWHT values to the Python implementation of the stat module. (cherry picked from commit 7bb14316b8ceddb813f31040a299af94a57ab339) Co-authored-by: Ronan Lamy <ronan.lamy@gmail.com> 10 October 2019, 13:50:38 UTC
ca01236 bpo-32996: Documentation fix-up. (GH-16646) PR GH-4906 changed the typing.Generic class hierarchy, leaving an outdated comment in the library reference. User-defined Generic ABCs now must get a abc.ABCMeta metaclass from something other than typing.Generic inheritance. (cherry picked from commit d47f0dd2e85ce032aebfedbde18cdb2e728fa79f) Co-authored-by: M. Eric Irrgang <mei2n@virginia.edu> 10 October 2019, 11:17:05 UTC
d27a9b1 bpo-38425: Fix ‘res’ may be used uninitialized warning (GH-16688) (cherry picked from commit a05fcd3c7adf6e3a0944da8cf80a3346882e9b3b) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 10 October 2019, 08:00:41 UTC
a774ac6 [3.7] bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16686) (cherry picked from commit 09895c27cd8ff60563a794016e8c099bc897cc74) 09 October 2019, 21:56:07 UTC
a081e93 [3.7] bpo-38379: don't claim objects are collected when they aren't (GH-16658) (GH-16685) * [bpo-38379](https://bugs.python.org/issue38379): when a finalizer resurrects an object, nothing is actually collected in this run of gc. Change the stats to relect that truth.. (cherry picked from commit ecbf35f9335b0420cb8adfda6f299d6747a16515) Co-authored-by: Tim Peters <tim.peters@gmail.com> https://bugs.python.org/issue38379 Automerge-Triggered-By: @pablogsal 09 October 2019, 21:42:54 UTC
598bfa4 bpo-37531: regrtest ignores output on timeout (GH-16659) bpo-37531, bpo-38207: On timeout, regrtest no longer attempts to call `popen.communicate() again: it can hang until all child processes using stdout and stderr pipes completes. Kill the worker process and ignores its output. Reenable test_regrtest.test_multiprocessing_timeout(). bpo-37531: Change also the faulthandler timeout of the main process from 1 minute to 5 minutes, for Python slowest buildbots. (cherry picked from commit 0ec618af98ac250a91ee9c91f8569e6df6772758) Co-authored-by: Victor Stinner <vstinner@python.org> 09 October 2019, 13:52:34 UTC
0b354fc [3.7] bpo-38407: Add docstrings for typing.SupportsXXX classes. (GH-16644). (GH-16673) (cherry picked from commit 8252c52e57283515ace5d4251584255dc5c60eb5) 09 October 2019, 09:57:14 UTC
87db4d3 [3.7] bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641). (GH-16674) (cherry picked from commit 13abda41003daf599587991d8291f0dacf6e9519) 09 October 2019, 09:56:32 UTC
056fa7f bpo-36953: Delay removal of ABCs from collections. (GH-13409) Bump the removal to 3.9, indicate collections.abc available since 3.3, replace version-changed directive to deprecated-removed. https://bugs.python.org/issue36953 (cherry picked from commit eea47e09394dfb64d3a59a601d947d25bb1bdc96) Co-authored-by: Matthias Bussonnier <mbussonnier@ucmerced.edu> 09 October 2019, 09:29:31 UTC
129c2b3 bpo-38368: Added fix for ctypes crash when handling arrays in structs/unions. (GH-16589) (GH-16672) (cherry picked from commit e8bedbddadaa86be6bd86dc32dbdbd53933a4988) 09 October 2019, 05:48:48 UTC
443370d Typo fix: "empy" should be "empty". (GH-16666) (cherry picked from commit 01171ebd966b0cd6352057799ad876dd1e07942e) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 09 October 2019, 02:42:15 UTC
43f5c0c [3.7] bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. (GH-16442) (GH-16647) Prior to 3.7, re.escape escaped many characters that don't have special meaning in Python, but that use to require escaping in other tools and languages. This commit aims to make it clear which characters were, but are no longer escaped. (cherry picked from commit 15ae75d660befe643ed42eb2707a557cea97256c) 08 October 2019, 16:41:00 UTC
98043b4 bpo-38118: Ignore Valgrind false alarm in PyUnicode_Decode() (GH-16651) Valgrind emits "Conditional jump or move depends on uninitialised value(s)" false alarms on GCC builtin strcmp() function. The GCC code is correct. Valgrind bug: https://bugs.kde.org/show_bug.cgi?id=264936 (cherry picked from commit 03ab6b4fc6f59a4452756e7a3a46310ce30ec4b2) Co-authored-by: Victor Stinner <vstinner@python.org> 08 October 2019, 13:56:08 UTC
4f962ec bpo-36698: IDLE no longer fails when write non-encodable characters to stderr. (GH-16583) It now escapes them with a backslash, as the regular Python interpreter. Added the "errors" field to the standard streams. (cherry picked from commit b690a2759e62d9ee0b6ea1b20e8f7e4b2cdbf8bb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 08 October 2019, 11:52:48 UTC
13bc152 Fix typo in _warnings.warn_explicit() docstring (GH-16625) (cherry picked from commit 5dfbb4d50333e7a91fc0cd8c03a2f2f2cf56dbd9) Co-authored-by: Hansraj Das <raj.das.136@gmail.com> 08 October 2019, 09:25:56 UTC
bfb5f9a bpo-38344: Fix syntax in activate.bat (GH-16533) (cherry picked from commit e310af9e2941c2fbb7370e003276cc37eb230f16) Co-authored-by: James Abel <j@abel.co> 07 October 2019, 21:25:06 UTC
77b4a65 bpo-38391: Fixing a typo for Py_DECREF (GH-16616) (cherry picked from commit 038503e08ac5b10601b95d5adc2c2cab7be10163) Co-authored-by: Krishna Oza <krishoza15sep@gmail.com> 07 October 2019, 12:04:09 UTC
50b8d57 bpo-26510: Add versionchanged for required arg of add_subparsers (GH-16588) The `required` argument to `argparse.add_subparsers` was added in GH-3027. This PR specifies the earliest version of Python where it is available. https://bugs.python.org/issue26510 Automerge-Triggered-By: @merwok (cherry picked from commit 9e71917e0290972f65711f75510078f799cf0b59) Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> 07 October 2019, 02:14:49 UTC
b40442b bpo-38383: Fix possible integer overflow in startswith() of bytes and bytearray. (GH-16603) (cherry picked from commit 24ddd9c2d6ab61cbce7e68d6de36d4df9bd2c3fb) Co-authored-by: Hai Shi <shihai1992@gmail.com> 06 October 2019, 12:36:44 UTC
6c3fbbc bpo-13153: Use OS native encoding for converting between Python and Tcl. (GH-16545) On Windows use UTF-16 (or UTF-32 for 32-bit Tcl_UniChar) with the "surrogatepass" error handler for converting to/from Tcl Unicode objects. On Linux use UTF-8 with the "surrogateescape" error handler for converting to/from Tcl String objects. Converting strings from Tcl to Python and back now never fails (except MemoryError). (cherry picked from commit 06cb94bc8419b9a24df6b0d724fcd8e40c6971d6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 October 2019, 10:28:53 UTC
4f82a53 bpo-38235: Correct some arguments names in logging documentation (GH-16571) (GH-16577) (cherry picked from commit 3142c667b50254daaa28f22c79bdda177136bd03) Co-authored-by: Ashley Whetter <AWhetter@users.noreply.github.com> 04 October 2019, 08:14:28 UTC
4de3fbe bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) (cherry picked from commit b23a8423a923077e4f83d3f328bb7542b4c940ed) Co-authored-by: idomic <michael.ido@gmail.com> 03 October 2019, 21:27:35 UTC
f9016e5 [3.8] bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550) (GH-16560) * bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550) WindowsLoadTracker.read_output() now uses a short buffer for incomplete line. (cherry picked from commit 3e04cd268ee9a57f95dc78d8974b21a6fac3f666) * bpo-36670: Enhance regrtest WindowsLoadTracker (GH-16553) The last line is now passed to the parser even if it does not end with a newline, but only if it's a valid value. (cherry picked from commit c65119d5bfded03f80a9805889391b66fa7bf551) * bpo-36670: Enhance regrtest (GH-16556) * Add log() method: add timestamp and load average prefixes to main messages. * WindowsLoadTracker: * LOAD_FACTOR_1 is now computed using SAMPLING_INTERVAL * Initialize the load to the arithmetic mean of the first 5 values of the Processor Queue Length value (so over 5 seconds), rather than 0.0. * Handle BrokenPipeError and when typeperf exit. * format_duration(1.5) now returns '1.5 sec', rather than '1 sec 500 ms' (cherry picked from commit 098e25672f1c3578855d5ded4f5147795c9ed956) (cherry picked from commit de3195c937d5fca0d79cc93dbafa76c0f89ca5b8) Co-authored-by: Victor Stinner <vstinner@python.org> 03 October 2019, 15:44:52 UTC
ab98cd8 bpo-38338, test.pythoninfo: add more ssl infos (GH-16539) test.pythoninfo now logs environment variables used by OpenSSL and Python ssl modules, and logs attributes of 3 SSL contexts (SSLContext, default HTTPS context, stdlib context). (cherry picked from commit b3e7045f8314e7b62cd95861d207fe2f97e47198) Co-authored-by: Victor Stinner <vstinner@python.org> 02 October 2019, 16:14:57 UTC
2027f90 Post release updates 02 October 2019, 03:54:33 UTC
19ecb5c Merge tag 'v3.7.5rc1' into 3.7 02 October 2019, 03:50:01 UTC
874dae4 Correct typos in the codecs module documentation (GH-15135) (cherry picked from commit 891e9e3b44c99d643dc309a4e63082451271b136) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 01 October 2019, 20:56:40 UTC
4082f60 3.7.5rc1 01 October 2019, 17:23:17 UTC
960068b Update macOS installer displays for 3.7.5rc1 01 October 2019, 16:59:45 UTC
d6a92b5 bpo-36670: Multiple regrtest bugfixes (GH-16511) * Windows: Fix counter name in WindowsLoadTracker. Counter names are localized: use the registry to get the counter name. Original change written by Lorenz Mende. * Regrtest.main() now ensures that the Windows load tracker is also killed if an exception is raised * TestWorkerProcess now ensures that worker processes are no longer running before exiting: kill also worker processes when an exception is raised. * Enhance regrtest messages and warnings: include test name, duration, add a worker identifier, etc. * Rename MultiprocessRunner to TestWorkerProcess * Use print_warning() to display warnings. Co-Authored-By: Lorenz Mende <Lorenz.mende@gmail.com> (cherry picked from commit 982bfa4da07b2e5749a0f4e68f99e972bcc3a549) Co-authored-by: Victor Stinner <vstinner@redhat.com> 01 October 2019, 10:58:53 UTC
2eb1dac Fix and improve `asyncio.run()` docs (GH-16403) (GH-16505) (cherry picked from commit e407013089259e4c0b271703e1975bbcd578a2d5) Co-authored-by: Kyle Stanley <aeros167@gmail.com> 01 October 2019, 01:47:13 UTC
1c3e469 bpo-38019: correctly handle pause/resume reading of closed asyncio unix pipe (GH-16472) (cherry picked from commit 58498bc7178608b1ab031994ca09c43889ce3e76) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 29 September 2019, 12:19:11 UTC
80dd66a [3.7] bpo-38216, bpo-36274: Allow subclasses to separately override validation and encoding behavior (GH-16448) (GH-16461) * bpo-38216: Allow bypassing input validation * bpo-36274: Also allow the URL encoding to be overridden. * bpo-38216, bpo-36274: Add tests demonstrating a hook for overriding validation, test demonstrating override encoding, and a test to capture expectation of the interface for the URL. * Call with skip_host to avoid tripping on the host checking in the URL. * Remove obsolete comment. * Make _prepare_path_encoding its own attr. This makes overriding just that simpler. Also, don't use the := operator to make backporting easier. * Add a news entry. * _prepare_path_encoding -> _encode_prepared_path() * Once again separate the path validation and request encoding, drastically simplifying the behavior. Drop the guarantee that all processing happens in _prepare_path.. (cherry picked from commit 7774d7831e8809795c64ce27f7df52674581d298) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 28 September 2019, 13:15:05 UTC
6112b91 bpo-38301: In Solaris family, we must be sure to use '-D_REENTRANT' (GH-16446) (#16450) (cherry picked from commit 52d1b86bde2b772a76919c76991c326384954bf1) Co-authored-by: Jesús Cea <jcea@jcea.es> 28 September 2019, 02:21:24 UTC
39a0c75 bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) Escape the server title of xmlrpc.server.DocXMLRPCServer when rendering the document page as HTML. (cherry picked from commit e8650a4f8c7fb76f570d4ca9c1fbe44e91c8dfaa) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 27 September 2019, 20:18:14 UTC
2c24f2c [3.7] bpo-38275: Skip ssl tests for disabled versions (GH-16427) test_ssl now handles disabled TLS/SSL versions better. OpenSSL's crypto policy and run-time settings are recognized and tests for disabled versions are skipped. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38275 (cherry picked from commit df6ac7e2b82d921a6e9ff5571b40c6dbcf635581) 26 September 2019, 20:54:33 UTC
e6b5ed1 bpo-38239: Fix test_gdb for Link Time Optimization (LTO) (GH-16422) (GH-16426) (cherry picked from commit 64b4a3a2deabcd4103fac2759a311fe94159b4d1) 26 September 2019, 15:30:14 UTC
5017a64 bpo-38130: Fix error in explaining when an exception is re-raised (GH-16016) (GH-16416) Co-Authored-By: Ashwin Ramaswami <aramaswamis@gmail.com> (cherry picked from commit 1ad7be2f16cc9955f271f57a5089602bb41eee85) Co-authored-by: Mohammad Dehghan <md.unicorn@gmail.com> 26 September 2019, 09:15:21 UTC
80bde15 Doc: Use the `with` statement in the first example of the ftplib doc. (GH-16271) (GH-16413) (cherry picked from commit 5d326abf2cb4891b78d9319a81bffb3974b5b745) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> 26 September 2019, 07:12:26 UTC
8e4622e [3.7] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16407) Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes.. (cherry picked from commit 52b940803860e37bcc3f6096b2d24e7c20a0e807) Co-authored-by: Benjamin Peterson <benjamin@python.org> 26 September 2019, 04:54:59 UTC
d015714 [3.7] bpo-22273: Changed conditions for ctypes array-in-struct handling. (GH-16381) (GH-16400) (cherry picked from commit c64af8fad3c4f5751af624647fbb0ce023f525dc) 25 September 2019, 20:37:24 UTC
585798f bpo-38271: encrypt private key test files with AES256 (GH-16385) The private keys for test_ssl were encrypted with 3DES in traditional PKCSGH-5 format. 3DES and the digest algorithm of PKCSGH-5 are blocked by some strict crypto policies. Use PKCSGH-8 format with AES256 encryption instead. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38271 Automerge-Triggered-By: @tiran (cherry picked from commit bfd0c963d88f3df69489ee250655e2b8f3d235bd) Co-authored-by: Christian Heimes <christian@python.org> 25 September 2019, 16:12:59 UTC
3b5e924 bpo-38255: super() can search attributes as well as methods (GH-16368) (GH-16392) Improvement suggested by Géry Ogam. (cherry picked from commit 15ccc4fac09b866d61b069c6c136aabfe4bac09c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 25 September 2019, 15:24:24 UTC
d366694 bpo-38260: Add Docs on asyncio.run (GH-16337) Add docs about return and raise exception on asyncio.run https://bugs.python.org/issue38260 Automerge-Triggered-By: @asvetlov (cherry picked from commit 17deb16883fa574a86e42551cc37f044182347ad) Co-authored-by: Emmanuel Arias <emmanuelarias30@gmail.com> 25 September 2019, 09:13:00 UTC
4042e1a [3.7] bpo-36871: Handle spec errors in assert_has_calls (GH-16364) (GH-16374) Handle spec errors in assert_has_calls (GH-16005) (GH-16364) The fix in PR 13261 handled the underlying issue about the spec for specific methods not being applied correctly, but it didn't fix the issue that was causing the misleading error message. The code currently grabs a list of responses from _call_matcher (which may include exceptions). But it doesn't reach inside the list when checking if the result is an exception. This results in a misleading error message when one of the provided calls does not match the spec. https://bugs.python.org/issue36871 Co-authored-by: Samuel Freilich <sfreilich@google.com> (cherry picked from commit 1a17a054f6314ce29cd2632c28aeed317a615360) 25 September 2019, 05:29:17 UTC
16c0f6d bpo-22273: Update ctypes to correctly handle arrays in small structur… (GH-15839) (GH-16369) (cherry picked from commit 12f209eccb1587e8c98057d9c5f865c21f4a16c1) 25 September 2019, 04:10:43 UTC
46f6c56 bpo-37123: multiprocessing test_mymanager() accepts SIGTERM (GH-16349) Multiprocessing test test_mymanager() now also expects -SIGTERM, not only exitcode 0. bpo-30356: BaseManager._finalize_manager() sends SIGTERM to the manager process if it takes longer than 1 second to stop, which happens on slow buildbots. (cherry picked from commit b0e1ae5f5430433766e023c1a6936aeba0f2b84e) Co-authored-by: Victor Stinner <vstinner@redhat.com> 24 September 2019, 12:38:38 UTC
c13a4d6 bpo-38212: Increase MP test_queue_feeder_donot_stop_onexc() timeout (GH-16348) Multiprocessing tests: increase test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds. (cherry picked from commit 99799c722065d0524f3ab0bc455e1938bb8dc60f) Co-authored-by: Victor Stinner <vstinner@python.org> 24 September 2019, 11:06:05 UTC
912b5a9 closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230) (cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f) Co-authored-by: Hai Shi <shihai1992@gmail.com> 24 September 2019, 02:39:36 UTC
6641a10 Updated incorrect level-setting code to use setLevel(). (GH-16325) (GH-16326) (cherry picked from commit 1d094af716e8ce5e5710e1dfbce7832ba333be55) 22 September 2019, 03:27:00 UTC
8d4c52f Doc: Fix spelling errors of 'initial' in enum.py (GH-16314) (cherry picked from commit bb16fb2cb8dca1fa1d67621c3175793eda7dbdc2) Co-authored-by: HongWeipeng <hongweichen8888@sina.com> 21 September 2019, 05:40:42 UTC
fd4f28d bpo-37937: Mention frame.f_trace in sys.settrace docs (GH-15439) Mention frame.f_trace in sys.settrace docs, as well as the fact you still need to call `sys.settrace` to enable the tracing machinery before setting `frame.f_trace` will have any effect. (cherry picked from commit 9c2682efc69568e1b42a0c1759489d6f2e3b30ea) Co-authored-by: Ram Rachum <ram@rachum.com> 20 September 2019, 15:25:12 UTC
2552e27 bpo-37353: Updated parser note about source code compatibility(GH-14277) (cherry picked from commit 062cfe3b11c61d03ccc2915e360f9b0d80e23642) Co-authored-by: Prateek Nayak <45075669+Kriyszig@users.noreply.github.com> 20 September 2019, 14:02:00 UTC
5e1400a bpo-37531: sync regrtest with master branch (GH-16285) (GH-16289) (cherry picked from commit fb7746d5d10ec4a34198da672018ba15f5667079) 19 September 2019, 16:40:46 UTC
50ecedc Doc: Clarify dict equality irrespective of ordering. (GH-16266) (cherry picked from commit 3171d67a6aaf7fe88685b3a80644f0284686ef63) Co-authored-by: toonarmycaptain <toonarmycaptain@hotmail.com> 19 September 2019, 05:57:32 UTC
20d3bce [3.7] bpo-38218: Doc: Corrected syntax for return annotation (GH-16265) (GH-16275) Signed-off-by: Jason Plurad <pluradj@us.ibm.com> (cherry picked from commit 9ab6038fe843e1193d795eb58fd5931b44be5a96) Co-authored-by: Jason Plurad <pluradj@us.ibm.com> 19 September 2019, 05:37:38 UTC
1a3a48d bpo-38203: faulthandler.dump_traceback_later() is always available (GH-16260) dump_traceback_later() and cancel_dump_traceback_later() functions of the faulthandler module are always available since Python 3.7. (cherry picked from commit 064e1e384120635330493abf300b1113eadd904c) Co-authored-by: Victor Stinner <vstinner@redhat.com> 18 September 2019, 12:43:17 UTC
8b907a8 bpo-37904: Edition on python tutorial - section 4 (GH-16169) (GH-16235) A little change on first paragraph of python tutorial to be more clearly https://bugs.python.org/issue37904 Automerge-Triggered-By: @ericvsmith (cherry picked from commit b57481318e3e3cbacd398b898f9849ec8f2d7eec) Co-authored-by: Diego Alberto Barriga Martínez <diegobarriga@protonmail.com> 18 September 2019, 10:36:35 UTC
69b3718 [3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222) (GH-16239) This includes such names as "cls", "self", "typename" and "fields". (cherry picked from commit 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d) 17 September 2019, 19:09:09 UTC
fc022f0 bpo-38013: make async_generator_athrow object tolerant to throwing exceptions (GH-16070) Even when the helper is not started yet. This behavior follows conventional generator one. There is no reason for `async_generator_athrow` to handle `gen.throw()` differently. https://bugs.python.org/issue38013 (cherry picked from commit c275312a6284bd319ea33c9abd7e15c230eca43f) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> 17 September 2019, 13:19:25 UTC
6591b4b bpo-37531: regrtest main process uses shorter timeout (GH-16220) (GH-16223) When using multiprocesss (-jN), the main process now uses a timeout of 60 seconds instead of the double of the --timeout value. The buildbot server stops a job which does not produce any output in 1200 seconds. (cherry picked from commit 46b0b81220a23bc4aee5ba3ba67e8cf1b5df7960) Co-authored-by: Victor Stinner <vstinner@redhat.com> 17 September 2019, 12:34:03 UTC
6422392 Doc: Fix grammar/spelling in ssl.VERIFY_CRL_CHECK_LEAF docs (GH-16221) (cherry picked from commit 219fb9d65ef7e5363eccc9dde0988bb085db1c86) Co-authored-by: Jörn Heissler <joernheissler@users.noreply.github.com> 17 September 2019, 10:49:08 UTC
facbd31 bpo-38192: Fix remaining passing of "loop" in the protocol examples (GH-16202) See https://bugs.python.org/issue38192 . https://bugs.python.org/issue38192 (cherry picked from commit 5d359cc62e0244e1fd8d17146a4135079d6843bf) Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com> 17 September 2019, 07:22:48 UTC
80cb055 bpo-38185: Fixed case-insensitive string comparison in sqlite3.Row indexing. (GH-16190) (cherry picked from commit f669581a9527afb0d2325f9845a86715c0ba365d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2019, 06:39:49 UTC
3d916a7 bpo-35379: When exiting IDLE, catch any AttributeError. (GH-16212) One happens when EditorWindow.close is called twice. Printing a traceback, when IDLE is run from a terminal, is useless and annoying. (cherry picked from commit dfd34a9cd58e8150c324190f746de919e140abe8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 17 September 2019, 06:24:02 UTC
4ac1be2 bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects. (GH-16155) (cherry picked from commit 8debfa50407107ff2329d01081cdc12d359f1d12) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 17 September 2019, 06:14:30 UTC
89f132a Doc: Add list(dict) in stdtypes library (GH-16209) (GH-16211) (cherry picked from commit 63dedef48bba9d54f13b958237696505fa665796) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> 17 September 2019, 05:04:19 UTC
back to top