summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-44753: Don't use logfile extension when determining old files to be ↵Miss Islington (bot)2021-07-301-1/+2
| | | | | deleted (GH-27475) (GH-27487) (cherry picked from commit 6ff890380971752299325bd28eab80ec936975cf)
* [3.10] Fail the CI if an optional module fails to compile (GH-27466). (GH-27481)Pablo Galindo Salgado2021-07-305-7746/+5002
| | | | | (cherry picked from commit 7cad0bee80a536c7e47f54cf43174175834f30a0) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)Miss Islington (bot)2021-07-3039-58/+58
| | | | | (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
* Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479)Miss Islington (bot)2021-07-301-2/+2
| | | | | (cherry picked from commit f4367ba3c533fc2dc9e32aa431d674f715b911f2) Co-authored-by: Ori Avtalion <ori@avtalion.name>
* bpo-44761: Change default value of NewType __module__ attr (GH-27406) (GH-27477)Miss Islington (bot)2021-07-302-4/+12
| | | | | (cherry picked from commit 7b975f81e4dba70a42c6279539a7fcfe4211b4c0) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
* [3.10] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised ↵Erlend Egeberg Aasland2021-07-302-7/+43
| | | | | | | (GH-27431). (GH-27472) (cherry picked from commit 7e311e496b0e26b3d3c62fe9b0ed2a4677c37ee9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44662: Add ability to annotate types.Union (GH-27214) (GH-27461)Miss Islington (bot)2021-07-303-1/+36
| | | | | | 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>
* bpo-44479: Do not regenerate files during a PGO build as it will invalidate ↵Steve Dower2021-07-291-6/+6
| | | | | the profile. (GH-27462) Also remove some unused code that should not have been backported.
* Add missing gdbm dependencies to the UNIX CI (GH-27467)Miss Islington (bot)2021-07-291-0/+1
| | | | | (cherry picked from commit 851cca8c22795a2f143ad5ebc10adab3c7784ad0) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Fix typo in ast.rst (GH-27449) (GH-27454)Miss Islington (bot)2021-07-291-1/+1
| | | | | | Co-authored-by: HaeckelK <haeckelk.github@gmail.com> (cherry picked from commit 6b61d74a3bab43a44fa47b1facd1bec3d74e12b1) Co-authored-by: HaeckelK <51128712+HaeckelK@users.noreply.github.com>
* To fix the random failed test cases of test___xxsubinterpreters in ↵Miss Islington (bot)2021-07-291-0/+15
| | | | | | | multiprocess. (GH-27240) (GH-27452) (cherry picked from commit 9101b39e67c2437e88c0ad6b57aafd48ab08d431) Co-authored-by: Hai Shi <shihai1992@gmail.com>
* bpo-44765: [doc] fix typo (GH-27430) (GH-27450)Miss Islington (bot)2021-07-291-1/+1
| | | | | (cherry picked from commit ccefa8a905c797e4a60078d5e1de846f929c6928) Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
* bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433) ↵Miss Islington (bot)2021-07-291-6/+3
| | | | | | | (GH-27447) (cherry picked from commit 6741794dd420c6b9775a188690dbf265037cd69f) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-32280: Store _PyRuntime in a named section (GH-4802) (#27448)Miss Islington (bot)2021-07-291-2/+28
| | | | | | | | | | 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>
* bpo-44752: Make rlcompleter not call `@property` methods (GH-27401) (GH-27444)Miss Islington (bot)2021-07-293-4/+40
| | | | | | | | | | | * 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>
* bpo-44707: Fix an undefined behavior of the null pointer arithmetic ↵Miss Islington (bot)2021-07-291-2/+9
| | | | | | | (GH-27292) (GH-27442) (cherry picked from commit e5c8ddb1714fb51ab1defa24352c98e0f01205dc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-41103: Resurrect the old buffer protocol. (GH-27437) (GH-27441)Miss Islington (bot)2021-07-2910-5/+221
| | | | | | | | 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>
* bpo-43565: Document PyUnicode_KIND's return type as an unsigned int ↵Miss Islington (bot)2021-07-291-1/+1
| | | | | | | (GH-25724) (GH-27439) (cherry picked from commit 47fd4726a2ce8599cc397ddeae40f70eb471e868) Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
* [3.10] bpo-43897: Reject "_" captures and top-level MatchStar in the AST ↵Miss Islington (bot)2021-07-292-21/+33
| | | | | | | | | | validator (GH-27432) (GH-27435) (cherry picked from commit 8d0647485db5af2a0f0929d6509479ca45f1281b) Co-authored-by: Brandt Bucher <brandt@python.org> Automerge-Triggered-By: GH:brandtbucher
* bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl ↵Miss Islington (bot)2021-07-282-1/+4
| | | | | | | (GH-19501) (cherry picked from commit 92b5dc780db968f6277f42cb06926dddb7475dc6) Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
* bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) ↵Miss Islington (bot)2021-07-281-1/+1
| | | | | | | (GH-27426) (cherry picked from commit cb1d76f10ab33dddd0dbd64e6506bf7c065d499b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27424)Miss Islington (bot)2021-07-282-4/+18
| | | | | (cherry picked from commit c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-27827: identify a greater range of reserved filename on Windows. ↵Miss Islington (bot)2021-07-283-19/+47
| | | | | | | | | | (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)
* Fix typo in sqlite3.rst (GH-27415) (GH-27417)Miss Islington (bot)2021-07-281-1/+1
| | | | | | preceeding -> preceding (cherry picked from commit fbe87023bf33e941373a5fca023652a825db7baf) Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
* Add missing end of sentence in docs (GH-27280) (GH-27419)Miss Islington (bot)2021-07-281-1/+1
| | | | | (cherry picked from commit 531e2fbc52ce07a9cf37e0db05a5337e404dfccd) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
* Change type check to isinstance in pipes (GH-27291) (GH-27416)Miss Islington (bot)2021-07-281-2/+2
| | | | | (cherry picked from commit 9ffbb899462b819864f777d0228fb8f1bb89b018) Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
* Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27412)Miss Islington (bot)2021-07-281-1/+1
| | | | | (cherry picked from commit 2ff5bb4908975976031ba738866de619cafadc4d) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
* bpo-44756: in ./Doc, `make build` depends on `make html` (GH-27403) (GH-27410)Miss Islington (bot)2021-07-283-20/+29
| | | | | | | - 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>
* bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION ↵Miss Islington (bot)2021-07-281-1/+1
| | | | | | | (GH-27202) (cherry picked from commit ddf8ae31a0f371eff2db14c7f7a45976b86d56ea) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.10] bpo-44461: Check early that a pdb target is valid for execution. ↵Jason R. Coombs2021-07-283-0/+23
| | | | | (GH-27227) (GH-27399) Automerge-Triggered-By: GH:jaraco
* bpo-44600: Refactor new tracing tests (GH-27396) (GH-27404)Miss Islington (bot)2021-07-281-67/+74
| | | | | (cherry picked from commit 38ddc8beb38d9a685de296a58b0741850e4853e5) Co-authored-by: Brandt Bucher <brandt@python.org>
* bpo-34013: Move the Python 2 hints from the exception constructor to the ↵Miss Islington (bot)2021-07-275-224/+28
| | | | | | | parser (GH-27392) (cherry picked from commit ecc3c8e4216958d85385bf2467441c975128f26c) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.10] bpo-34013: Generalize the invalid legacy statement error message ↵Pablo Galindo Salgado2021-07-277-246/+339
| | | | | | | (GH-27389). (GH-27391) (cherry picked from commit 6948964ecf94e858448dd28eea634317226d2913) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) ↵Miss Islington (bot)2021-07-274-4/+4
| | | | | | | | (#27386) Follow up to 11749e2dc20ad6a76e9a39e948853e89b2b4bbed (cherry picked from commit 2e41df4d60d71a2551b9605d07321f75cfb52adf) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* [doc] Fix typo in asyncio Event Loop (GH-27377)Miss Islington (bot)2021-07-271-1/+1
| | | | | | | | 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>
* Add windows build.bat counterpart for 'make regen-all' in error message ↵Miss Islington (bot)2021-07-271-1/+1
| | | | | | | (GH-26770) (cherry picked from commit d61b69f02d441ae517109a4428f2a18416c9ff0f) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) ↵Miss Islington (bot)2021-07-2661-107/+109
| | | | | | | | (GH-27380) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910) (GH-27379)Miss Islington (bot)2021-07-263-6/+13
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit a2c45e5bcf9d3dfff9f2699dbc161489897616b5) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
* docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27374)Miss Islington (bot)2021-07-261-6/+6
| | | | | | | | "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>
* The current documentation says it returns None if the name is not found, but ↵Miss Islington (bot)2021-07-262-1/+2
| | | | | | | | | | (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>
* bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) ↵Miss Islington (bot)2021-07-261-1/+2
| | | | | | | (GH-27369) (cherry picked from commit c97c2a050cf753003012ae3f08e035326b8f6167) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215) ↵Miss Islington (bot)2021-07-261-1/+2
| | | | | | | (GH-27368) (cherry picked from commit 6c1b57d958e2b0d5bcf0f2315b5044838e11638f) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
* bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) ↵Miss Islington (bot)2021-07-263-8/+37
| | | | | | | (#27366) (cherry picked from commit 1d582bbc969e05896addf97844ddf17ce9830e5e) Co-authored-by: T. Wouters <thomas@python.org>
* bpo-44732: Rename types.Union to types.UnionType (GH-27342)Miss Islington (bot)2021-07-267-22/+22
| | | | | | | 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>
* bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27361)Miss Islington (bot)2021-07-262-11/+4
| | | | | (cherry picked from commit 3f135c073a53793ec68902f6b513934ddff47235) Co-authored-by: Logan Jones <loganasherjones@gmail.com>
* bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27357)Miss Islington (bot)2021-07-262-6/+9
| | | | | | | | | | | 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>
* [3.10] bpo-44600: Fix line numbers for pattern matching cleanup code ↵Miss Islington (bot)2021-07-263-4/+89
| | | | | | | | | | (GH-27346) (GH-27356) (cherry picked from commit 4214f470f0cb9b6fef9a90758756fbc00ba95b5a) Co-authored-by: Charles Burkland <charles.aburkland@gmail.com> Automerge-Triggered-By: GH:brandtbucher
* [3.10] bpo-44399: Update logging cookbook to document patterns to be ↵Miss Islington (bot)2021-07-251-0/+79
| | | | | avoided. (GH-27348) (GH-27352) (cherry picked from commit 9751f85914e0ef3324671a91da34a635d48b17fb)
* [3.10] bpo-43184: Add information about added attribute and method. ↵Miss Islington (bot)2021-07-251-0/+4
| | | | | (GH-27347) (GH-27355) (cherry picked from commit 50b72768ffe6413424dc4eba916dd1ff89a2fe7b)
* bpo-44676: Serialize the union type using only public API (GH-27323) (GH-27340)Miss Islington (bot)2021-07-244-80/+23
| | | | | | | Remove also the _from_args() constructor. (cherry picked from commit 435a0334d341e5f8faed594d9f015746bb7845db) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>