https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
cc115e5 Python 3.10.0rc1 02 August 2021, 19:53:59 UTC
5671762 bpo-44792: Improve syntax errors for if expressions (GH-27506) (GH-27565) (cherry picked from commit 28b6dc9dd5d1ce6f8aff7e06d4ef9afdc2bc8332) Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com> 02 August 2021, 19:05:33 UTC
c6e7c98 bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) (cherry picked from commit 54f185b6d321a6354aef2b2886c766677f487ecb) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 02 August 2021, 18:38:14 UTC
14cb669 bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27563) (cherry picked from commit aa0894b3792901adb91e5f6d049154b7bcb980ec) Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com> 02 August 2021, 18:10:47 UTC
aa72668 bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) (cherry picked from commit 36d952d228582b0ffc7a86c520d4ddbe8943d803) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 02 August 2021, 17:09:05 UTC
2cc19a5 bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) Non-protocol subclasses of protocol ignore now the __init__ method inherited from protocol base classes. (cherry picked from commit 043cd60abed09edddc7185bcf7d039771acc734d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 02 August 2021, 17:08:59 UTC
9de5901 Document PyMember_GetOne and PyMember_SetOne (GH-27555) (cherry picked from commit d382bde220b4c07cce2b924ffeb7525ea1a969f4) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> 02 August 2021, 17:08:49 UTC
7c89bdd doc: "Mac OS " -> "macOS" (GH-27534) (cherry picked from commit 1342248f3a2b321b7b00867f47c92ba6549f9497) Co-authored-by: partev <petrosyan@gmail.com> 02 August 2021, 16:30:05 UTC
a1eaa74 bpo-44808: Fix test_inspect in refleak mode (GH-27544) (cherry picked from commit 626d397cc1612ea5eef153dd910834c2ee00ddbd) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 02 August 2021, 13:41:08 UTC
5888107 doc: "Mac OS X" -> "macOS" (GH-27535) (cherry picked from commit 414dcb13aaa4fd42f264fdee47782dede5c83d6c) Co-authored-by: partev <petrosyan@gmail.com> 02 August 2021, 13:13:48 UTC
1bc83eb bpo-44781: make distutils test suppress deprecation warning from import distutils (GH-27485) (GH-27540) (cherry picked from commit a9134fa2ffb7e4684c980325dd5444afca596586) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 02 August 2021, 09:54:52 UTC
33a4010 bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27500) (cherry picked from commit b6bde9fc42aecad5be0457198d17cfe7b481ad79) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 02 August 2021, 09:43:45 UTC
c8db292 bpo-44793: Fix checking the number of arguments when subscribe a generic type with ParamSpec parameter. (GH-27515) For example Callable[P, T][[int], str, float] will now raise an error. Use also term "arguments" instead of "parameters" in error message for too few/many arguments. (cherry picked from commit f92b9133ef67e77605cbd315b6b6c81036ce110e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 02 August 2021, 07:08:24 UTC
b192fb3 Remove beta release note from macOS installer displays (GH-27531) 01 August 2021, 21:35:53 UTC
21d5897 bpo-44784: Apply changes from importlib_metadata 4.6.3 (GH-27508) (#27510) Addressing issues with tests under error on warnings. Automerge-Triggered-By: GH:jaraco (cherry picked from commit 1cf8424a62db38a041d421a46618e025bbb87f89) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 01 August 2021, 03:01:38 UTC
35035bc bpo-34013: Don't consider a grouped expression when reporting legacy print syntax errors (GH-27521) (cherry picked from commit 208a7e957b812ad3b3733791845447677a704f3e) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 01 August 2021, 01:31:44 UTC
76903ff bpo-44794: Merge tests for typing.Callable and collection.abc.Callable (GH-27507) (cherry picked from commit be4cb9089aaf58d5f90da5f9fa66dc3c6763b5a2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 31 July 2021, 17:25:22 UTC
12073fc Trivial typo in docstring (#27504) (cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es> 31 July 2021, 05:04:45 UTC
f468ede bpo-44648: Fix error type in inspect.getsource() in interactive session (GH-27171) (GH-27495) (cherry picked from commit 48a62559dfaf775e4f1cc56b19379c799e8e2587) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 30 July 2021, 17:46:42 UTC
440c9f7 bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) (GH-27494) (cherry picked from commit ceea579ccc51791f3e115155d6f27905bc7544a9) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 30 July 2021, 17:30:09 UTC
6f95002 bpo-42892: fix email multipart attribute error (GH-26903) (GH-27492) (cherry picked from commit e3f877c32d7cccb734f45310f26beeec793364ce) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 30 July 2021, 17:27:06 UTC
843b3d2 bpo-41911: Update docs for various expressions (GH-27470) (GH-27490) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 4bd9caafb64589288e5171087070bde726178c58) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 30 July 2021, 17:25:45 UTC
0db6c14 bpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27488) When sys.stdout.encoding is None compile_file will fall back to sys.getdefaultencoding to encode/decode error messages. Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de> Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr> (cherry picked from commit 80f07076294bc09a55ed76d9bbf307404eef25e6) 30 July 2021, 17:12:05 UTC
6e6dc25 bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27487) (cherry picked from commit 6ff890380971752299325bd28eab80ec936975cf) 30 July 2021, 16:20:59 UTC
c2e0b13 [3.10] Fail the CI if an optional module fails to compile (GH-27466). (GH-27481) (cherry picked from commit 7cad0bee80a536c7e47f54cf43174175834f30a0) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 30 July 2021, 15:14:28 UTC
f7f1c26 Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net> 30 July 2021, 14:25:28 UTC
6ca35f2 Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479) (cherry picked from commit f4367ba3c533fc2dc9e32aa431d674f715b911f2) Co-authored-by: Ori Avtalion <ori@avtalion.name> 30 July 2021, 14:16:46 UTC
56122b0 bpo-44761: Change default value of NewType __module__ attr (GH-27406) (GH-27477) (cherry picked from commit 7b975f81e4dba70a42c6279539a7fcfe4211b4c0) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 30 July 2021, 13:48:01 UTC
0cb470e [3.10] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431). (GH-27472) (cherry picked from commit 7e311e496b0e26b3d3c62fe9b0ed2a4677c37ee9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 30 July 2021, 12:01:22 UTC
4729976 bpo-44662: Add ability to annotate types.Union (GH-27214) (GH-27461) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 8182c8329c709f42218a8a17d81639ece5b7b627) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 30 July 2021, 09:31:54 UTC
0b984d1 bpo-44479: Do not regenerate files during a PGO build as it will invalidate the profile. (GH-27462) Also remove some unused code that should not have been backported. 29 July 2021, 22:18:17 UTC
9d7511c Add missing gdbm dependencies to the UNIX CI (GH-27467) (cherry picked from commit 851cca8c22795a2f143ad5ebc10adab3c7784ad0) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 29 July 2021, 22:01:07 UTC
1256279 Fix typo in ast.rst (GH-27449) (GH-27454) Co-authored-by: HaeckelK <haeckelk.github@gmail.com> (cherry picked from commit 6b61d74a3bab43a44fa47b1facd1bec3d74e12b1) Co-authored-by: HaeckelK <51128712+HaeckelK@users.noreply.github.com> 29 July 2021, 17:38:28 UTC
a438b37 To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240) (GH-27452) (cherry picked from commit 9101b39e67c2437e88c0ad6b57aafd48ab08d431) Co-authored-by: Hai Shi <shihai1992@gmail.com> 29 July 2021, 17:27:24 UTC
86545bd bpo-44765: [doc] fix typo (GH-27430) (GH-27450) (cherry picked from commit ccefa8a905c797e4a60078d5e1de846f929c6928) Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com> 29 July 2021, 17:22:57 UTC
f8e13e3 bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433) (GH-27447) (cherry picked from commit 6741794dd420c6b9775a188690dbf265037cd69f) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 29 July 2021, 15:44:42 UTC
ebba286 bpo-32280: Store _PyRuntime in a named section (GH-4802) (#27448) This commit stores the _PyRuntime structure in a section of the same name. This allows a debugging or crash reporting tool to quickly locate this structure at runtime without requiring the symbol table. Co-authored-by: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit 35002aa8f62dda1f79035e9904abdf476683e9be) Co-authored-by: Max Bélanger <aeromax@gmail.com> Co-authored-by: Max Bélanger <aeromax@gmail.com> 29 July 2021, 15:20:58 UTC
d20f109 bpo-44752: Make rlcompleter not call `@property` methods (GH-27401) (GH-27444) * rlcompleter was calling these methods to identify whether to add parenthesis to the completion, based on if the attribute is callable. * for property objects, completion with parenthesis are never desirable. * property methods with print statements behaved very strangely, which was especially unfriendly to language newcomers. <tab> could suddenly produce output unexpectedly. (cherry picked from commit 50de8f74f8e92b20e76438c22b6a8f91afd6df75) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 29 July 2021, 12:07:00 UTC
761c641 bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH-27442) (cherry picked from commit e5c8ddb1714fb51ab1defa24352c98e0f01205dc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 July 2021, 12:05:30 UTC
6b922da bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441) Revert "bpo-41103: Remove old buffer protocol support (GH-21117)" This reverts commit 6f8a6ee59cb7f99f68df8ee9c3e8c8cf19af3eed. (cherry picked from commit ce5e1a6809b714eb0383219190a076d9f883e008) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 29 July 2021, 11:31:42 UTC
b5bdc0c bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27439) (cherry picked from commit 47fd4726a2ce8599cc397ddeae40f70eb471e868) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 29 July 2021, 09:31:02 UTC
405f5c5 [3.10] bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432) (GH-27435) (cherry picked from commit 8d0647485db5af2a0f0929d6509479ca45f1281b) Co-authored-by: Brandt Bucher <brandt@python.org> Automerge-Triggered-By: GH:brandtbucher 29 July 2021, 01:02:14 UTC
bccb7b9 bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl (GH-19501) (cherry picked from commit 92b5dc780db968f6277f42cb06926dddb7475dc6) Co-authored-by: Ray Donnelly <mingw.android@gmail.com> 28 July 2021, 20:18:01 UTC
369d148 bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27426) (cherry picked from commit cb1d76f10ab33dddd0dbd64e6506bf7c065d499b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 28 July 2021, 17:30:58 UTC
97af790 bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27424) (cherry picked from commit c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 28 July 2021, 17:29:25 UTC
8789add bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) (GH-27421) `pathlib.PureWindowsPath.is_reserved()` now identifies as reserved filenames with trailing spaces or colons. Co-authored-by: Barney Gale <barney.gale@foundry.com> Co-authored-by: Eryk Sun <eryksun@gmail.com> (cherry picked from commit 56c1f6d7edad454f382d3ecb8cdcff24ac898a50) 28 July 2021, 15:01:47 UTC
a90a57e Fix typo in sqlite3.rst (GH-27415) (GH-27417) preceeding -> preceding (cherry picked from commit fbe87023bf33e941373a5fca023652a825db7baf) Co-authored-by: Ikko Ashimine <eltociear@gmail.com> 28 July 2021, 14:33:26 UTC
c75b594 Add missing end of sentence in docs (GH-27280) (GH-27419) (cherry picked from commit 531e2fbc52ce07a9cf37e0db05a5337e404dfccd) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> 28 July 2021, 14:32:38 UTC
5eabf24 Change type check to isinstance in pipes (GH-27291) (GH-27416) (cherry picked from commit 9ffbb899462b819864f777d0228fb8f1bb89b018) Co-authored-by: Anton Grübel <anton.gruebel@gmail.com> 28 July 2021, 14:08:51 UTC
0993837 Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27412) (cherry picked from commit 2ff5bb4908975976031ba738866de619cafadc4d) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> 28 July 2021, 13:56:17 UTC
f113195 bpo-44756: in ./Doc, `make build` depends on `make html` (GH-27403) (GH-27410) - venv rule is now conditional, and only does anything if $VENVDIR does not exist - add rule "clean-venv" (cherry picked from commit d22c876d5ac5fa464337d2e82654b8d87a83cb1b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 28 July 2021, 13:35:18 UTC
c558e12 bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION (GH-27202) (cherry picked from commit ddf8ae31a0f371eff2db14c7f7a45976b86d56ea) Co-authored-by: Dong-hee Na <donghee.na@python.org> 28 July 2021, 13:29:17 UTC
684eb5c [3.10] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227) (GH-27399) Automerge-Triggered-By: GH:jaraco 28 July 2021, 13:04:38 UTC
5502ee0 bpo-44600: Refactor new tracing tests (GH-27396) (GH-27404) (cherry picked from commit 38ddc8beb38d9a685de296a58b0741850e4853e5) Co-authored-by: Brandt Bucher <brandt@python.org> 28 July 2021, 12:38:39 UTC
68e3dca bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392) (cherry picked from commit ecc3c8e4216958d85385bf2467441c975128f26c) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 27 July 2021, 21:19:18 UTC
b977f85 [3.10] bpo-34013: Generalize the invalid legacy statement error message (GH-27389). (GH-27391) (cherry picked from commit 6948964ecf94e858448dd28eea634317226d2913) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 27 July 2021, 17:52:32 UTC
be24154 bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) (#27386) Follow up to 11749e2dc20ad6a76e9a39e948853e89b2b4bbed (cherry picked from commit 2e41df4d60d71a2551b9605d07321f75cfb52adf) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> 27 July 2021, 09:20:11 UTC
1557cff [doc] Fix typo in asyncio Event Loop (GH-27377) First Pull Request to cpython, so forgive me for any mistakes Automerge-Triggered-By: GH:Mariatta (cherry picked from commit 6fa4060b86a116dc4fb69356795faf6ff1cdde58) Co-authored-by: Vinicius Gubiani Ferreira <vini.g.fer@gmail.com> 27 July 2021, 04:07:30 UTC
b631d8d Add windows build.bat counterpart for 'make regen-all' in error message (GH-26770) (cherry picked from commit d61b69f02d441ae517109a4428f2a18416c9ff0f) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> 27 July 2021, 03:27:48 UTC
6fc1efa bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> 26 July 2021, 22:34:32 UTC
0ea5e0d bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910) (GH-27379) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit a2c45e5bcf9d3dfff9f2699dbc161489897616b5) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 26 July 2021, 21:21:36 UTC
3dc88ff docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27374) "Mac OS X" has been rebranded as macOS https://www.apple.com/macos (cherry picked from commit 5fdd2a14ce3f81a7db47bb79421c426dec4b25bd) Co-authored-by: partev <petrosyan@gmail.com> 26 July 2021, 20:22:26 UTC
5151826 The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27371) the implementation uses [] and will raise KeyError instead. Noticed by @srittau in python/typeshed@5659. (cherry picked from commit f22737abfa07605f4ed1a99cfa97a26520b6c5c2) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 26 July 2021, 19:35:33 UTC
563e057 bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27369) (cherry picked from commit c97c2a050cf753003012ae3f08e035326b8f6167) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 July 2021, 19:32:36 UTC
4a5457d bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) (GH-27368) (cherry picked from commit 6c1b57d958e2b0d5bcf0f2315b5044838e11638f) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 26 July 2021, 19:32:05 UTC
256d97c bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (#27366) (cherry picked from commit 1d582bbc969e05896addf97844ddf17ce9830e5e) Co-authored-by: T. Wouters <thomas@python.org> 26 July 2021, 19:29:52 UTC
8a37e8c bpo-44732: Rename types.Union to types.UnionType (GH-27342) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 2b8ad9e6c5f0a66e9ca2d15f85336d8a3eefefb0) Co-authored-by: Hasan <hasan.aleeyev@gmail.com> 26 July 2021, 19:02:58 UTC
16a174f bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27361) (cherry picked from commit 3f135c073a53793ec68902f6b513934ddff47235) Co-authored-by: Logan Jones <loganasherjones@gmail.com> 26 July 2021, 15:55:50 UTC
642d873 bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27357) Replace sentence with confusing "pseudo-module" with two sentences separating future statements and the __future__ module. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 0363a4014d90df17a29042de008ef0b659f92505) Co-authored-by: Steven Hsu <hsuhaochun@gmail.com> Co-authored-by: Steven Hsu <hsuhaochun@gmail.com> 26 July 2021, 01:40:08 UTC
01601aa [3.10] bpo-44600: Fix line numbers for pattern matching cleanup code (GH-27346) (GH-27356) (cherry picked from commit 4214f470f0cb9b6fef9a90758756fbc00ba95b5a) Co-authored-by: Charles Burkland <charles.aburkland@gmail.com> Automerge-Triggered-By: GH:brandtbucher 26 July 2021, 00:04:06 UTC
628baf6 [3.10] bpo-44399: Update logging cookbook to document patterns to be avoided. (GH-27348) (GH-27352) (cherry picked from commit 9751f85914e0ef3324671a91da34a635d48b17fb) 25 July 2021, 19:31:54 UTC
59058a6 [3.10] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27355) (cherry picked from commit 50b72768ffe6413424dc4eba916dd1ff89a2fe7b) 25 July 2021, 19:30:50 UTC
0aea99e bpo-44676: Serialize the union type using only public API (GH-27323) (GH-27340) Remove also the _from_args() constructor. (cherry picked from commit 435a0334d341e5f8faed594d9f015746bb7845db) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 July 2021, 19:35:33 UTC
ca5a4cf bpo-44731: Simplify the union type implementation (GH-27318) (GH-27334) Remove direct support of typing types in the C code because they are already supported by defining methods __or__ and __ror__ in the Python code. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 July 2021, 14:49:25 UTC
9356d1e [3.10] bpo-44676: Add ability to serialize types.Union (GH-27244) (GH-27333) (cherry picked from commit fe13f0b0f696464dd6f283576668dbf57cb11399) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 24 July 2021, 14:08:53 UTC
e8c0174 bpo-44353: Improve tests covering typing.NewType pickling (GH-27302) (GH-27328) (cherry picked from commit a22b05da87bdfb081d6aaecfce136ae8dbb8680c) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 24 July 2021, 10:29:19 UTC
05f5d8e [3.10] bpo-44353: Expand NewType tests for complex __qualname__ (GH-27311) (GH-27326) Make NewType pickleable by name. (cherry picked from commit e89ef0ad2a299770a88ece8f7a316f7d3eb65c9f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 24 July 2021, 10:07:56 UTC
45caee2 bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (GH-27298) This fixes a small typo. The code fragment should not be quoted. Thank you @merwok for the feedback. (cherry picked from commit 7d25254cf0763b62f4c4a3019e56385cab597b9f) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 24 July 2021, 09:59:22 UTC
659030c bpo-44720: Don't crash when calling weakref.proxy(not_an_iterator).__next__ (GH-27316) (GH-27324) (cherry picked from commit 5370f0a82aaa4ba617070d5c71d2b18236096ac0) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> 24 July 2021, 09:45:13 UTC
d15949a bpo-44353: Document that typing.NewType is now a class (GH-27319) (GH-27321) (cherry picked from commit 7aac3f623610cf3dffbf548a5be5bfd4fa6790a0) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> 24 July 2021, 09:31:33 UTC
5ec2757 bpo-42854: Correctly use size_t for _ssl._SSLSocket.read and _ssl._SSLSocket.write (GH-27271) (GH-27308) (cherry picked from commit 83d1430ee5b8008631e7f2a75447e740eed065c1) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 23 July 2021, 15:25:54 UTC
632e8a6 bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260) (GH-27306) * Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG The field is always present in the type struct, as explained in the added comment. * Remove Py_TPFLAGS_HAVE_AM_SEND The flag is not needed, and since it was added in 3.10 it can be removed now. (cherry picked from commit a4760cc32d9e5dac7be262e9736eb30502cd7be3) Co-authored-by: Petr Viktorin <encukou@gmail.com> 23 July 2021, 14:56:53 UTC
c589992 bpo-29298: Fix crash with required subparsers without dest (GH-3680) (GH-27303) (cherry picked from commit 17575f73ce2cb9f3a4eb4cc416c690f9a4e7205c) Co-authored-by: Anthony Sottile <asottile@umich.edu> 23 July 2021, 13:27:05 UTC
21db59f bpo-44653: Support typing types in parameter substitution in the union type. (GH-27247) (#27296) (cherry picked from commit 2e3744d50b6e30ea24351e55b4352dcc58fd469e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 22 July 2021, 22:18:49 UTC
9608719 bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27290) * Move to a static argparse.Namespace subclass * Roughly annotate runtest.py * Refactor libregrtest to use lossless test result objects * Only re-run test methods that match names of previously failing test methods * Adopt tests to cover test method name matching Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> (cherry picked from commit f1afef5e0d93d66fbf3c9aaeab8b3b8da9617583) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 22 July 2021, 20:30:44 UTC
d0c6175 bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., shell=True) (GH-26755) (GH-27288) (cherry picked from commit 50ffbe3dafcae7826d114df61d56c7ac45a6358c) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> 22 July 2021, 18:25:57 UTC
0fb4b75 Fix typo in collections.rst (GH-27270) (#27285) 22 July 2021, 08:38:22 UTC
4194f14 bpo-44704: Make Set._hash consistent with frozenset.__hash__ (GH-27281) (GH-27282) 22 July 2021, 00:23:21 UTC
d17449f bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27274) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 64f54b7ccd49764b0304e076bfd79b5482988f53) Co-authored-by: andrei kulakov <andrei.avk@gmail.com> 21 July 2021, 08:55:22 UTC
68b4690 bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024) (#27266) (cherry picked from commit 7f1c330da31c54e028dceaf3610877914c2a4497) Co-authored-by: Thomas Grainger <tagrain@gmail.com> 20 July 2021, 19:12:47 UTC
574da46 [3.10] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27268) (cherry picked from commit 6564656495d456a1bcc1aaa06abfc696209f37b2) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> Automerge-Triggered-By: GH:gpshead 20 July 2021, 18:53:31 UTC
416f418 Update macOS build-installer script comments for 3.10 and remove unused pre-10.5 vestiges. (GH-27253) (cherry picked from commit 42205ee512159de62c01e202ff799d78fac9ac26) Co-authored-by: Ned Deily <nad@python.org> 20 July 2021, 17:30:29 UTC
9ae5ba7 bpo-44353: Add test to cover __or__ of two NewType (GH-27259) (#27261) (cherry picked from commit 4868b94c6089d457673b1ba5b5b64c2f38c435af) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 20 July 2021, 16:06:38 UTC
c2f33df bpo-44353: Refactor typing.NewType into callable class (GH-27250) (#27258) (cherry picked from commit 965dd76e9060e27e2253ba8c8d21a142b178720d) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 20 July 2021, 15:24:57 UTC
c895f2b bpo-44524: Add missed __name__ and __qualname__ to typing module objects (GH-27237) (#27246) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit bce1418541a64a793960182772f985f64afbfa1a) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 19 July 2021, 17:57:27 UTC
8c43bf1 bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (GH-27242) getaddresses() should be able to handle a Header object if passed one. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 July 2021, 16:54:45 UTC
2d04920 Clean up comma usage in Doc/library/functions.rst (GH-27083) (#27243) (cherry picked from commit 1e651c6adad8e4e772a15eaa9ee659b1283a96d9) Co-authored-by: α∂мιηιχтяαтσя <sadiqherritage@gmail.com> 19 July 2021, 16:38:56 UTC
a272164 bpo-44490: Improve typing module compatibility with types.Union (GH-27048) (#27222) (cherry picked from commit bf89ff96e6ba21bb52b8597b5e51e8ffc57e6589) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com> 19 July 2021, 14:22:59 UTC
37bdd22 bpo-44645: Check for interrupts on any potentially backwards edge (GH-27216) (GH-27235) (cherry picked from commit d09c13417890427f829e3df297beb0e27133f8f4) Co-authored-by: Mark Shannon <mark@hotpy.org> 19 July 2021, 11:15:58 UTC
bce2847 [3.10] bpo-44561: Update hyperlinks in Doc/distributing/index.rst (GH-27032) (GH-27234) * Update hyperlinks in Doc/distributing/index.rst Update three expired hyperlinks. Closes [bpo-44561](). (cherry picked from commit b494685b2548489efcc66993cc6c13b027ce3b26) Co-authored-by: Steven Hsu <hsuhaochun@gmail.com> Automerge-Triggered-By: GH:ncoghlan 19 July 2021, 00:34:44 UTC
back to top