https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
2bd31b5 Python 3.9.0rc2 16 September 2020, 21:23:13 UTC
48f9925 bpo-41517: do not allow Enums to be extended (GH-22271) fix bug that let Enums be extended via multiple inheritance (cherry picked from commit 3064dbf5df1021e85b507366a7ea448c8895efe7) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> 16 September 2020, 14:35:14 UTC
6a39888 bpo-41687: Fix error handling in Solaris sendfile implementation (GH-22128) I just realized that my recent PR with sendfile on Solaris ([PR 22040](https://github.com/python/cpython/pull/22040)) has broken error handling. Sorry for that, this simple followup fixes that. Automerge-Triggered-By: @1st1 (cherry picked from commit fa8c9e70104b0aef966a518eb3a80a4881906ae0) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> 16 September 2020, 12:25:09 UTC
7e356f1 [3.9] bpo-41687: Fix sendfile implementation to work with Solaris (GH-22040) (GH-22273) (cherry picked from commit 8c0be6fd9101746235b63ddfb84106d1e9ca286b) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> 16 September 2020, 11:52:26 UTC
a467706 [3.9] bpo-41789: honor object overrides in Enum classes (GH-22250) (GH-22272) EnumMeta double-checks that `__repr__`, `__str__`, `__format__`, and `__reduce_ex__` are not the same as `object`'s, and replaces them if they are -- even if that replacement was intentionally done in the Enum being constructed. This patch fixes that. 16 September 2020, 10:58:33 UTC
95b81e2 bpo-39587: Enum - use correct mixed-in data type (GH-22263) (GH-22266) (cherry picked from commit bff01f3a3aac0c15fe8fbe8b2f561f7927d117a1) 15 September 2020, 23:59:48 UTC
49917d5 bpo-41780: Fix __dir__ of types.GenericAlias (GH-22262) Automerge-Triggered-By: @gvanrossum (cherry picked from commit 2e87774df1a0eaf2a1fe8cc4d958df60f7125b6e) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> 15 September 2020, 23:37:13 UTC
0374883 Improve the description of difflib in the documentation (GH-22253) (#22261) From "can produce difference information in various formats ..." to " can produce information about file differences in various formats ..." Automerge-Triggered-By: @Mariatta (cherry picked from commit 5531269f698f789d1247123fd82681f7a455f66e) Co-authored-by: Mandeep <mandeep052@gmail.com> 15 September 2020, 19:45:05 UTC
55e0836 [3.9] bpo-41631: _ast module uses again a global state (GH-21961) (GH-22258) Partially revert commit ac46eb4ad6662cf6d771b20d8963658b2186c48c: "bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)". Using a module state per module instance is causing subtle practical problems. For example, the Mercurial project replaces the __import__() function to implement lazy import, whereas Python expected that "import _ast" always return a fully initialized _ast module. Add _PyAST_Fini() to clear the state at exit. The _ast module has no state (set _astmodule.m_size to 0). Remove astmodule_traverse(), astmodule_clear() and astmodule_free() functions.. (cherry picked from commit e5fbe0cbd4be99ced5f000ad382208ad2a561c90) Co-authored-by: Victor Stinner <vstinner@python.org> 15 September 2020, 18:32:56 UTC
0cc037f bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) (GH-22255) Revise example of "continue" in the tutorial documentation (cherry picked from commit 7bcc6456ad4704da9b287c8045768fa53961adc5) Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com> Co-authored-by: Neeraj Samtani <neerajjsamtani@gmail.com> 15 September 2020, 13:56:28 UTC
b502c76 bpo-40721: add note about enum member name case (GH-22231) * UPPER_CASE preferred as enum members are constants (cherry picked from commit 542e1df2b018ee7068dba8076f2d6e84efd6e144) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> 14 September 2020, 20:49:29 UTC
bf7d4d0 bpo-39883: Update macOS installer copy of LICENSE. (GH-22235) (GH-22236) (cherry picked from commit 7dbbea75cec27a48b68cc07c23f3f317cacf4a16) Co-authored-by: Ned Deily <nad@python.org> 14 September 2020, 05:59:58 UTC
b3d11ab [3.9] bpo-41778: Change a punctuation on documentation. (GH-22229) (GH-22232) On this paragrapah the clarification about IIS7 seems there's not connection beacuase is in other sentence. Move the punctuation to connect both the last sentence with the information in the parenthesis. I think the NEWS is not necessary here. Automerge-Triggered-By: @ericvsmith (cherry picked from commit 94bfdee25db31941b187591ae5ae9bf3ed431090) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com> 13 September 2020, 21:38:01 UTC
c978be2 bpo-33239: Fix default value of 'buffering' parameter in docs of tempfile.* functions (GH-21763) (GH-22225) (cherry picked from commit b48389d95093c3f912549add8da339edc164bf0d) 13 September 2020, 18:20:38 UTC
98f6e67 bpo-41672: Fix type mismatches in imaplib docs (GH-22207) (cherry picked from commit c75330605d4795850ec74fdc4d69aa5d92f76c00) Co-authored-by: Norbert Cyran <cyran.norbert97@gmail.com> 12 September 2020, 08:14:37 UTC
7dfcc8e bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) Fix a race condition in the call_soon_threadsafe() method of asyncio.ProactorEventLoop: do nothing if the self-pipe socket has been closed. (cherry picked from commit 1b0f0e3d7d03155da1cf9769a847874d559e57e3) Co-authored-by: Victor Stinner <vstinner@python.org> 12 September 2020, 07:11:38 UTC
34e3c75 bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206) Argument script_exec_args is usually an absolute file name, but twice has form ['-m', 'module_name']. (cherry picked from commit 7e711ead26fea6465e0ef2e3b8880b57ba8fc129) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 12 September 2020, 06:45:34 UTC
c2577b9 bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146) The problems occured with a repository build on machine with freshly updated Windows 10 Pro. (cherry picked from commit 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 12 September 2020, 06:18:59 UTC
c97e402 [doc] struct: update note about network byte order form to be more helpful (GH-22201) Update the sentence to provide some context on why network byte order is defined as big endian. (cherry picked from commit fb2718720346c8c7a0ad2d7477f20e9a5524ea0c) Co-authored-by: Stargirl Flowers <theaflowers@google.com> 11 September 2020, 15:35:23 UTC
7af6bf4 Doc: Fix alphabetical ordering of removeprefix/suffix. (GH-22194) (cherry picked from commit 3304cbd990f06b72480a6dc8f6f4fe1a1376dde7) Co-authored-by: Benjamin Peterson <benjamin@python.org> 11 September 2020, 00:13:56 UTC
1b4bdb4 bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188) The new link responds much faster and begins with a short explanation of the status of the doc. (cherry picked from commit 06d0b8b67e8aebd8fe4c34e97d6915c11f4afa30) Co-authored-by: Mark Roseman <mark@markroseman.com> 10 September 2020, 20:19:29 UTC
b86e626 [doc] Remove superfluous comment about equal in f-strings (GH-22006) Automerge-Triggered-By: @kushaldas (cherry picked from commit 788b79fa7b6184221e68d4f1a3fbe0b3270693f6) Co-authored-by: Andre Delfino <adelfino@gmail.com> 10 September 2020, 06:48:54 UTC
5f76d72 Update idlelib/help.html to current IDLE doc (GH-22181) (cherry picked from commit 471247150e9707e583297ac6b4edff978efd8941) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 September 2020, 23:16:05 UTC
41dbd6e Add missing colon to IDLE doc markup (GH-22007) (cherry picked from commit 7a797a3967fdfedbaf49fd1f140ee670d7db40ad) Co-authored-by: Andre Delfino <adelfino@gmail.com> 09 September 2020, 22:29:51 UTC
46bc21e [3.9] bpo-41688: Document bug in **= dispatching in the language data… (GH-22172) I tossed in a "This bug is fixed in Python 3.10" sentence but I'm not sure if that's appropriate to have here. 09 September 2020, 18:01:38 UTC
5dd8b3d Fix incorrect bpo number in change notes. (GH-22151) (#22174) 09 September 2020, 16:33:21 UTC
014b4ef Fixes dead links to Django's logging config docs (GH-20823) (GH-22170) (cherry picked from commit 714217f9561507bbc7218a02089d0e1da0239372) 09 September 2020, 13:45:08 UTC
b2376f9 Fix compiler warnings in init_dump_ascii_wstr() (GH-22150) Fix GCC 9.3 (using -O3) warnings on x86: initconfig.c: In function ‘init_dump_ascii_wstr’: initconfig.c:2679:34: warning: format ‘%lc’ expects argument of type ‘wint_t’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2679 | PySys_WriteStderr("%lc", ch); initconfig.c:2682:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2682 | PySys_WriteStderr("\\x%02x", ch); initconfig.c:2686:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2686 | PySys_WriteStderr("\\U%08x", ch); initconfig.c:2690:38: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} 2690 | PySys_WriteStderr("\\u%04x", ch); (cherry picked from commit 640e8e1d5f61d5868453d992da04bf4741327748) Co-authored-by: Victor Stinner <vstinner@python.org> 09 September 2020, 10:31:25 UTC
11a82c7 bpo-41525: Make the Python program help ASCII-only (GH-21836) (cherry picked from commit 58de1dd6a8677bd213802c19204b827cb7134695) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 September 2020, 00:47:53 UTC
fd1c725 [doc] Fix padding in timeit (GH-22152) Compare -p and -u options help in rendered output to see the difference. (cherry picked from commit 594f0ce73be807c0fecf958dc0644fa37983f5fe) Co-authored-by: Andre Delfino <adelfino@gmail.com> 08 September 2020, 23:56:02 UTC
6e770fc [3.9] Fix typo in typing.py (GH-22121) (GH-22156) This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references (cherry picked from commit 84ef33c5117acd9867781135a9aeb62052432e8a) Co-authored-by: Graham Bleaney <gbleaney@gmail.com> 08 September 2020, 23:36:07 UTC
1671b0e bpo-41720: Add "return NotImplemented" in turtle.Vec2D.__rmul__(). (GH-22092) (cherry picked from commit fd4cafd4700dc03cb05fc2e5263c2666d785d6e3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 07 September 2020, 16:30:21 UTC
c73ee5a bpo-41401: Fix test_fspath_support in test_io. (GH-21640) (GH-22133) The error is exposed on non-UTF-8 locales. (cherry picked from commit 67987acd5dc9776f55f4e139e2b3d9e7a6434d9f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 07 September 2020, 14:45:57 UTC
b6d2acb [3.9] closes bpo-41723: Fix an error in the py_compile documentation. (GH-22118) (cherry picked from commit 5371a46) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 06 September 2020, 03:54:46 UTC
e4b359d [3.9] [doc] Fix padding in some typing definitions (GH-22114) (GH-22115) Automerge-Triggered-By: @gvanrossum (cherry picked from commit 2623868ede4ef3c848fc83a9b1e19e0d031dee1d) Co-authored-by: Andre Delfino <adelfino@gmail.com> 06 September 2020, 02:54:12 UTC
a708ae7 bpo-41218: Improve the test cases for test_compile_top_level_await_no_coro (GH-21363) (GH-22109) (cherry picked from commit c2c1f1f906cdeb40576880d4b6a4f8fcbc016eb8) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 05 September 2020, 15:37:04 UTC
21100ab Remove unnecessary grammar decorations and change header (GH-20819) (GH-22101) (cherry picked from commit b4282dd15079ed46edc9d382b21422320a0af94f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 04 September 2020, 23:40:54 UTC
d64d78b bpo-41531: Fix compilation of dict literals with more than 0xFFFF elements (GH-21850) (GH-22107) (cherry picked from commit c51db0ea40ddabaf5f771ea633b37fcf4c90a495) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 04 September 2020, 23:38:50 UTC
242eac1 On path with known exact float, extract the double with the fast macro. (GH-21072) (cherry picked from commit 930f4518aea7f3f0f914ce93c3fb92831a7e1d2a) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 04 September 2020, 23:12:48 UTC
e92219d bpo-29590: fix stack trace for gen.throw() with yield from (GH-19896) * Add failing test. * bpo-29590: fix stack trace for gen.throw() with yield from (GH-NNNN) When gen.throw() is called on a generator after a "yield from", the intermediate stack trace entries are lost. This commit fixes that. (cherry picked from commit 8b33961e4bc4020d8b2d5b949ad9d5c669300e89) Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com> 04 September 2020, 23:07:18 UTC
106c1df closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) Free the stack allocated in va_build_stack if do_mkstack fails and the stack is not a small_stack (cherry picked from commit 75c80b0bda89debf312f075716b8c467d411f90e) Co-authored-by: Tony Solomonik <tony.solomonik@gmail.com> 04 September 2020, 22:56:04 UTC
8ed1c17 Fix typo in message from assert statement (GH-21283) The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition. (cherry picked from commit 99c0ee3c893bb99fd98a97084fc386ce2911eb64) Co-authored-by: Allen <64019758+aboddie@users.noreply.github.com> 04 September 2020, 22:55:05 UTC
fbb9ee0 [3.9] bpo-38787: Clarify docs for PyType_GetModule and warn against common mistake (GH-20215) (GH-21984) (cherry picked from commit d9a966ae08258da2ce2a432c943d8194760f09c4) Co-authored-by: Petr Viktorin <encukou@gmail.com> Automerge-Triggered-By: @Mariatta 04 September 2020, 22:32:28 UTC
bf8bf1c [3.9] Improve asyncio-dev 'Concurrency and Multithreading' docs (GH-20882) (GH-22009) I added some information to the `Concurrency and Multithreading` section of the `Developing with asyncio` guide. This is all information that would have helped me when I started using asyncio. I incorrectly assumed that `loop.call_soon_threadsafe()` and `run_coroutine_threadsafe()` could be called from a thread in a process separate from the one that the event loop is running in. Explicitly stating that this will not work will probably help some people starting out with asyncio in the future. I also added references to some other functions that can be used for inter-process communication without blocking the event loop. The section already mentions running blocking code in a ThreadPoolExecutor, but I think listing these other options in this section will also be helpful. (cherry picked from commit c68c5af2dc5ada8875a662f2beaac6234eae2a5a) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com> 04 September 2020, 22:31:06 UTC
bd078df [3.9] bpo-40486: Specify what happens if directory content change diring iteration (GH-22025) (GH-22093) (cherry picked from commit 306cfb3a37e1438f6ba9f0a9f3af3c00aae4ec64) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 September 2020, 22:29:06 UTC
78ef1b6 [3.9] Fix error in argparse documentation example (GH-17399) (GH-21992) Automerge-Triggered-By: @rhettinger (cherry picked from commit 8784d3300ec4ffc58bc0e9ab3cff9a24187dbe4c) Co-authored-by: SarahPythonista <4283226+SarahPythonista@users.noreply.github.com> 04 September 2020, 22:26:22 UTC
672d8b9 [3.9] [doc] Fix a typo in the graphlib docs (GH-22030) (GH-22076) (cherry picked from commit 851606007665dc30089e5e1953208c5428e455b1) Co-authored-by: Mario Šaško <mariosasko777@gmail.com> 04 September 2020, 22:25:50 UTC
6386e86 bpo-38585: Remove references to defusedexpat (GH-22095) defusedexpat is not maintained. (cherry picked from commit 51b84f8e96a441c498210f827c1297ee4973525f) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 04 September 2020, 21:17:45 UTC
fb050d0 bpo-41721: Add xlc options (GH-22097) (cherry picked from commit 84a7917b4c9afec07575065cffa143b91fe98c14) Authored-by: Stefan Krah <skrah@bytereef.org> 04 September 2020, 21:02:57 UTC
8f13ff9 bpo-41700: Skip test if the locale is not supported (GH-22081) (GH-22085) (cherry picked from commit 54a66ade2067c373d31003ad260e1b7d14c81564) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 04 September 2020, 09:55:25 UTC
8d68e59 bpo-39010: Improve test shutdown (GH-22066) (#22082) Simply closing the event loop isn't enough to avoid warnings. If we don't also shut down the event loop's default executor, it sometimes logs a "dangling thread" warning. Follow-up to GH-22017 (cherry picked from commit be435ae2b064dc64f04475bec632862e1dbf605f) Co-authored-by: Ben Darnell <ben@bendarnell.com> Co-authored-by: Ben Darnell <ben@bendarnell.com> 03 September 2020, 20:54:43 UTC
a268005 bpo-41696: Fix handling of debug mode in asyncio.run (GH-22069) (#22071) * bpo-41696: Fix handling of debug mode in asyncio.run This allows PYTHONASYNCIODEBUG or -X dev to enable asyncio debug mode when using asyncio.run * 📜🤖 Added by blurb_it. Co-authored-by: hauntsaninja <> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 0770ad948cb6d9f7f6c4002efd83e27c27069808) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 03 September 2020, 20:54:09 UTC
49571c0 bpo-39010: Fix errors logged on proactor loop restart (GH-22017) (#22034) Stopping and restarting a proactor event loop on windows can lead to spurious errors logged (ConnectionResetError while reading from the self pipe). This fixes the issue by ensuring that we don't attempt to start multiple copies of the self-pipe reading loop. (cherry picked from commit ea5a6363c3f8cc90b7c0cc573922b10f296073b6) Co-authored-by: Ben Darnell <ben@bendarnell.com> Co-authored-by: Ben Darnell <ben@bendarnell.com> 03 September 2020, 19:38:29 UTC
270e249 [3.9] Fix 'gather' rules in the python parser generator (GH-22021) (GH-22080) Currently, empty sequences in gather rules make the conditional for gather rules fail as empty sequences evaluate as "False". We need to explicitly check for "None" (the failure condition) to avoid false negatives. (cherry picked from commit e55a0e9) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 03 September 2020, 15:35:36 UTC
be17295 [3.9] bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the parser (GH-22077) (GH-22079) (cherry picked from commit 315a61f7a9418d904e0eea14b1f054fac3a90e9f) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 03 September 2020, 15:35:17 UTC
a5d0232 bpo-39883: Use BSD0 license for code in docs (GH-17635) (GH-22073) The PSF board approved this use. (cherry picked from commit e223d06a8b2067c68e9f97c4628c2b0f056dcae6) Co-authored-by: Todd <toddrjen@gmail.com> 03 September 2020, 14:40:10 UTC
8de34cd [3.9] bpo-41690: Use a loop to collect args in the parser instead of recursion (GH-22053) (GH-22067) This program can segfault the parser by stack overflow: ``` import ast code = "f(" + ",".join(['a' for _ in range(100000)]) + ")" print("Ready!") ast.parse(code) ``` the reason is that the rule for arguments has a simple recursion when collecting args: args[expr_ty]: [...] | a=named_expression b=[',' c=args { c }] { [...] }. (cherry picked from commit 4a97b1517a6b5ff22e2984b677a680b07ff0ce11) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 02 September 2020, 20:30:51 UTC
a763ee3 [3.9] bpo-39349: Add cancel_futures to Executor.shutdown base class (GH-22023) (GH-22048) * Add cancel_futures parameter to the Executor base class, since it was missed in the original PR (https://github.com/python/cpython/pull/18057) that added cancel_futures. (cherry picked from commit 17dc1b7) 02 September 2020, 19:28:28 UTC
27183f4 Fix invalid escape sequences in the peg_highlight Sphinx extension (GH-22047) (GH-22065) (cherry picked from commit 5a4a963a6c798fa9207a9998618a9c0ec3b6b6d7) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 02 September 2020, 16:43:43 UTC
bafaf07 [doc] Remove references to PyChecker. (GH-22054) (cherry picked from commit dea82b67315a6b873f7d4e558dd00a851137dcbb) Co-authored-by: Andre Delfino <adelfino@gmail.com> 02 September 2020, 13:29:33 UTC
e2e0338 Remove reference to Boa Constructor. (GH-22056) (cherry picked from commit 1d25f5bf7b795b47e753aca56d7579d4ad7ee468) Co-authored-by: Andre Delfino <adelfino@gmail.com> 02 September 2020, 13:29:16 UTC
63fa113 Fixed mistake in test for f-string error description (GH-22036) (GH-22059) (GH-22060) (cherry picked from commit 749ed85e4446f548e22934931241f644a33d81ce) Co-authored-by: han-solo <hanish0019@gmail.com> Co-authored-by: han-solo <hanish0019@gmail.com> 02 September 2020, 12:13:39 UTC
e2977f6 Note the buffer slots can be set with PyType_Spec with the unlimited API. (GH-22052) Follow up to f7c4e236429606e1c982cacf24e10fc86ef4462f. (cherry picked from commit 700fa1b836f315048e8b89ede5018a0c0a213946) Co-authored-by: Benjamin Peterson <benjamin@python.org> 02 September 2020, 03:18:21 UTC
d14775d [3.9] bpo-41654: Fix deallocator of MemoryError to account for subclasses (GH-22020) (GH-22045) When allocating MemoryError classes, there is some logic to use pre-allocated instances in a freelist only if the type that is being allocated is not a subclass of MemoryError. Unfortunately in the destructor this logic is not present so the freelist is altered even with subclasses of MemoryError.. (cherry picked from commit 9b648a95ccb4c3b14f1e87158f5c9f5dbb2f62c0) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 01 September 2020, 20:40:57 UTC
4217b3c bpo-41617: Fix pycore_byteswap.h to support clang 3.0 (GH-22042) (GH-22044) __builtin_bswap16() is not available in LLVM clang 3.0. (cherry picked from commit e6905e4c82cc05897dc1bf5ab2b5b94b2b043a7f) 01 September 2020, 18:54:37 UTC
c16a2a1 bpo-41681: Fix for `f-string/str.format` error description when using 2 `,` in format specifier (GH-22036) (GH-22041) * Fixed `f-string/str.format` error description when using two `,` in format specifier. Co-authored-by: millefalcon <hanish0019@hmail.com> (cherry picked from commit 0d6aa7f0ee38eb453bc8f73bf4830e6172be2f35) Co-authored-by: han-solo <hanish0019@gmail.com> Co-authored-by: han-solo <hanish0019@gmail.com> 01 September 2020, 15:45:59 UTC
ca55ecb bpo-41344: Raise ValueError when creating shared memory of size 0 (GH-21556) (GH-22018) (cherry picked from commit 475a5fbb5644ea200c990d85d8c264e78ab6c7ea) Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com> Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com> 30 August 2020, 19:42:22 UTC
901c2ea bpo-41524: fix pointer bug in PyOS_mystr{n}icmp (GH-21845) (GH-21978) 30 August 2020, 06:53:09 UTC
6b5e887 bpo-41634: Fix a typo in the curses documentation (GH-21958) (cherry picked from commit 398575c210f79627830c5c470184f54ace950ac6) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 29 August 2020, 22:33:48 UTC
88b86a9 bpo-19521: Fix parallel build race condition on AIX (GH-22001) Patch by Michael Haubenwallner. (cherry picked from commit e6dcd371b2c54a94584dd124e8c592a496d46a47) Co-authored-by: Stefan Krah <skrah@bytereef.org> 29 August 2020, 16:36:40 UTC
c01a7ed [3.9] bpo-41624: fix documentation of typing.Coroutine (GH-21952) (#21982) (cherry picked from commit 8c58d2a) Co-authored-by: MingZhe Hu <humingzhework@163.com> Co-authored-by: MingZhe Hu <humingzhework@163.com> 28 August 2020, 15:06:31 UTC
7361451 bpo-41609: Fix output of pdb's whatis command for instance methods (GH-21935) (#21977) (cherry picked from commit 022bc7572f061e1d1132a4db9d085b29707701e7) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> 27 August 2020, 01:17:40 UTC
211e4c6 bpo-33660: Fix PosixPath to resolve a relative path on root (#21974) (cherry picked from commit 94ad6c674f7687ef22853cb8d42b440d6b42ddc8) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 27 August 2020, 00:51:44 UTC
9de6be4 bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) (GH-21964) Currently, if `asyncio.wait_for()` itself is cancelled it will always raise `CancelledError` regardless if the underlying task is still running. This is similar to a race with the timeout, which is handled already. (cherry picked from commit a2118a14627256197bddcf4fcecad4c264c1e39d) Co-authored-by: Elvis Pranskevichus <elvis@magic.io> 26 August 2020, 17:15:35 UTC
1036ccb bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895) (GH-21963) When I was fixing bpo-32751 back in GH-7216 I missed the case when *timeout* is zero or negative. This takes care of that. Props to @aaliddell for noticing the inconsistency. (cherry picked from commit c517fc712105c8e5930cb42baaebdbe37fc3e15f) Co-authored-by: Elvis Pranskevichus <elvis@magic.io> 26 August 2020, 17:14:59 UTC
d7cd116 Document vars behavior when __dict__ is missing (GH-21466) (GH-21939) (cherry picked from commit 802726acf6048338394a6a4750835c2cdd6a947b) Co-authored-by: Andre Delfino <adelfino@gmail.com> 22 August 2020, 18:55:00 UTC
72d5ddb Fix grammar in Doc/tutorial/controlflow.rst (GH-21885) (#21922) Automerge-Triggered-By: @csabella (cherry picked from commit 0be7c216e16f0d459f1c8f6209734c9b2b82fbd4) Co-authored-by: Denis Ovsienko <denis@ovsienko.info> 22 August 2020, 09:08:02 UTC
f497bbe bpo-40994: Ungroup items in collections.abc documentation for improved clarity (GH-21880) (#21926) Use a less surprising document structure. Automerge-Triggered-By: @csabella (cherry picked from commit 2ce39631f679e14132a54dc90ce764259d26e166) Co-authored-by: Sydney Pemberton <46042811+sydneypemberton1986@users.noreply.github.com> 22 August 2020, 09:06:54 UTC
429a86a bpo-41573: Update release versions in General FAQ (GH-21915) (#21938) (cherry picked from commit 7173fc84e61b80b19261e47fca38030206a3a78e) Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com> 22 August 2020, 07:47:37 UTC
a2d00f0 bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (#21929) Fix grammar in BaseTransport.close docstring. https://bugs.python.org/issue41572 Signed-off-by: Cleber Rosa <crosa@redhat.com> (cherry picked from commit 1afb42cfa82dad0ddd726f59c6c5fcb3962314db) Co-authored-by: Cleber Rosa <cleber.gnu@gmail.com> 21 August 2020, 12:19:40 UTC
3949827 Doc: add a missing period (GH-21819) (#21932) (cherry picked from commit 12695f4c6d1167c0863098a586f3dfeb77a7cb9a) Co-authored-by: Mathieu Dupuy <deronnax@gmail.com> Co-authored-by: Mathieu Dupuy <deronnax@gmail.com> 20 August 2020, 20:40:57 UTC
8f88190 [3.9] bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844) (GH-21901) * bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844) Enable Sphinx 3.2 "c_allow_pre_v3" option and disable the c_warn_on_allowed_pre_v3 option to make the documentation compatible with Sphinx 2 and Sphinx 3. (cherry picked from commit 423e77d6de497931585d1883805a9e3fa4096b0b) * bpo-40204: Fix Sphinx sytanx in howto/instrumentation.rst (GH-21858) Use generic '.. object::' to declare markers, rather than abusing '.. c:function::' which fails on Sphinx 3. (cherry picked from commit 43577c01a2ab49122db696e9eaec6cb31d11cc81) * bpo-40204: Fix duplicates in the documentation (GH-21857) Fix two Sphinx 3 issues: Doc/c-api/buffer.rst:304: WARNING: Duplicate C declaration, also defined in 'c-api/buffer'. Declaration is 'PyBUF_ND'. Doc/c-api/unicode.rst:1603: WARNING: Duplicate C declaration, also defined in 'c-api/unicode'. Declaration is 'PyObject* PyUnicode_Translate(PyObject *str, PyObject *table, const char *errors)'. (cherry picked from commit 46d10b1237c67ff8347f533eda6a5468d098f7eb) * bpo-40204: Add :noindex: in the documentation (GH-21859) Add :noindex: to duplicated documentation to fix "duplicate object description" errors. For example, fix this Sphinx 3 issue: Doc/library/configparser.rst:1146: WARNING: duplicate object description of configparser.ConfigParser.optionxform, other instance in library/configparser, use :noindex: for one of them (cherry picked from commit d3ded080482beae578faa704b13534a62d066f9f) * bpo-40204, doc: Fix syntax of C variables (GH-21846) For example, fix the following Sphinx 3 errors: Doc/c-api/buffer.rst:102: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*obj -----^ Doc/c-api/arg.rst:130: WARNING: Unparseable C cross-reference: 'PyObject*' Invalid C declaration: Expected end of definition. [error at 8] PyObject* --------^ The modified documentation is compatible with Sphinx 2 and Sphinx 3. (cherry picked from commit 474652fe9346382dbf793f20b671eb74668bebde) * bpo-40204: Fix reference to terms in the doc (GH-21865) Sphinx 3 requires to refer to terms with the exact case. For example, fix the Sphinx 3 warning: Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case sensitive match.made a reference to loader instead. (cherry picked from commit bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1) * bpo-40204: Fix duplicated productionlist names in the doc (GH-21900) Sphinx 3 disallows having more than one productionlist markup with the same name. Simply remove names in this case, since names are not shown anyway. For example, fix the Sphinx 3 warning: Doc/reference/introduction.rst:96: duplicate token description of *:name, other instance in reference/expressions (cherry picked from commit 1abeda80f760134b4233608e2c288790f955b95a) 19 August 2020, 17:25:22 UTC
e3cafeb bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907) * Fix refleak in C module __init_subclass__ This was leaking a reference to the weak cache dictionary for every ZoneInfo subclass created. * Fix refleak in ZoneInfo subclass's clear_cache The previous version of the code accidentally cleared the global ZONEINFO_STRONG_CACHE variable (and inducing `ZoneInfo` to create a new strong cache) on calls to a subclass's `clear_cache()`. This would not affect guaranteed behavior, but it's still not the right thing to do (and it caused reference leaks). (cherry picked from commit c3dd7e45cc5d36bbe2295c2840faabb5c75d83e4) Co-authored-by: Paul Ganssle <paul@ganssle.io> 17 August 2020, 23:24:15 UTC
d6bdf6d bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) asyncio.AbstractEventLoop.run_in_executor should be a method that returns an asyncio Future, not an async method. This matches the concrete implementations, and the documentation better. (cherry picked from commit 29f84294d88ec493c2de9d6e8dbc12fae3778771) Co-authored-by: James Weaver <james.barrett@bbc.co.uk> 17 August 2020, 14:40:26 UTC
2c050e5 [3.9] bpo-41503: Fix race between setTarget and flush in logging.handlers.MemoryHandler (GH-21765) (GH-21897) (cherry picked from commit 2353d77fad7ed9d11d8a4d66b5dd1306cdb94125) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> Automerge-Triggered-By: @vsajip 16 August 2020, 15:34:27 UTC
28bf826 bpo-41540: AIX: skip test that is flaky with a default ulimit. (GH-21890) (#21893) - AIX has extreme over-allocation that is in no relation to the physical RAM and swap. (cherry picked from commit 39dab24621122338d01c1219bb0acc46ba9c9956) Authored-by: Stefan Krah <skrah@bytereef.org> 15 August 2020, 18:40:14 UTC
1864eac bpo-40878: xlc cannot handle C99 extern inline. (GH-21891) This applies to the default "extc99" mode. Python does not compile with "stdc99". (cherry picked from commit 40e700ad042089120456cc2ee79b8ca69479416b) Authored-by: Stefan Krah <skrah@bytereef.org> 15 August 2020, 18:37:08 UTC
fc8ffe2 bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation (GH-18772) [bpo-31122](): ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation Reproducer: http://tiny.cc/f4ztnz (tiny url because some bot keeps renaming b.p.o.-nnn as bpo links) (cherry picked from commit 495bd035662fda29639f9d52bb6baebea31d72fa) Co-authored-by: Dima Tisnek <dimaqq@gmail.com> 15 August 2020, 17:44:57 UTC
31bc45c Fix typo in typing doc (GH-21879) Automerge-Triggered-By: @gvanrossum (cherry picked from commit fa5d7251987c70a9c5d58b59a0b36ac9287eaafa) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> 14 August 2020, 23:10:14 UTC
33d3c64 bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) (GH-21876) Prior to this change, attempting to subclass the C implementation of zoneinfo.ZoneInfo gave the following error: TypeError: unbound method ZoneInfo.__init_subclass__() needs an argument https://bugs.python.org/issue41025 (cherry picked from commit 87d8287865e5c9f137f6b5cf8c34c2c509eb5e9d) Co-authored-by: Paul Ganssle <paul@ganssle.io> 14 August 2020, 15:18:24 UTC
7c28841 bpo-41410: Fix outdated info in mkstemp docs (GH-21701) Automerge-Triggered-By: @ericvsmith (cherry picked from commit e55de68be3e5b977a17d3c0ac9805b0feff8fedc) Co-authored-by: Rishav Kundu <rk@rishav.io> 14 August 2020, 01:53:43 UTC
75c2281 bpo-41526: Fixed layout of final page of the installer (GH-21871) (cherry picked from commit 6444ca946984c638c67a72aac22fd6d3cc650c16) Co-authored-by: Steve Dower <steve.dower@python.org> 13 August 2020, 23:55:37 UTC
7fcd515 Fixed comment about pathlib.link_to: it was added in 3.8, not changed. (GH-21851) (cherry picked from commit a3eae43aeedb6e6a31adeab3c0c90961d05ab113) Co-authored-by: Facundo Batista <facundo@taniquetil.com.ar> 13 August 2020, 20:54:48 UTC
3dd1153 bpo-41066: Update the comparison section for os vs pathlib (GH-21261) (cherry picked from commit 0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> 13 August 2020, 19:59:07 UTC
f24430f [3.9] bpo-41520: Fix second codeop regression (GH-21848) Fix the repression introduced by the initial regression fix. (cherry picked from commit c818b15fa59039de67022c29085d439fa5d3ef95) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 August 2020, 18:21:32 UTC
b3ad2ca [3.9] bpo-40979: refactored typing.rst; (mostly) same content, new sub-sections and ordering (GH-21574) (#21843) Also added PEP 585 deprecation notes. (cherry picked from commit ab72fdeb82) Co-authored-by: Luciano Ramalho <luciano@ramalho.org> 12 August 2020, 18:10:12 UTC
90eff4e bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838) (cherry picked from commit 369a1cbdee14d9f27356fb3a8bb21e4fde289d25) Co-authored-by: Victor Stinner <vstinner@python.org> 12 August 2020, 13:13:09 UTC
6e21a30 Post 3.9.0rc1 11 August 2020, 21:29:16 UTC
03e9265 Merge tag 'v3.9.0rc1' into 3.9 Python 3.9.0rc1 11 August 2020, 21:28:53 UTC
d1d6a1c [3.9] bpo-41504: Add links to asttokens, leoAst, LibCST and parso to ast docs (GH-21773) (GH-21830) (cherry picked from commit e3c971ccfa58afcb2656b71b95e10b9703f2ad32) Co-authored-by: Edward K. Ream <edreamleo@gmail.com> Co-authored-by: Edward K. Ream <edreamleo@gmail.com> 11 August 2020, 21:04:26 UTC
back to top