https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
802eb67 Python 3.8.3rc1 29 April 2020, 17:21:55 UTC
d9e9049 bpo-40436: Fix code parsing gdb version (GH-19792) test_gdb and test.pythoninfo now check gdb command exit code. (cherry picked from commit ec9bea4a3766bd815148a27f61eb24e7dd459ac7) Co-authored-by: Victor Stinner <vstinner@python.org> 29 April 2020, 15:30:01 UTC
cc011b5 [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) (#19784) [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) * Addresses a syntax typo that mistakenly used a undefined string prefix due to a missing space. (cherry picked from commit 49f70db83e2c62ad06805927f53f6c3e8f4b798e) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 29 April 2020, 03:11:18 UTC
9412f4d bpo-40348: Fix typos in the programming FAQ (GH-19729) (cherry picked from commit caf1aadf3d020f742ba3d7fcf678ca700224914b) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 27 April 2020, 03:29:30 UTC
ca5649c [3.8] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (GH-16607) (GH-19727) Adds a short description of `PyDoc_STRVAR` and `PyDoc_STR` to "Useful macros" section of C-API docs. Currently, there is [one lone mention](https://docs.python.org/3/c-api/module.html?highlight=pydoc_strvarGH-c.PyModuleDef) in the C-API reference, despite the fact that `PyDoc_STRVAR` is ubiquitous to `Modules/`. Additionally, this properly uses `c:macro` within `Doc/c-api/module.rst` to link. (cherry picked from commit b54e46c) Authored-by: Brad Solomon <brad.solomon.1124@gmail.com> 27 April 2020, 02:45:05 UTC
179f22c bpo-40387: Improve queue join() example. (GH-19724) (GH-19726) 27 April 2020, 01:23:14 UTC
882a7f4 bpo-40279: Add some error-handling to the module initialisation docs example (GH-19705) (GH-19710) (cherry picked from commit d4f3923d5901ef1ccdbe6ad6c5a753af90832a0f) Co-authored-by: Cajetan Rodrigues <caje731@gmail.com> 25 April 2020, 05:45:48 UTC
c7b55e9 Expand the implementation comments (GH-19699) (GH-19701) 24 April 2020, 10:04:41 UTC
d9df63d bpo-40048: Fix _PyCode_InitOpcache() error path (GH-19691) (GH-19698) If _PyCode_InitOpcache() fails in _PyEval_EvalFrameDefault(), use "goto exit_eval_frame;" rather than "return NULL;" to exit the function in a consistent state. For example, tstate->frame is now reset properly. (cherry picked from commit 25104949a5a60ff86c10691e184ce2ecb500159b) 24 April 2020, 01:07:20 UTC
3340b2a bpo-39983: Add test.support.print_warning() (GH-19683) (GH-19687) Log "Warning -- ..." test warnings into sys.__stderr__ rather than sys.stderr, to ensure to display them even if sys.stderr is captured. test.libregrtest.utils.print_warning() now calls test.support.print_warning(). (cherry picked from commit d663d34685e18588748569468c672763f4c73b3e) 23 April 2020, 21:55:07 UTC
714aa83 gdbinit: Use proper define syntax (GH-19557) Using `def` rather than `define` results in: Ambiguous command "def pu": define, define-prefix. Automerge-Triggered-By: @csabella (cherry picked from commit 1221135289306333d11db25ab20cbbd21ceec630) Co-authored-by: Florian Bruhin <me@the-compiler.org> 23 April 2020, 12:55:29 UTC
22a4849 Minor modernization and readability improvement to the tokenizer example (GH-19558) (GH-19661) (cherry picked from commit bf1a81258c0ecc8b52b9dcc53321c066b3ed4a67) 22 April 2020, 20:50:32 UTC
fc45cb4 bpo-40260: Remove unnecessary newline in compile() call (GH-19641) Because some people subclass this class and call undocumented methods, and we don't want to break them. (cherry picked from commit 39652cd8bdf7c82b7c6055089a4ed90ee546a448) Co-authored-by: Anthony Sottile <asottile@umich.edu> 22 April 2020, 19:05:10 UTC
4a6da0b bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480) It is possible to use either '-isysroot /some/path' (with a space) or '-isysroot/some/path' (no space in between). Support both forms in places where special handling of -isysroot is done, rather than just the first form. Co-authored-by: Ned Deily <nad@python.org> (cherry picked from commit b310700976524b4b99ee319c947ca40468716fc9) Co-authored-by: Joshua Root <jmr@macports.org> 22 April 2020, 17:13:47 UTC
b073509 bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654) Fix the Windows implementation of os.waitpid() for exit code larger than "INT_MAX >> 8". The exit status is now interpreted as an unsigned number. 22 April 2020, 15:57:59 UTC
3a55450 bpo-38439: Add 256px IDLE icon (GH-17473) Icon author: Andrew Clover, bpo-1490384 (cherry picked from commit 3a69f3caeeaea57048ed3bc3051e16854b9a4cd6) Co-authored-by: Miro Hrončok <miro@hroncok.cz> 22 April 2020, 07:39:59 UTC
9e51aab bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g. (GH-19642) (cherry picked from commit 783a673f23c5e9ffafe12fe172e119dc0fa2abda) Co-authored-by: Ned Deily <nad@python.org> 22 April 2020, 03:00:27 UTC
7d65c04 Small improvements to the recipes and examples. (GH-19635) (GH-19638) * Add underscores to long numbers to improve readability * Use bigger dataset in the bootstrapping example * Convert single-server queue example to more useful multi-server queue (cherry picked from commit d3a8d616faf3364b22fde18dce8c168de9368146) 21 April 2020, 23:18:49 UTC
41660ca bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616) https://bugs.python.org/issue39942 (cherry picked from commit a25a04fea5446b1712cde0cff556574be139285a) Co-authored-by: HongWeipeng <hongweichen8888@sina.com> 20 April 2020, 20:24:35 UTC
887ff8e [3.8] bpo-40330: Fix utf-8 size check in ShareableList (GH-19606) (GH-19625) The item size must be checked after encoding to bytes, not before. Automerge-Triggered-By: @pitrou. (cherry picked from commit eba9f6155df59c9beed97fb5764c9f01dd941af0) Co-authored-by: Antoine Pitrou <antoine@python.org> 20 April 2020, 19:22:50 UTC
81de3c2 bpo-40260: Revert breaking changes made in modulefinder (GH-19595) (cherry picked from commit 9b0b5d2baebd0b6a545317200c313a6a7408731e) Co-authored-by: Barry <barry@barrys-emacs.org> 20 April 2020, 15:18:11 UTC
984a567 Fix typo in Lib/tracepack.py (GH-19605) Typo fix: "emites" -> "emit". (cherry picked from commit df8913f7c48d267efd662e8ffd9496595115eee8) Co-authored-by: Galden <wudenggang0@163.com> 20 April 2020, 02:36:03 UTC
8c07343 bpo-39285: Clarify example for PurePath.match (GH-19458) Fixes Issue39285 The example incorrectly returned True for match. Furthermore the example is ambiguous in its usage of PureWindowsPath. Windows is case-insensitve, however the underlying match functionality utilizes fnmatch.fnmatchcase. Automerge-Triggered-By: @pitrou (cherry picked from commit c12375aa0b838d34067efa3f1b9a1fbc632d0413) Co-authored-by: Tim Lo <timlo@users.noreply.github.com> 19 April 2020, 10:03:35 UTC
020f2aa bpo-27635: Fix pickle documentation about `__new__` not being called. (GH-19269) Automerge-Triggered-By: @pitrou (cherry picked from commit 482259d0dcf27714a84cf56b93977320bea7e093) Co-authored-by: Furkan Önder <furkantahaonder@gmail.com> 18 April 2020, 18:14:55 UTC
bfda4db [3.8] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) (GH-19583) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> (cherry picked from commit 12446e6a605f066d837d3a595d0a73e4f3b43b65) 18 April 2020, 16:11:48 UTC
904dd06 Fix two typos in multiprocessing (GH-19571) (GH-19578) (cherry picked from commit c606624af8d4cb3b4a052fb263bb983b3f87585b) Co-authored-by: Galden <wudenggang0@163.com> Co-authored-by: Galden <wudenggang0@163.com> 18 April 2020, 07:24:15 UTC
9796fe8 bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540) It has not returned the file position after the seek. (cherry picked from commit 485e715cb1ff92bc9882cd51ec32589f9cb30503) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 17 April 2020, 07:14:55 UTC
6b0ca0a bpo-40294: Fix _asyncio when module is loaded/unloaded multiple times (GH-19542) (cherry picked from commit a75e730075cd25be1143e6183006f3b1d61bb80f) Co-authored-by: Jeffrey Quesnelle <jquesnelle@gmail.com> 17 April 2020, 02:29:50 UTC
08b640f Fix parameter names in assertIn() docs (GH-18829) The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second". (cherry picked from commit a388bbd3f129364c39843f63e92f08bc53c71905) Co-authored-by: Christoph Zwerschke <cito@online.de> 17 April 2020, 02:06:11 UTC
ccf30e9 bpo-39793: use the same domain on make_msgid tests (GH-18698) (GH-19554) (cherry picked from commit 5565c30f0b25996a0e73477fc0e1e1aced52b926) Co-authored-by: Batuhan Taşkaya <batuhanosmantaskaya@gmail.com> 16 April 2020, 18:07:52 UTC
3e72de9 [3.8] bpo-39667: Sync zipp 3.0 (GH-18540) (GH-18701) * bpo-39667: Sync zipp 3.0 (GH-18540) * bpo-39667: Improve pathlib.Path compatibility on zipfile.Path and correct performance degradation as found in zipp 3.0 * 📜🤖 Added by blurb_it. * Update docs for new zipfile.Path.open * Rely on dict, faster than OrderedDict. * Syntax edits on docs Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0aeab5c4381f0cc11479362af2533b3a391312ac) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> * Clarify the change in behavior with a couple of workaround options. * Restore API compatibility while backporting performance improvements. Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 15 April 2020, 18:45:25 UTC
59047fa bpo-40260: Update modulefinder to use io.open_code() and respect coding comments (GH-19488) (cherry picked from commit d42e5820631cd66ee1eab8f610d4b58f3dfdd81c) Co-authored-by: Barry <barry@barrys-emacs.org> 14 April 2020, 19:34:41 UTC
1e1dbdf bpo-32033: Fix test_pwd failures on Android (GH-19502) (cherry picked from commit 96515e9f6785328c52ebc5d4ce60e0087a9adc2d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 14 April 2020, 18:31:00 UTC
67b8a1f [3.8] Update libregrtest from master (GH-19516) * bpo-37531: regrtest now catchs ProcessLookupError (GH-16827) Fix a warning on a race condition on TestWorkerProcess.kill(): ignore silently ProcessLookupError rather than logging an useless warning. (cherry picked from commit a661392f8fb5ac4fc095aa1845d1eb7a25c4e9be) * bpo-38502: regrtest uses process groups if available (GH-16829) test.regrtest now uses process groups in the multiprocessing mode (-jN command line option) if process groups are available: if os.setsid() and os.killpg() functions are available. (cherry picked from commit ecb035cd14c11521276343397151929a94018a22) * bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989) When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored. For these reasons, add a new option to allow to ignore a list of test and subtests for these situations. (cherry picked from commit e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b) * regrtest: log timeout at startup (GH-19514) Reduce also worker timeout. (cherry picked from commit 4cf65a630a8d45bad3fe5cdc4c2632ec64e7ba27) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 14 April 2020, 17:51:18 UTC
c496e29 closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against old OpenSSL. (GH-19506) (cherry picked from commit 584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca) Co-authored-by: Benjamin Peterson <benjamin@python.org> 14 April 2020, 03:31:18 UTC
ee691b0 [3.8] Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454) (GH-19495) (cherry picked from commit 85dd6bb1f61f7edcd6ac0b640a98644531690a0e) Co-authored-by: laike9m <laike9m@users.noreply.github.com> Automerge-Triggered-By: @zhangyangyu 13 April 2020, 03:01:53 UTC
f35e7d3 closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490) (cherry picked from commit 909b87d2bb3d6330d39c48e43f7f50f4d086cc41) Co-authored-by: Benjamin Peterson <benjamin@python.org> 12 April 2020, 19:17:34 UTC
6151148 bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19485) (cherry picked from commit 402e1cdb132f384e4dcde7a3d7ec7ea1fc7ab527) 12 April 2020, 15:18:57 UTC
ee249d7 [3.8] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH-19351) (GH-19483) Patcher's __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception. (cherry picked from commit 4b222c9491d1700e9bdd98e6889b8d0ea1c7321e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 12 April 2020, 11:53:46 UTC
2714c90 closes bpo-39953: Update OpenSSL error codes table. (GH-19082) I updated the error codes using the OpenSSL 1.1.1f source tree. (cherry picked from commit 3e0dd3730b5eff7e9ae6fb921aa77cd26efc9e3a) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 April 2020, 20:53:00 UTC
ceba064 bpo-38501: Add a warning section to multiprocessing.Pool docs about resource managing (GH-19466) (cherry picked from commit 7ec43a73092d43c6c95e7dd2669f49d54b57966f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 11 April 2020, 02:11:17 UTC
1bf7dee bpo-40197: Better describe the benchmark results table (GH-19386) (cherry picked from commit c63629e7c09da80a6b7d0253d04a9b3f57f88eff) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 10 April 2020, 20:00:15 UTC
10dabbf Remove extraneous ')' in abstract.h (GH-19146) (#19451) (cherry picked from commit ac2cfe6631b77a2005d8f16f034dbb6154f04ab2) Co-authored-by: Jimmy Yang <codingExpert123@gmail.com> 09 April 2020, 18:55:00 UTC
cd8e1da bpo-40112: distutils test_search_cpp: Fix logic to determine if C compiler is xlc on AIX (GH-19225) (GH-19444) (cherry picked from commit 76db37b1d37a9daadd9e5b320f2d5a53cd1352ec) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com> 09 April 2020, 15:32:21 UTC
c83f003 bpo-40214: Temporarily disable a ctypes test (GH-19404) Only one particular sub-test of ctypes.test.test_loading.test_load_dll_with_flags is disabled, which caused failures on Azure Pipelines CI. (cherry picked from commit f407e209c1e35b64835f73e7e7ca23e33817e9fe) Co-authored-by: Zachary Ware <zach@python.org> 09 April 2020, 12:31:42 UTC
37a257c bpo-40204: Pin Sphinx version to 1.8.2 in Doc/Makefile (GH-19442) 08 April 2020, 22:36:13 UTC
6318e45 bpo-40089: Fix threading._after_fork() (GH-19191) (GH-19194) If fork was not called by a thread spawned by threading.Thread, threading._after_fork() now creates a _MainThread instance for _main_thread, instead of a _DummyThread instance. (cherry picked from commit d8ff44ce4cd6f3ec0fab5fccda6bf14afcb25c30) Co-authored-by: Victor Stinner <vstinner@python.org> 07 April 2020, 21:35:52 UTC
8bd84e7 bpo-40196: Fix a bug in the symtable when reporting inspecting global variables (GH-19391) (GH-19394) (cherry picked from commit 799d7d61a91eb0ad3256ef9a45a90029cef93b7c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 06 April 2020, 16:41:55 UTC
f7b0259 Fix misinformation about NaN != NaN comparison (GH-19357) (GH-19383) (cherry picked from commit 810f68f1282c917fc1ad6af540a9f08524dfe310) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> 05 April 2020, 09:56:37 UTC
4115550 [3.8] closes bpo-40184: Only define pysiphash if the hash algorithm is SIPHASH24. (GH-19373) (cherry picked from commit 1b21573) Co-authored-by: Batuhan Taşkaya <batuhanosmantaskaya@gmail.com> 04 April 2020, 21:46:54 UTC
0d1d7c8 bpo-36320: Use the deprecated-removed directive for _field_types (GH-19370) 04 April 2020, 21:43:07 UTC
37126e7 bpo-40164: Update Windows to OpenSSL 1.1.1f (GH-19359) 04 April 2020, 14:47:40 UTC
1533772 bpo-38689: avoid IDLE hanging when calltip fails getting a signature (GH-17152) Inspect.signature failed on the test case because its isinstance call raised. (cherry picked from commit 52013e5b6d5ca32eef5a3d65ecdf7db89cefc2fd) Co-authored-by: Tal Einat <taleinat+github@gmail.com> 04 April 2020, 03:25:06 UTC
e6685ad bpo-40158: Fix CPython MSBuild Properties in NuGet Package (GH-19343) Fix default Python home path relative to the NuGet package (cherry picked from commit 6e623ff9d251e0ce86e9b18a01bfd6f067079d7a) Co-authored-by: Chris Martinez <sydefekt@hotmail.com> 03 April 2020, 22:20:12 UTC
e678398 bpo-40131: Fix source and target order in zipapp example (GH-19290) (GH-19339) (cherry picked from commit bd6a4c3d72828d3d0e13922e165998539d24f8bc) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 03 April 2020, 17:13:58 UTC
77c623b bpo-40122: Updated documentation for dis.findlabels() (GH-19274) (cherry picked from commit b74468e233a5137ff518e61eff65ca2d8833e38a) Co-authored-by: laike9m <laike9m@users.noreply.github.com> 03 April 2020, 08:07:16 UTC
f2296ef bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19320) Update also OpenSSL version in Ubuntu and Coverage jobs. (cherry picked from commit 1767a0490f80c7b90d81051db24ef2b82cd9434f) Co-authored-by: Victor Stinner <vstinner@python.org> 03 April 2020, 01:25:51 UTC
1c325c4 bpo-40162: Update Travis CI config to OpenSSL 1.1.1f (GH-19319) (cherry picked from commit b1ffb8b72307a556442d09b427c3b29badb9878c) Co-authored-by: Victor Stinner <vstinner@python.org> 03 April 2020, 01:21:54 UTC
745bd91 bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) (GH-19316) test_builtin.PtyTests now registers an handler for SIGHUP signal. Closing the PTY file descriptor can emit a SIGHUP signal: just ignore it. run_child() now also closes the PTY file descriptor before waiting for the process completition, otherwise the test hangs on AIX. (cherry picked from commit 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6) 03 April 2020, 00:11:54 UTC
1098671 lib2to3: Support named assignment expressions (GH-12702) There are two copies of the grammar -- the one used by Python itself as Grammar/Grammar, and the one used by lib2to3 which has necessarily diverged at Lib/lib2to3/Grammar.txt because it needs to support older syntax an we want it to be reasonable stable to avoid requiring fixer rewrites. This brings suport for syntax like `if x:= foo():` to match what the live Python grammar does. This should've been added at the time of the walrus operator itself, but lib2to3 being independent is often overlooked. So we do consider this a bugfix rather than enhancement. (cherry picked from commit 3c3aa4516c70753de06bb142b6793d01330fcf0f) Co-authored-by: Tim Hatch <tim@timhatch.com> 02 April 2020, 23:03:09 UTC
b7345c2 bpo-38972: Link to instructions to change PowerShell execution policy (GH-19131) (cherry picked from commit 45217af29c7f380089af17beb48a5ea0560bbb9d) Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com> 02 April 2020, 19:19:41 UTC
ea9e240 bpo-39503: CVE-2020-8492: Fix AbstractBasicAuthHandler (GH-18284) (GH-19296) The AbstractBasicAuthHandler class of the urllib.request module uses an inefficient regular expression which can be exploited by an attacker to cause a denial of service. Fix the regex to prevent the catastrophic backtracking. Vulnerability reported by Ben Caller and Matt Schwager. AbstractBasicAuthHandler of urllib.request now parses all WWW-Authenticate HTTP headers and accepts multiple challenges per header: use the realm of the first Basic challenge. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 0b297d4ff1c0e4480ad33acae793fbaf4bf015b4) 02 April 2020, 10:15:55 UTC
40fff1f bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19288) (cherry picked from commit 224e1c34d677ef42fe665ac008a000d4dcec1398) Co-authored-by: Victor Stinner <vstinner@python.org> 02 April 2020, 01:26:09 UTC
267afc2 bpo-40094: Enhance os.WIFEXITED documentation (GH-19244) (GH-19277) (cherry picked from commit 7c72383f95b0cdedf390726069428d7b69ed2597) Co-authored-by: Victor Stinner <vstinner@python.org> 01 April 2020, 23:26:55 UTC
fc03640 bpo-38527: fix configure script for Solaris (GH-16845) On Solaris, the regular "grep" command may be an old version that fails to search a binary file. We need to use the correct command (ggrep, in our case), which is found by the configure script earlier. Automerge-Triggered-By: @pablogsal (cherry picked from commit 5dd836030e0e399b21ab0865ae0d93934bdb3930) Co-authored-by: Arnon Yaari <wiggin15@yahoo.com> 01 April 2020, 15:38:17 UTC
f971c8c bpo-40121: Fix exception type in test (GH-19267) (cherry picked from commit 3ef4a7e5a7c29e17d5152d1fa6ceeb1fee269699) Co-authored-by: Steve Dower <steve.dower@python.org> 01 April 2020, 13:02:55 UTC
6acafee Handle when IOCTL_VM_SOCKETS_GET_LOCAL_CID does not exist in "socket" (GH-19270) Running `test_socket` or anything that depends on it (like python -m test.pythoninfo) crashes if IOCTL_VM_SOCKETS_GET_LOCAL_CID does not exist in the socket module. Automerge-Triggered-By: @pablogsal (cherry picked from commit 6eb9619c88612565b424be14196a8adae6d51978) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 01 April 2020, 01:25:34 UTC
40e1b04 Document most common signals (GH-19245) (GH-19257) Document individual signals (only the most common signals): description, default action, availability. (cherry picked from commit 400e1dbcad93061f1f7ab4735202daaa5e731507) 31 March 2020, 17:44:28 UTC
4ced9a7 bpo-40019: Skip test_gdb if Python was optimized (GH-19081) test_gdb now skips tests if it detects that gdb failed to read debug information because the Python binary is optimized. (cherry picked from commit 7bf069b6110278102c8f4719975a5eb5a5af25f9) Co-authored-by: Victor Stinner <vstinner@python.org> 31 March 2020, 17:27:41 UTC
fb6e04b closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248) (cherry picked from commit cd16661f903153ecac55f190ed682e576c5deb24) Co-authored-by: Benjamin Peterson <benjamin@python.org> 31 March 2020, 16:08:49 UTC
572ef74 bpo-39689: Do not use native packing for format "?" with standard size (GH-18969) (cherry picked from commit 472fc843ca816d65c12f9508ac762ca492165c45) Co-authored-by: Stefan Krah <skrah@bytereef.org> 31 March 2020, 12:26:05 UTC
6a0ee60 bpo-40121: Fixes audit event raised on creating a new socket (GH-19238) (cherry picked from commit 63ba5cccf484b9ec23dfbf4cf7ffdc833eda98c3) Co-authored-by: Steve Dower <steve.dower@python.org> 31 March 2020, 11:57:06 UTC
6c9a2a8 fix comma location in various places (GH-19233) (cherry picked from commit c49016e67c3255b37599b354a8d7995d40663991) Co-authored-by: Mathieu Dupuy <deronnax@users.noreply.github.com> 30 March 2020, 21:34:31 UTC
8c3ab18 bpo-38002: Use False/True for IDLE pyshell bools (GH-19203) Change 0/1 assignments to 'executing', 'canceled', 'reading', 'endoffile'. These are not used outside of pyshell. Other bools already use False/True. Add comment about int needed for Windows call. Remove self.more, unused in idlelib and code.InteractiveInterpreter. The latter uses 'more' as a local. (cherry picked from commit 34a49aa3e4d023b5f9e9029f4f1ec68f1a8a8120) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 28 March 2020, 17:16:03 UTC
bb85226 bpo-40045: Make "dunder" method documentation easier to locate (GH-19153) (GH-19198) * issue 40045 * Update lexical_analysis.rst Make "dunder" method documentation easier(GH-19153) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> (cherry picked from commit 5f9c131c099d6675d1a9d0228497865488afd548) Co-authored-by: Javad Mokhtari <javadmokhtari@outlook.com> Co-authored-by: Javad Mokhtari <javadmokhtari@outlook.com> 27 March 2020, 19:15:11 UTC
9c5c497 bpo-38237: Use divmod for positional arguments whatsnew example (GH-19171) (cherry picked from commit 5a58c5280b8df4ca5d6a19892b24fff96e9ea868) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 27 March 2020, 16:45:05 UTC
8dad09a bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158) (#19164) (cherry picked from commit 302e5a8f79514fd84bafbc44b7c97ec636302322) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> 26 March 2020, 17:15:05 UTC
b05fbe9 bpo-1812: Fix newline conversion when doctest.testfile loads from a package whose loader has a get_data method (GH-17385) This pull request fixes the newline conversion bug originally reported in bpo-1812. When that issue was originally submitted, the open builtin did not default to universal newline mode; now it does, which makes the issue fix simpler, since the only code path that needs to be changed is the one in doctest._load_testfile where the file is loaded from a package whose loader has a get_data method. (cherry picked from commit e0b8101492f6c61dee831425b4d3dae39a953599) Co-authored-by: Peter Donis <peterdonis@alum.mit.edu> 26 March 2020, 16:18:52 UTC
96686c7 bpo-39879: Update datamodel docs to include dict ordering (GH-19006) Co-authored-by: furkanonder <furkantahaonder@gmail.com> (cherry picked from commit 59c644eaa72b0cc48302f59d66852c4ea8332eba) Co-authored-by: Lahfa Samy <lahfa121999@gmail.com> 26 March 2020, 15:00:46 UTC
686d508 bpo-40016: re docstring: Clarify relationship of inline and argument flags (GH-19078) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 89a2209ae6fc5f39868621799730e16f931eb497) Co-authored-by: Ram Rachum <ram@rachum.com> 25 March 2020, 19:01:31 UTC
2227c1a bpo-40013: Clarify documentation of restval in csv.DictReader (GH-19099) (GH-19141) (cherry picked from commit 4b3252cb764807fdb3a661b458d43e4af55cf4df) Co-authored-by: Juhana Jauhiainen <juhana.jauhiainen@gmail.com> 25 March 2020, 07:00:53 UTC
af6fd1f bpo-40014: Fix os.getgrouplist() (GH-19126) Fix os.getgrouplist(): if getgrouplist() function fails because the group list is too small, retry with a larger group list. On failure, the glibc implementation of getgrouplist() sets ngroups to the total number of groups. For other implementations, double the group list size. (cherry picked from commit f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7) Co-authored-by: Victor Stinner <vstinner@python.org> 24 March 2020, 17:40:31 UTC
8cd48b6 Clarify a guarantee of the logging module. (GH-19132) When no additional arguments are passed to logging.debug() and related methods, no % operation is performed on the passed in message. (cherry picked from commit 9b8e74ca77da7167033917d155e5f55c67b92f14) Co-authored-by: Gregory P. Smith <greg@krypto.org> 24 March 2020, 16:54:40 UTC
e97c8b0 bpo-20526: Fix PyThreadState_Clear(): don't decref frame (GH-19120) (GH-19136) PyThreadState.frame is a borrowed reference, not a strong reference: PyThreadState_Clear() must not call Py_CLEAR(tstate->frame). Remove test_threading.test_warnings_at_exit(): we cannot warranty that the Python thread state of daemon threads is cleared in a reliable way during Python shutdown. (cherry picked from commit 5804f878e779712e803be927ca8a6df389d82cdf) 24 March 2020, 16:12:19 UTC
21bee0b bpo-40014: Fix os.getgrouplist() on macOS (GH-19118) On macOS, getgrouplist() returns a non-zero value without setting errno if the group list is too small. Double the list size and call it again in this case. (cherry picked from commit 8ec7370c89aa522602eb9604086ce9f09770953d) Co-authored-by: Victor Stinner <vstinner@python.org> 23 March 2020, 19:18:41 UTC
c959fa9 bpo-22490: Remove __PYVENV_LAUNCHER__ from environment during launch (GH-9516) (GH-19110) * 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, 18:56:26 UTC
687f592 bpo-39652: Truncate the column name after '[' only if PARSE_COLNAMES is set. (GH-18942) (cherry picked from commit b146568dfcbcd7409c724f8917e4f77433dd56e4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 21 March 2020, 14:32:25 UTC
ba26bf3 [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. 20 March 2020, 14:10:14 UTC
2972336 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:52 UTC
2477aed Fix "versionchanged" for pow named arguments (GH-19042) (GH-19079) The ability to use named arguments in "pow" was introduced in Python 3.8, not Python 3.9. See https://bugs.python.org/issue38237 (cherry picked from commit c691f209523e20797c7b696c3f171b37429f5b3f) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> 19 March 2020, 18:35:02 UTC
ec8a973 bpo-39562: Allow executing asynchronous comprehensions in the asyncio REPL (GH-18968) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 9052f7a41b90f2d34011c8da68f9a4facebc8a97) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 19 March 2020, 11:54:16 UTC
da1fe76 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:34 UTC
046255c bpo-35370: PyEval_SetTrace() logs unraisable error (GH-18977) (GH-19029) If PySys_Audit() fails in PyEval_SetProfile() or PyEval_SetTrace(), log the error as an unraisable exception. (cherry picked from commit f6a58507820c67e8d0fb07875cd1b1d9f5e510a8) 16 March 2020, 17:18:20 UTC
7f5302f bpo-39360: Ensure all workers exit when finalizing a multiprocessing Pool (GH-19009) When the pull is not used via the context manager or terminate() is called, there is a system in multiprocessing.util that handles finalization of all pools via an atexit handler (the Finalize) class. This class registers the _terminate_pool handler in the registry of finalizers of the module, and that registry is called on interpreter exit via _exit_function. The problem is that the "happy" path with the context manager or manual call to finalize() does some extra steps that _terminate_pool does not. The step that is not executed when the atexit() handler calls _terminate_pool is pinging the _change_notifier queue to unblock the maintenance threads. This commit moves the notification to the _terminate_pool function so is called from both code paths. Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit ac10e0c93218627d1a639db0b7b41714c5f6a883) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> 15 March 2020, 21:26:43 UTC
890dcfe 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:39 UTC
f7e32fc bpo-39965: Correctly raise SyntaxError if await is used outside async functions when PyCF_ALLOW_TOP_LEVEL_AWAIT is set (GH-19010) (cherry picked from commit 90235810ec28ca954bbf4b61a5ae5df7a00db409) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 15 March 2020, 04:46:26 UTC
4abe77c 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> 14 March 2020, 22:13:18 UTC
9c63cd8 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:57 UTC
ff69c9d 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:13:32 UTC
a927e91 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:23 UTC
back to top