summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45419: Correct interfaces on DegenerateFiles.Path.bpo-45419Jason R. Coombs2021-10-092-1/+3
|
* bpo-45353: Remind sys.modules users to copy when iterating. (GH-28842)Miss Islington (bot)2021-10-091-1/+5
| | | | | | | | | | | This is true of all dictionaries in Python, but this one tends to catch people off guard as they don't realize when sys.modules might change out from underneath them as a hidden side effect of their code. Copying it first avoids the RuntimeError. An example when this happens in single threaded code are codecs being loaded which are an implicit time of use import that most need not think about. (cherry picked from commit 3d1ca867ed0e3ae343166806f8ddd9739e568ab4) Co-authored-by: Gregory P. Smith <greg@krypto.org>
* Fix dataclassses spelling (GH-28837) (GH-28841)Miss Islington (bot)2021-10-093-3/+3
| | | | | | | (cherry picked from commit 5b4a7675bcfc6368aff955f4a6231579718f5dad) Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com> Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
* [3.10] bpo-20028: Keep original exception when PyUnicode_GetLength return -1 ↵Dong-hee Na2021-10-101-0/+6
| | | | (GH-28832) (GH-28834)
* bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705)Miss Islington (bot)2021-10-093-9/+70
| | | | | (cherry picked from commit 34bbc87b2ddbaf245fbed6443c3e620f80c6a843) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-45262, asyncio: Fix cache of the running loop holder (GH-28796) (GH-28816)Miss Islington (bot)2021-10-082-0/+4
| | | | | | Prevent use-after-free of running loop holder via cache. (cherry picked from commit 392a89835371baa0fc4bf79ae479abb80661f57d) Co-authored-by: Matthias Reichl <github@hias.horus.com>
* [3.10] bpo-45408: Don't override previous tokenizer errors in the second ↵Pablo Galindo Salgado2021-10-084-2/+15
| | | | | | | parser pass (GH-28812). (GH-28813) (cherry picked from commit 0219017df7ec41839fd0d56a3076b5f09c58d313) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-45337: Use the realpath of the new executable when creating a venv on ↵Miss Islington (bot)2021-10-073-9/+29
| | | | | | | Windows (GH-28663) (cherry picked from commit 6811fdaec825bd6ab64e358a4b480108f5634d2d) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.10] Remove draft notice on the 3.10 What's new document (GH-28806) (GH-28807)Miss Islington (bot)2021-10-071-7/+0
| | | | | | | Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 32485cecab0111a858055b7a60df3b9903b162e3) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)Christian Clauss2021-10-0762-79/+79
| | | | | | | | Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be) Co-authored-by: Christian Clauss <cclauss@me.com>
* [3.10] Fix typos in the Tools directory (GH-28769) (GH-28801)Christian Clauss2021-10-0715-24/+24
| | | | | | | | Like GH-28744 but for the Tools directory. Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 682aecfdeba481c876bfc9f3796c635bd5b5df50) Co-authored-by: Christian Clauss <cclauss@me.com>
* [3.10] Fix typos in the Python directory (GH-28767) (GH-28799)Christian Clauss2021-10-076-8/+8
| | | (cherry picked from commit db693df3e112c5a61f2cbef63eedce3a36520ded)
* [3.10] [Misc] [Mac] Fix typos found using codespell (GH-28756) (GH-28794)Christian Clauss2021-10-0716-32/+32
| | | (cherry picked from commit 470145f572b53fe73518cda1eeacc56fec78c1b2)
* [3.10] Fix typos in the Objects directory (GH-28766) (GH-28797)Christian Clauss2021-10-078-9/+9
| | | | | (cherry picked from commit 5f401f10400123afa9171548c432ea3fc37c0736) Automerge-Triggered-By: GH:JulienPalard
* [3.10] Fix typos in the Include directory (GH-28745) (GH-28789)Christian Clauss2021-10-076-7/+7
| | | (cherry picked from commit 8e8f7522171ef82f2f5049940f815e00e38c6f42)
* bpo-45400: Fix suggestion test of test_exceptions (GH-28783)Miss Islington (bot)2021-10-072-1/+4
| | | | | | | | Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals() of test_exceptions if a directory name contains "a1" (like "Python-3.11.0a1"): use a stricter regular expression. (cherry picked from commit 4e605666b08b8f863cbbbdaa34bb06988e648d26) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.10] Fix typo in whatsnew 3.10.rst (GH-26854) (GH-28782)Miss Islington (bot)2021-10-071-1/+1
| | | | | | | | | Thanks for the fix @wiggin15 . (cherry picked from commit 599c07006a636b0a6904008534118a9ba3daf726) Co-authored-by: Arnon Yaari <wiggin15@yahoo.com> Automerge-Triggered-By: GH:JulienPalard
* [3.10] Fix typos in the Modules directory (GH-28761) (GH-28781)Miss Islington (bot)2021-10-0719-21/+21
| | | | | | | | (cherry picked from commit dd02a696e55b450413e765e698e653d781ca4205) Co-authored-by: Christian Clauss <cclauss@me.com> Automerge-Triggered-By: GH:gpshead
* bpo-45385: Fix reference leak from descr_check (GH-28719) (GH-28779)Miss Islington (bot)2021-10-072-39/+38
|
* [doc] Mention __slots__ behavior in weakref.rst (GH-21061) (GH-28772)Miss Islington (bot)2021-10-061-0/+4
| | | | | | | | | | | | It took me longer than I expected to figure out why a random class I dealt with didn't support weak references. I believe this addition will make the __slots__/weakref interaction more discoverable to people having troubles with this. (Before this patch __slots__ was not mentioned in weakref documentation even once). Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit b24b47e64355224c1bf4e46ed7c4d9f7df4e6f09) Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
* bpo-45328: Avoid failure in OSs without TCP_NODELAY support (GH-28646) ↵Miss Islington (bot)2021-10-062-1/+8
| | | | | | | | | (GH-28771) Operating systems without support for TCP_NODELAY will raise an OSError when trying to set the socket option, but the show can still go on. (cherry picked from commit 0571b934f5f9198c3461a7b631d7073ac0a5676f) Co-authored-by: rtobar <rtobarc@gmail.com>
* bpo-34804: [doc] Rephrase section on side effects in functional.rst for ↵Miss Islington (bot)2021-10-061-5/+4
| | | | | | | | clarity (GH-27989) (GH-28762) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7af95a1e8097b2aab2cbe8de88727809e745b658) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* [3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758)Christian Clauss2021-10-0612-16/+16
|
* bpo-45343: Update bundled pip to 21.2.4 and setuptools to 58.1.0 (GH-28684) ↵Miss Islington (bot)2021-10-065-4/+5
| | | | | | | (GH-28746) (cherry picked from commit 4c8d543823dde5a30615da61727837a48f7ab847) Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
* sqlite3: Modernize documentation around unicode and bytes. (GH-28652) (GH-28694)Miss Islington (bot)2021-10-052-4/+4
| | | | | (cherry picked from commit 1dac95c814763eb8a53896ac4326d8d51895d43d) Co-authored-by: Julien Palard <julien@palard.fr>
* [doc] Fix gethostbyname_ex description (GH-28700) (GH-28742)Miss Islington (bot)2021-10-051-2/+2
| | | | | | It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't. (cherry picked from commit 4103280b83e1419bef535a42813d6dbe83bfe880) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-44050: Extension modules can share state when they don't support ↵Miss Islington (bot)2021-10-054-1/+59
| | | | | | | | sub-interpreters. (GH-27794) (GH-28738) Automerge-Triggered-By: GH:encukou (cherry picked from commit b9bb74871b27d9226df2dd3fce9d42bda8b43c2b) Co-authored-by: Hai Shi <shihai1992@gmail.com>
* bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712)Miss Islington (bot)2021-10-051-4/+7
| | | | | (cherry picked from commit de4052fe0633e3a053e66c8477f13677054d6ede) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
* [3.10] bpo-45371: Fix distutils' rpath support for clang (GH-28732) (GH-28733)Miss Islington (bot)2021-10-052-1/+5
| | | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit ef6196028f966f22d82930b66e1371e75c5df2f7) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* [3.10] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) ↵John Belmonte2021-10-044-4/+76
| | | | | | | | | | | | | | (GH-28730) Make enter_context(foo()) / enter_async_context(foo()) equivalent to `[async] with foo()` regarding __context__ when an exception is raised. Previously exceptions would be caught and re-raised with the wrong context when explicitly overriding __context__ with None.. (cherry picked from commit e6d1aa1ac65b6908fdea2c70ec3aa8c4f1dffcb5) Co-authored-by: John Belmonte <john@neggie.net> Automerge-Triggered-By: GH:njsmith
* Post 3.10.0Pablo Galindo2021-10-041-1/+1
|
* Merge tag 'v3.10.0' into 3.10Pablo Galindo2021-10-044-96/+166
|\ | | | | | | Python 3.10.0
| * Python 3.10.0v3.10.0Pablo Galindo2021-10-0415-597/+169
| |
| * bpo-45310: Fix parrallel shared memory tests (GH-28661)branch-v3.10.0Miss Islington (bot)2021-10-041-16/+24
| | | | | | | | | | | | | | | | Add a PID to names of POSIX shared memory objects to allow running multiprocessing tests (test_multiprocessing_fork, test_multiprocessing_spawn, etc) in parallel. (cherry picked from commit eb4495e8e275c83d691add116c4f2b74e73e3cc8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
| * hashlib: Fix old message about unicode objects. (GH-28653)Miss Islington (bot)2021-10-041-1/+1
| | | | | | | | | | | | (cherry picked from commit 9ce0f48e918860ffa32751a85b0fe7967723e2e3) Co-authored-by: Julien Palard <julien@palard.fr>
| * bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) ↵Miss Islington (bot)2021-10-041-0/+1
| | | | | | | | | | | | | | (GH-28616) (cherry picked from commit bc4cde40339dd372960f27401d8fdaa4dab0f469) Co-authored-by: zhanpon <pon.zhan@gmail.com>
| * bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" (GH-28687)Miss Islington (bot)2021-10-042-7/+7
| | | | | | | | | | | | pypi.org " The Python Package Index (PyPI) ... (cherry picked from commit 0be338199fd663f020d833a4db185d0c5a0e0078) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
| * bpo-45346: Keep docs consistent regarding true and false values (GH-28697) ↵Miss Islington (bot)2021-10-043-6/+6
| | | | | | | | (GH-28698)
| * [3.10] Remove trailing spaces (GH-28709)Serhiy Storchaka2021-10-0415-17/+17
| |
| * bpo-45350: Rerun autoreconf with the pkg-config macros (GH-28707)Pablo Galindo Salgado2021-10-043-5/+484
| |
| * bpo-45249: Ensure the traceback module prints correctly syntax errors with ↵Miss Islington (bot)2021-09-292-6/+34
| | | | | | | | | | | | | | ranges (GH-28575) (cherry picked from commit 20f439b6b9e1032930a31b88694ab9f37a09e6b4) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
| * bpo-45067 - Verify the version of ncurses for extended color support feature ↵Miss Islington (bot)2021-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | usage. (GH-28260) * issue45067 - Fix _curses compilation in CentOS 7. Verify the version of ncurses for extended color support feature usage. The function extended_color_content was introduced in 2017. The ncurses-devel package in CentOS 7 had a older version ncurses resulted in compilation error. For compiling ncurses with extended color support, we verify the version of the ncurses library. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 794430700defb913512f871b701a888aa730de81) Co-authored-by: Senthil Kumaran <senthil@python.org>
| * bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) (GH-28251)Miss Islington (bot)2021-09-293-1/+14
| | | | | | | | | | | | | | Update test_sysconfig.test_user_similar() for the posix_user scheme: "platlib" doesn't use sys.platlibdir. (cherry picked from commit 49acac00c08838d8080ce00d02c05284b94f8fb2) Co-authored-by: Victor Stinner <vstinner@python.org>
| * bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) (GH-28214)Miss Islington (bot)2021-09-291-4/+7
| | | | | | | | | | | | | | Fix regrtest second summary when using -w/--verbose2 command line option: lists re-run tests in the second test summary. (cherry picked from commit c4ea45d7d2c02674db2fdb96c7eee89324d2dc64) Co-authored-by: Victor Stinner <vstinner@python.org>
| * [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511)Łukasz Langa2021-09-2929-31/+38
| | | | | | | | | | | | | | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
| * [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) (GH-28433)Miss Islington (bot)2021-09-291-1/+2
| | | | | | | | | | | | | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 24dbe30f8df80740704db3743d071b3218d1276e) Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
| * bpo-42038: fix description of returned list of lines (GH-27529) (GH-28428)Miss Islington (bot)2021-09-291-6/+6
| | | | | | | | | | (cherry picked from commit aca0e08c5dcc11a8011697331931cde0b21270f2) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
| * [doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) ↵Miss Islington (bot)2021-09-291-1/+1
| | | | | | | | | | | | | | (GH-28425) (cherry picked from commit d22a700091af35ce52db0b1fbb02115bb6efbb1f) Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
| * bpo-45217: adds note that `allow_no_value` in `configparser` is optional ↵Miss Islington (bot)2021-09-291-1/+2
| | | | | | | | | | | | | | | | (GH-28396) (GH-28418) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit cb07838ab756564988b1ffd23871f1222a832446) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
| * Fix typo and add a module prefix (GH-28401)Miss Islington (bot)2021-09-291-2/+2
| | | | | | | | | | (cherry picked from commit 80d9ff16483b6c1898bcdcc811b5450b57a5e573) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>