https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
439c93d Python 3.9.0rc1 11 August 2020, 18:58:17 UTC
5de00f6 bpo-41475: Fix note in "What's new in 3.7" (GH-21733) (#21832) (cherry picked from commit 76643c10ede2813ca921464fe839e81caee21a84) Co-authored-by: Ram Rachum <ram@rachum.com> 11 August 2020, 17:03:21 UTC
2146e51 Add PEP 573 additions to What's New (GH-21374) (GH-21831) (cherry picked from commit af3a6a8caefc2b202c831ab908677c1a4371cc27) Co-authored-by: Petr Viktorin <encukou@gmail.com> 11 August 2020, 16:34:20 UTC
a0b57b3 bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) (GH-21827) regrtest_unraisable_hook() temporarily replaces sys.stderr with sys.__stderr__ to help to display errors when a test captures stderr. (cherry picked from commit 701b63894fdb75b12865b9be6261ce4913da76f5) 11 August 2020, 15:03:33 UTC
2cd58d8 bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806) On Git 2.28, "git diff master..." (3 dots) no longer works when "fetch --depth=1" is used, whereas it works on Git 2.26. Replace "..." (3 dots) with ".." (2 dots) in the "git diff" command computing the list of modified files between the base branch and the PR branch. (cherry picked from commit eaa551702d80fd67219c48ee6a13ffb571ca360b) Co-authored-by: Victor Stinner <vstinner@python.org> 10 August 2020, 17:09:41 UTC
9c253f4 bpo-41514: Fix buggy IDLE test (GH-21808) test_run method test_fatal_error failed when run twice, as with python -m test -m test_fatal_error test_idle test_idle because func.called was not reinitialized to 0. This bug caused a failure on a refleak buildbot. (cherry picked from commit 416f0b71ba84fe83ee2ba4399b8a28712702980b) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 10 August 2020, 14:05:02 UTC
d2bea26 [3.9] bpo-41194: Convert _ast extension to PEP 489 (GH-21807) * bpo-41194: Convert _ast extension to PEP 489 (GH-21293) Convert the _ast extension module to PEP 489 "Multiphase initialization". Replace the global _ast state with a module state. (cherry picked from commit b1cc6ba73a51d5cc3aeb113b5e7378fb50a0e20a) * bpo-41204: Fix compiler warning in ast_type_init() (GH-21307) (cherry picked from commit 1f76453173267887ed05bb3783e862cb22365ae8) 10 August 2020, 13:55:54 UTC
b0a2705 Update macOS installer welcome files for 3.9.0rc. (GH-21804) 10 August 2020, 07:04:13 UTC
a9fa663 bpo-41468: Improve and test IDLE run error exit (GH-21798) A message box pops up when an unexpected error stops the run process. Tell users it is likely a random glitch, but report it if not. (cherry picked from commit f2e161c27964a59bc5ab20d96f87ba5862c6222d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 August 2020, 20:26:21 UTC
6860cf5 Doc: Add output to example code in programming FAQ (GH-21346) Add output hint to document, part faq/programming, section [How do I write a function with output parameters (call by reference)?](https://docs.python.org/3/faq/programming.htmlGH-how-do-i-write-a-function-with-output-parameters-call-by-reference). This patch make the output hint just like prefix code block. (cherry picked from commit 67acf74c4eaf64a860cc1bcda6efe6e9cb01f89b) Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com> 09 August 2020, 18:54:26 UTC
462b095 Improve renamed test_run.RecursionLimitTest (GH-21794) PEP 8 style and new comments. (cherry picked from commit 8b67bf907c51846853127176cbb2982d102a2c2d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 August 2020, 17:35:48 UTC
103ce3d bpo-41455: Provide a link to how the third generation is collected in the GC docs (GH-21703) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 82ca8fada15b121866530f2cdac1b7055be4a244) Co-authored-by: Yaroslav Pankovych <31005942+P-Alban@users.noreply.github.com> 08 August 2020, 18:55:15 UTC
d910643 bpo-41497: Fix potential UnicodeDecodeError in dis CLI (GH-21757) (cherry picked from commit a4084b9d1e40c1c9259372263d1fe8c8a562b093) Co-authored-by: Konge <zkonge@outlook.com> 08 August 2020, 03:24:12 UTC
deea701 Doc: Add a link to tutorial page from `open()` doc (GH-21737) Adds a link to the "Reading and Writing Files" page so users can more easily discover how file handles are handled with the `with` context manager vs without it. (cherry picked from commit 705f14556545699ab615ec98f707b438f9603767) Co-authored-by: Benjamin Kane <bbkane@users.noreply.github.com> 08 August 2020, 03:03:56 UTC
70e9243 bpo-41490: Update ensurepip to install pip 20.2.1 and setuptools 49.2.1 (GH-21774) 07 August 2020, 23:47:40 UTC
1ecbfbc Update Azure Pipelines build to use Ubuntu 18.04 and move triggers into YAML files (GH-21776) (cherry picked from commit 102b4988b1a10d5a61034381aea15521d17c210c) Co-authored-by: Steve Dower <steve.dower@python.org> 07 August 2020, 23:01:44 UTC
5e12a5b bpo-41473: Skip test_gdb with gdb 9.2 to work around gdb bug (GH-21768) gdb 9.2 on Fedora Rawhide is not reliable, see: * https://bugs.python.org/issue41473 * https://bugzilla.redhat.com/show_bug.cgi?id=1866884 (cherry picked from commit e27a51c11e10d5df79b3e48dc3e7bfedfad5a794) Co-authored-by: Victor Stinner <vstinner@python.org> 07 August 2020, 16:18:29 UTC
b2514c4 bpo-41098: Doc: Add missing deprecated directives (GH-21162) PyUnicodeEncodeError_Create has been deprecated with `Py_DEPRECATED` macro. But it was not documented. (cherry picked from commit 46e19b61d31ba99f049258efa4ff1334856a3643) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 07 August 2020, 07:49:53 UTC
fc354ca bpo-39871: Fix an error in a news entry (GH-21749) (cherry picked from commit 54636355805dd2877bb54fbad8d967e1ddd8b553) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 07 August 2020, 05:45:49 UTC
1437bb0 bpo-41492: Fixes the description appearing in UAC prompts on Windows (GH-21754) (cherry picked from commit 777b611c8c5676b80898a429f71d28e59bddc49d) Co-authored-by: Steve Dower <steve.dower@python.org> 06 August 2020, 16:54:52 UTC
b49b88a bpo-41482: Fix error in ipaddress.IPv4Network docstring (GH-21736) (cherry picked from commit 52f98424a55e14f05dfa7483cc0faf634a61c9ff) Co-authored-by: Eric L. Frederich <eric.frederich@gmail.com> 05 August 2020, 21:52:59 UTC
a132098 bpo-40726: handle uninitalized end_lineno on ast.increment_lineno (GH-20312) (cherry picked from commit 8f4380d2f5839a321475104765221a7394a9d649) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com> 05 August 2020, 13:52:29 UTC
ea68063 bpo-36346: Doc: Update removal schedule of legacy Unicode (GH-21479) See PEP 623 for detail. (cherry picked from commit 270b4ad4df795783d417ba15080da8f95e598689) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 05 August 2020, 01:56:08 UTC
1d16229 bpo-41467: Fix asyncio recv_into() on Windows (GH-21720) On Windows, fix asyncio recv_into() return value when the socket/pipe is closed (BrokenPipeError): return 0 rather than an empty byte string (b''). (cherry picked from commit 602a971a2af3a685d625c912c400cadd452718b1) Co-authored-by: Victor Stinner <vstinner@python.org> 04 August 2020, 01:00:29 UTC
b6724be bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721) incr cannot be larger than INT_MAX: downcast to int explicitly. (cherry picked from commit bde48fd8110cc5f128d5db44810d17811e328a24) Co-authored-by: Victor Stinner <vstinner@python.org> 04 August 2020, 00:56:54 UTC
3c4fc86 bpo-41425: Make tkinter doc example runnable (GH-21706) Co-authored-by: Ankit Chandawala <achandaw@amazon.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit c36dbac588e1d99975f285a874bb20e9f5040af4) 03 August 2020, 04:25:30 UTC
905c7de bpo-41424: Remove extra words in Tkinter-Packer documentation (GH-21707) (cherry picked from commit ecaf949cc487887883c14dff7a96e09ac9404994) Co-authored-by: Nathan M <nathanmaynes@gmail.com> 03 August 2020, 02:19:48 UTC
fe928b3 [3.9] bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694) (GH-21697) (cherry picked from commit cadda52d974937069eeebea1cca4229e2bd400df) Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com> 31 July 2020, 14:17:18 UTC
607ba9d bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677) Automerge-Triggered-By: @brettcannon (cherry picked from commit ba18c0b13ba3c08077ea3db6658328523823a33f) Co-authored-by: Sebastien Williams-Wynn <s.williamswynn.mail@gmail.com> 29 July 2020, 18:43:54 UTC
0124f2b Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) (GH-21667) 29 July 2020, 01:39:10 UTC
2221610 closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569) This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF. I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue. (cherry picked from commit a74eea238f5baba15797e2e8b570d153bc8690a7) Co-authored-by: Benjamin Peterson <benjamin@python.org> 29 July 2020, 01:16:19 UTC
aa16ac7 [3.9] Improve blake2 comment for Victor (GH-20981) (GH-20982) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 8a0fe7b4544ba28eeea6e16ddb646bb0b5d2918e) Co-authored-by: Christian Heimes <christian@python.org> 28 July 2020, 19:29:46 UTC
67020a3 Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465) (cherry picked from commit 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3) Co-authored-by: Xiang Zhang <angwerzx@126.com> 28 July 2020, 16:58:30 UTC
95cc37f bpo-41412 and bpo-40948: Windows installer updates (GH-21656) Prevent installation on Windows 8 and earlier. Download UCRT on demand when required (non-updated Windows 8.1 only) Add reference to py launcher to post-install message (cherry picked from commit 37a06cbe5c17c2aa6ad938339fd42531a8a0bea0) Co-authored-by: Steve Dower <steve.dower@python.org> 28 July 2020, 15:55:38 UTC
e31b8a5 bpo-41328: Replace mention of Hudson CI with Travis CI and AppVeyor (GH-21653) (cherry picked from commit 5e3826785dcc64f8e1a8a7bde11b88fbb40943be) Co-authored-by: Dmytro Litvinov <litvinov.dmytro.it@gmail.com> 28 July 2020, 14:56:15 UTC
bc2c0e9 [3.9] Validate the AST produced by the parser in debug mode (GH-21643) (GH-21646) This will improve the debug experience if something fails in the produced AST. Previously, errors in the produced AST can be felt much later like in the garbage collector or the compiler, making debugging them much more difficult.. (cherry picked from commit 1332226b32da44087a55e1d71990ee6899dfd28a) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 27 July 2020, 23:12:31 UTC
e962e3f [3.9] bpo-41045: Document debug feature of f-strings ('=') (GH-21509) (GH-21645) Co-Authored-By: Rishi <rishi93dev@gmail.com> (cherry picked from commit 13efaec) Co-authored-by: amaajemyfren <32741226+amaajemyfren@users.noreply.github.com> 27 July 2020, 23:01:49 UTC
e6b2d93 [3.9] bpo-40939: Use the new grammar for the grammar specification documentation (GH-19969) (#21641) (We censor the heck out of actions and some other stuff using a custom "highlighter".) (cherry picked from commit 72cabb2aa636272e608285f5a6ba83b62be9be4e) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> 27 July 2020, 19:00:42 UTC
8b05275 bpo-41384: Raise TclError in tkinter.OptionMenu (GH-21601) ... when an unknown option is passed. TypeError was being raised because a 2to3 fix was missing. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit f1d40f941a6483b1d4ea10f1051ace7b426fb8e7) Co-authored-by: Akuli <akuviljanen17@gmail.com> 27 July 2020, 02:14:12 UTC
6e4975a bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257) On some platform such as VMware ESXi, DefaultSelector fails to detect selector due to default value. This fix adds a check and uses the correct selector depending upon select implementation and actual call. Fixes: [bpo-41182]() Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit bcd47837a9bf4806e559b40df73869493efcce27) Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> 26 July 2020, 15:32:25 UTC
41d1c04 bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (GH-21553) The issue raised by recursive evaluation is infinite recursion with recursive types. In that case, only the first recursive ForwardRef is evaluated. (cherry picked from commit 653f420b53a3aa87316cef59de8d3f5d9e11deb4) Co-authored-by: wyfo <joperez@hotmail.fr> 26 July 2020, 15:31:24 UTC
8b7544c bpo-41385: Fix test_executable_without_cwd on Windows (GH-21608) (cherry picked from commit b1a87300a06324c9fc7d6553906ed914489465aa) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 July 2020, 07:38:52 UTC
b74e536 bpo-37309: NEWS for GH-41373 (GH-21612) (cherry picked from commit af08db7bac3087aac313d052c1a6302bee7c9c89) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 26 July 2020, 04:25:17 UTC
616734b bpo-39868: Add documentation for Assignment Expressions (walrus, PEP 572) (GH-18851) (cherry picked from commit f117cef25b5ffc4db9fbe373ddb65e14f59f0397) Co-authored-by: Shankar Jha <shankarj67@gmail.com> 25 July 2020, 23:40:48 UTC
fdc91c2 bpo-41314: fixed annotations __future__ version (GH-21616) PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this. (cherry picked from commit 0028c14073109595e7532ec00bb1e8bf39ecfb4d) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> 25 July 2020, 22:00:48 UTC
2024d7a bpo-38731: Fix NameError in command-line interface of py_compile (GH-21617) 25 July 2020, 20:43:47 UTC
15fdbb7 bpo-41373: IDLE: Fix saving files loaded with no newlines or mixed newlines (GH-21597) Fixes regression in 3.8.4 and 3.9.0b4. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 0dd463c8a4269137ebed7cc29605c555030df94f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 July 2020, 03:39:31 UTC
ba07d4a bpo-32528: Document the change in inheritance of asyncio.CancelledError (GH-21474) GH-msg373510 [bpo-32528]()/GH-13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document. Automerge-Triggered-By: @1st1 (cherry picked from commit 2a5181829af394b82e8e8c917183c709ee72a2b7) Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com> 24 July 2020, 14:19:13 UTC
4ff8e5b bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() (GH-21595) (cherry picked from commit 0dd98c2d00a75efbec19c2ed942923981bc06683) Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi> 23 July 2020, 20:02:47 UTC
e8dda90 bpo-41366: Fix clang warning for sign conversion (GH-21592) (cherry picked from commit 680254a8dc64e3ada00f88a7c42d41eb02108353) Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com> 23 July 2020, 08:59:21 UTC
4cf7afc bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594) Also one in news log. (cherry picked from commit 592527f3ee59616eca2bd1da771f7c14cee808d5) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 July 2020, 06:25:59 UTC
00466db bpo-41364: Reduce import overhead of uuid module (GH-21586) (cherry picked from commit bf2f76ec0976c09de79c8827764f30e3b6fba776) Co-authored-by: Steve Dower <steve.dower@python.org> 22 July 2020, 00:09:32 UTC
d6ba8c8 bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570) (cherry picked from commit 84761c3cc4bac31d471e371c53a338686d4b0241) Co-authored-by: Steve Dower <steve.dower@python.org> 21 July 2020, 00:10:32 UTC
9e84a2c Post 3.9.0b5 20 July 2020, 19:34:58 UTC
8ad7d50 Python 3.9.0b5 20 July 2020, 17:47:09 UTC
9464783 Doc: fix import of asdl.py when called from outside Doc/. (GH-21529) (#21567) (cherry picked from commit 7f03445d01d5ece41c2ceef7254002e08e8ab5a5) Co-authored-by: Julien Palard <julien@palard.fr> 20 July 2020, 17:18:17 UTC
add7cfc bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546) Do not call PyObject_CallMethod() with a live exception (like KeyboardInterrupt). (cherry picked from commit eca2549f5a5048b44ca88b9555f1c62f094e3c12) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 20 July 2020, 13:10:11 UTC
663f827 Simple Documentation fix: Missing link to return type class. (GH-21291) Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object". (cherry picked from commit f9bf0157999cb4adbcfd7e9bf526bfa48601e128) Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com> 20 July 2020, 11:33:19 UTC
46634b7 bpo-37703: improve asyncio.gather documentation regarding cancellation (GH-15312) These changes updates the doc to comprehensively mention the behaviour of gather.cancel() Automerge-Triggered-By: @asvetlov (cherry picked from commit d42528a3a2c7d79fd2e6c9f2a02f3ce12d44c8cc) Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com> 20 July 2020, 09:01:39 UTC
2fbb0d8 bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979) (cherry picked from commit 7cf1cb36ecafabff363790d245f809d3894fbbaf) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 20 July 2020, 06:37:50 UTC
8831162 bpo-41205: Document Decimal power 0 to the 0 (GH-21386) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 10e466448f67850ed7bb2e2a4e7f017f2b050cad) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> 19 July 2020, 11:10:04 UTC
01ab963 bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528) Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call. Automerge-Triggered-By: @gvanrossum (cherry picked from commit c53b310e5926266ce267c44a168165cacd786d6e) Co-authored-by: scoder <stefan_ml@behnel.de> 18 July 2020, 21:39:02 UTC
27b8110 bpo-39603: Prevent header injection in http methods (GH-18485) reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e8fb068863c1138f07e3098478ef8be12e) Co-authored-by: AMIR <31338382+amiremohamadi@users.noreply.github.com> 18 July 2020, 20:41:55 UTC
f925444 bpo-41325: Add version note for args and kwargs property in call object (GH-21525) (cherry picked from commit 9b01c598ca2576a1056816e85dd84bf5f9c74688) Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com> 18 July 2020, 13:14:32 UTC
760552c bpo-41024: doc: Explicitly mention use of 'enum.Enum' as a valid container for '… (GH-20964) (GH-21527) 17 July 2020, 23:43:03 UTC
a16ac4e bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521) (cherry picked from commit 164b04c47e61bd35d55e61bc74f9fd646eba81bb) Co-authored-by: Steve Dower <steve.dower@python.org> 17 July 2020, 16:53:56 UTC
5a7aa28 bpo-41300: IDLE - save files with non-ascii chars (GH-21512) Fix regression released in 3.9.0b4 and 3.8.4. (cherry picked from commit 38d3864efe914fda64553e2ec75c9ec15574483f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 16 July 2020, 22:42:09 UTC
9d8b8c3 Fix trivial typo in the PEG string parser (GH-21508) (cherry picked from commit 0275e0452a773976827c2b9bd1e598ee08e2d7f5) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 16 July 2020, 16:30:19 UTC
961703c Fix possibly-unitialized warning in string_parser.c. (GH-21503) GCC says ``` ../cpython/Parser/string_parser.c: In function ‘fstring_find_expr’: ../cpython/Parser/string_parser.c:404:93: warning: ‘cols’ may be used uninitialized in this function [-Wmaybe-uninitialized] 404 | p2->starting_col_offset = p->tok->first_lineno == p->tok->lineno ? t->col_offset + cols : cols; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../cpython/Parser/string_parser.c:384:16: note: ‘cols’ was declared here 384 | int lines, cols; | ^~~~ ../cpython/Parser/string_parser.c:403:45: warning: ‘lines’ may be used uninitialized in this function [-Wmaybe-uninitialized] 403 | p2->starting_lineno = t->lineno + lines - 1; | ~~~~~~~~~~~~~~~~~~^~~ ../cpython/Parser/string_parser.c:384:9: note: ‘lines’ was declared here 384 | int lines, cols; | ^~~~~ ``` and, indeed, if `PyBytes_AsString` somehow fails, lines & cols will not be initialized. (cherry picked from commit 2ad7e9c011b7606c5c7307176df07419a0e60134) Co-authored-by: Benjamin Peterson <benjamin@python.org> 16 July 2020, 13:25:31 UTC
f0f6566 Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500) This should also fix the syntax highlighting for these code blocks Automerge-Triggered-By: @csabella (cherry picked from commit 5e5c0f98667c9280c6d27b3db98a6cad2cc89077) Co-authored-by: Christopher Yeh <chrisyeh96@users.noreply.github.com> 16 July 2020, 11:31:34 UTC
28e93dd bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495) (cherry picked from commit 936a66094591dc0e67d4a60c170148bb700ec016) Co-authored-by: Steve Dower <steve.dower@python.org> 15 July 2020, 22:14:48 UTC
4a02da4 bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() call (GH-19686) (cherry picked from commit af4eda46d1538b1da700a86588bdb94b0a4d1ff2) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 15 July 2020, 19:25:59 UTC
9080e1e Fix -Wstring-prototypes warnings in _zoneinfo.c. (GH-21478) (cherry picked from commit 0108b2a2401d0ffffe7c07e5ab69a3b0c7593070) Co-authored-by: Benjamin Peterson <benjamin@python.org> 15 July 2020, 17:23:43 UTC
f2f6759 Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477) (cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8) Co-authored-by: Benjamin Peterson <benjamin@python.org> 15 July 2020, 13:30:26 UTC
8ca63f9 bpo-41302: Fix build with system libmpdec (GH-21481) Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one. (cherry picked from commit 015efdbef7454a522e88cd79ba2b4cd77a5fb2a2) Co-authored-by: Felix Yan <felixonmars@archlinux.org> 15 July 2020, 13:01:10 UTC
f323229 [3.9] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (GH-21482) Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907). (cherry picked from commit 5a8d121a1f3ef5ad7c105ee378cc79a3eac0c7d4) Co-authored-by: Rishi <rishi_devan@mail.com> Automerge-Triggered-By: @encukou 15 July 2020, 12:30:33 UTC
805874a Fix repeated words in Classes tutorial (GH-21455) The phrase "At any time during execution," was repeated twice. Automerge-Triggered-By: @Mariatta (cherry picked from commit 4f28f75deefc6e8f65694f96f1a40b0a26fc385d) Co-authored-by: Paul McMillan <paul@mcmillan.ws> 14 July 2020, 01:49:56 UTC
57c984f bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458) Automerge-Triggered-By: @tiran (cherry picked from commit 4f309abf55f0e6f8950ac13d6ec83c22b8d47bf8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 13 July 2020, 13:09:27 UTC
a77b1f6 bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372) (cherry picked from commit 344dce312a0cf86d5a5772d54843cc179acaf6e3) Co-authored-by: Nima Dini <nima.dini@gmail.com> 11 July 2020, 02:07:37 UTC
3daf001 Fix typo in docs: 'created by th' -> 'created by the' (GH-21384) (cherry picked from commit 6fc732a2116e2c42b0431bb7e2a21719351af755) Co-authored-by: marload <rladhkstn8@gmail.com> 10 July 2020, 15:50:45 UTC
51b36ed bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240) The issue is triggered by the bytearray() + bytearray() operation. Detected by GCC 10 static analysis tool. (cherry picked from commit 61fc23ca106bc82955b0e59d1ab42285b94899e2) Co-authored-by: stratakis <cstratak@redhat.com> 10 July 2020, 10:18:45 UTC
fd27fb7 bpo-37765: Add keywords to IDLE tab completions (GH-15138) Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> (cherry picked from commit bce2eb4646021910aa4074d86f44a09b32d0b2b2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 July 2020, 22:54:14 UTC
c65ee55 bpo-41172: Fix check for compiler in test suite (GH-21400) (cherry picked from commit af56c4fc76ac39ce76d649d7bebf7f78c1add4fa) Co-authored-by: Steve Dower <steve.dower@python.org> 09 July 2020, 18:12:07 UTC
b4beda1 bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413) Automerge-Triggered-By: @ericvsmith (cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75) Co-authored-by: marload <rladhkstn8@gmail.com> 09 July 2020, 12:20:26 UTC
90584c0 bpo-41252: Fix incorrect refcounting in _ssl.c's _servername_callback() (GH-21407) (cherry picked from commit ee96f32ca24779656d3c8736d26671fc3689f0a3) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 09 July 2020, 10:18:30 UTC
e689789 bpo-40597: Allow email.contextmanager set_content() to set a null string. (GH-20542) (cherry picked from commit 4fa61a7732923f92de0f7830c12da48c4cec937f) Co-authored-by: Mark Sapiro <mark@msapiro.net> 08 July 2020, 21:21:00 UTC
fbd71f6 bpo-41247: asyncio.set_running_loop() cache running loop holder (GH-21401) The running loop holder cache variable was always set to NULL when calling set_running_loop. Now set_running_loop saves the newly created running loop holder in the cache variable for faster access in get_running_loop. Automerge-Triggered-By: @1st1 (cherry picked from commit 529f42645d38b6b0075f256814dfb3d220ac7d92) Co-authored-by: Tony Solomonik <tony.solomonik@gmail.com> 08 July 2020, 19:47:20 UTC
a0a6f11 Revert "bpo-40170: PyType_HasFeature() now always calls PyType_GetFlags() (GH-19378)" (GH-21390) This partially reverts commit 45ec5b99aefa54552947049086e87ec01bc2fc9a. (cherry picked from commit b26a0db8ea2de3a8a8e4b40e69fc8642c7d7cb68) Co-authored-by: Victor Stinner <vstinner@python.org> 08 July 2020, 09:19:38 UTC
1d1c574 closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() (GH-21385) (cherry picked from commit aebc0495572c5bb85d2bd97d27cf93ab038b5a6a) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 08 July 2020, 04:40:18 UTC
366cfc6 bpo-41173: Copy test results file from ARM worker before uploading (GH-21305) (cherry picked from commit 10772ec1505a4583d662c051e577eb2d4fb6e755) Co-authored-by: Steve Dower <steve.dower@python.org> 07 July 2020, 23:45:17 UTC
2c82628 bpo-41207 In distutils.spawn, rewrite FileNotFound (GH-21359) Automerge-Triggered-By: @jaraco (cherry picked from commit 6ae2780be0667a8dc52c4fb583171ec86067d700) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 07 July 2020, 11:31:32 UTC
edeaf61 bpo-41215: Make assertion in the new parser more strict (GH-21364) (cherry picked from commit 782f44b8fb07ec33cee148b2b6b4cf53024fe0cd) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 06 July 2020, 23:35:10 UTC
6488a4a [3.9] bpo-41218: Only mark async code with CO_COROUTINE. (GH-21357) (GH-21362) 3.8.3 had a regression where compiling with ast.PyCF_ALLOW_TOP_LEVEL_AWAIT woudl agressively mark things are coroutine even if there were not. (cherry picked from commit bd46174) Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com> 06 July 2020, 22:30:20 UTC
54f115d [3.9] bpo-41215: Don't use NULL by default in the PEG parser keyword list (GH-21355) (GH-21356) (cherry picked from commit 39e76c0fb07e20acad454deb86a0457b279884a9) Co-authored-by: Pablo Galindo <pablogsal@gmail.com> Automerge-Triggered-By: @lysnikolaou 06 July 2020, 19:29:59 UTC
4981fe3 bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523 (cherry picked from commit dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5) Co-authored-by: Steve Dower <steve.dower@python.org> 06 July 2020, 16:52:13 UTC
97558d6 [3.9] bpo-37207: Update whatsnews for 3.9 (GH-21337) (cherry picked from commit b4a9263) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 06 July 2020, 13:32:06 UTC
1ce59f0 bpo-41165: Deprecate PyEval_ReleaseLock() (GH-21309) (cherry picked from commit 9ce8132e1f2339cfe116dfd4795574182c2245b4) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 06 July 2020, 03:25:14 UTC
00c09f0 bpo-28681: Clarify multiple function names in the tutorial (GH-21340) (GH-21343) * improve control flow docs * Add also Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit d12af71047f0eae86440654d3ea74c032c7c3558) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 06 July 2020, 02:07:32 UTC
3f4a9fd bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21341) * Clarify number of scopes * Indicate 3 or 4 Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 9ed3cd8ba052b395ab50692bb65988b065d68e27) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> 06 July 2020, 02:06:16 UTC
5a13849 bpo-39168: Remove the __new__ method of typing.Generic (GH-21327) Automerge-Triggered-By: @gvanrossum (cherry picked from commit 7fed75597fac11f9a6c769e2b6c6548fe0e4049d) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 05 July 2020, 16:02:40 UTC
back to top