https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
97a6a41 Python 3.12.0b4 11 July 2023, 12:23:30 UTC
6968f9e [3.12] gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (GH-106468) (#106620) gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (GH-106468) For example: class Flag(enum.Flag): A = 0x01 B = 0x02 MASK = 0xff ~Flag.MASK is Flag(0) (cherry picked from commit 95b7426f45edb570869a5513c142f29ed9f851a1) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> 11 July 2023, 12:09:41 UTC
2eb9fe9 [3.12] gh-103968: What's New: Add porting hints for PyType_From with metaclasses (GH-105698) (GH-106619) gh-103968: What's New: Add porting hints for PyType_From with metaclasses (GH-105698) (cherry picked from commit af5cf1e75136fcef967d4ebe1bc45f29e6dc1bcf) Co-authored-by: Petr Viktorin <encukou@gmail.com> 11 July 2023, 11:53:40 UTC
30870c8 [3.12] gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (GH-105127) (#106612) gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (GH-105127) Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). This fixes or at least ameliorates CVE-2023-27043. --------- (cherry picked from commit 18dfbd035775c15533d13a98e56b1d2bf5c65f00) Co-authored-by: Thomas Dwyer <github@tomd.tel> Co-authored-by: Gregory P. Smith <greg@krypto.org> 10 July 2023, 23:38:42 UTC
90ea3be [3.12] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106609) gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) Fixes a hang in multiprocessing process pool executor when a child process crashes and code could otherwise block on writing to the pipe. See GH-94777 for more details. (cherry picked from commit 6782fc050281205734700a1c3e13b123961ed15b) Co-authored-by: Louis Paulot <55740424+lpaulot@users.noreply.github.com> 10 July 2023, 22:49:07 UTC
68ca190 [3.12] gh-103186: Fix or catch 'extra' stderr output from unittests (GH-103196) (#106605) gh-103186: Fix or catch 'extra' stderr output from unittests (GH-103196) Reduce test noise by fixing or catching and testing stderr messages from individual tests. test_cmd_line_script.test_script_as_dev_fd calls spawn_python and hence subprocess.Popen with incompatible arguments. On POSIX, pass_fds forces close_fds to be True (subprocess.py line 848). Correct the call. test_uuid.test_cli_namespace_required_for_uuid3: when the namespace is omitted, uuid.main calls argparse.Argument_Parser.error, which prints to stderr before calling sys.exit, which raises SystemExit. Unittest assertRaises catches the exception but not the previous output. Catch the output and test it. test_warnings.test_catchwarnings_with_simplefilter_error similarly prints before raising. Catch the output and test it. --------- (cherry picked from commit 9d582250d8fde240b8e7299b74ba888c574f74a3) Co-authored-by: Ijtaba Hussain <ijtabahussain@live.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> 10 July 2023, 21:03:32 UTC
2da967e [3.12] gh-99593: Add tests for Unicode C API (part 3) (GH-104728) (GH-106595) Add tests for codecs. (cherry picked from commit 51ea664d18938645521bdd128a3c55f9c197644c) 10 July 2023, 17:58:58 UTC
41057b2 [3.12] gh-105227: Add PyType_GetDict() (GH-105747) (#106600) gh-105227: Add PyType_GetDict() (GH-105747) This compensates for static builtin types having `tp_dict` set to `NULL`. (cherry picked from commit a840806d338805fe74a9de01081d30da7605a29f) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> 10 July 2023, 17:12:15 UTC
0481b80 [3.12] Clarify how topics.py gets created. (GH-106121) (#106579) Clarify how topics.py gets created. (GH-106121) When changing docs, it was easy to find text in topics.py, and I wondered whether I was supposed to edit it. Thankfully, the top of the file says it's auto-generated, so I knew I didn't have to edit it. But I didn't know what started the auto-generation process. It's part of the release process, so I'll leave a note here for future editors. (cherry picked from commit dac1e364901d3668742e6eecc2ce63586330c11f) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> 10 July 2023, 03:42:22 UTC
128a962 [3.12] gh-106461: typing: Consolidate docs on `Callable` (GH-106462) (#106574) gh-106461: typing: Consolidate docs on `Callable` (GH-106462) (cherry picked from commit ca8b55c7f54b38e264056148075a8061a7082013) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 09 July 2023, 21:21:54 UTC
559267f [3.12] Move implementation specific RE tests to separate class (GH-106563) (#106564) Move implementation specific RE tests to separate class (GH-106563) (cherry picked from commit 8cb6f9761e3c1cff3210697e3670b57591bf2e7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 09 July 2023, 10:14:39 UTC
60ade0c [3.12] gh-106510: Fix DEBUG output for atomic group (GH-106511) (GH-106548) (cherry picked from commit 74ec02e9490d8aa086aa9ad9d1d34d2ad999b5af) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 08 July 2023, 12:15:54 UTC
48f58e0 [3.12] gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883) (#106546) gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883) (cherry picked from commit ec7180bd1b3c156d4484e8e6babc5ecb707420e3) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com> 08 July 2023, 08:52:50 UTC
8fdb058 [3.12] gh-106524: Fix a crash in _sre.template() (GH-106525) (GH-106544) Some items remained uninitialized if _sre.template() was called with invalid indices. Then attempt to clear them in the destructor led to dereferencing of uninitialized pointer. (cherry picked from commit 2ef1dc37f02b08536b677dd23ec51541a60effd7) Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com> 08 July 2023, 08:12:33 UTC
2ade2fc [3.12] gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302) (GH-106534) gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302) (cherry picked from commit 6e6a4cd52332017b10c8d88fbbbfe015948093f4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 07 July 2023, 21:25:24 UTC
7e883d7 [3.12] gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on close(). (GH-106504) (#106514) gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on close(). (GH-106504) (cherry picked from commit 3e5ce7968f5ab715f649e296e1f6b499621b8091) Co-authored-by: Andrew Geng <pteromys@gmail.com> 07 July 2023, 12:08:22 UTC
5293e01 [3.12] closes gh-106479: fix typo in __cplusplus macro (gh-106480) (#106493) closes gh-106479: fix typo in __cplusplus macro (gh-106480) (cherry picked from commit 67a798888dcde13bbb1e17cfcc3c742c94e67a07) Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com> 06 July 2023, 23:30:32 UTC
4787eae [3.12] gh-90876: Restore the ability to import multiprocessing when `sys.executable` is `None` (GH-106464) (#106494) gh-90876: Restore the ability to import multiprocessing when `sys.executable` is `None` (GH-106464) Prevent `multiprocessing.spawn` from failing to *import* in environments where `sys.executable` is `None`. This regressed in 3.11 with the addition of support for path-like objects in multiprocessing. Adds a test decorator to have tests only run when part of test_multiprocessing_spawn to `_test_multiprocessing.py` so we can start to avoid re-running the same not-global-state specific test in all 3 modes when there is no need. (cherry picked from commit c60df361ce2d734148d503f4a711e67c110fe223) Co-authored-by: Gregory P. Smith <greg@krypto.org> 06 July 2023, 23:25:06 UTC
e229225 [3.12] Clarify state of CancelledError in doc (GH-106453) (#106454) Clarify state of CancelledError in doc (GH-106453) This change makes it explicit that asyncio.CancelledError is not a subclass of Exception. (cherry picked from commit 12a98138083589314d3da14bc97f2d8517947437) Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com> 06 July 2023, 11:04:43 UTC
84cda26 [3.12] Doc: Add missing ref labels to exception groups/notes sections (GH-106465) (#106473) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 06 July 2023, 05:51:30 UTC
1e4c235 [3.12] gh-105256: What's New note for comprehension over locals() (GH-106378) (#106471) gh-105256: What's New note for comprehension over locals() (GH-106378) (cherry picked from commit 13aefd175e3c04529251f175c23cb3ed88451fd0) Co-authored-by: Carl Meyer <carl@oddbird.net> 06 July 2023, 00:53:30 UTC
7b615a1 [3.12] gh-106292: restore checking __dict__ in cached_property.__get__ (GH-106380) (#106469) gh-106292: restore checking __dict__ in cached_property.__get__ (GH-106380) * gh-106292: restore checking __dict__ in cached_property.__get__ (cherry picked from commit 838406b4fc044c0b2f397c23275c69f16a76205b) Co-authored-by: Carl Meyer <carl@oddbird.net> Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> 05 July 2023, 23:31:54 UTC
bb17e6f [3.12] gh-105340: include hidden fast-locals in locals() (GH-105715) (#106470) gh-105340: include hidden fast-locals in locals() (GH-105715) * gh-105340: include hidden fast-locals in locals() (cherry picked from commit 104d7b760fed18055e4f04e5da3ca619e28bfc81) Co-authored-by: Carl Meyer <carl@oddbird.net> 05 July 2023, 23:31:37 UTC
a49a29f [3.12] shlex docs: remove outdated note (GH-106463) (#106466) shlex docs: remove outdated note (GH-106463) As the versionchanged notice says, this note is no longer true on 3.12+. (cherry picked from commit c16ea94abc73c0098b484f7e2ec23bfd9c36b67c) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 05 July 2023, 20:57:49 UTC
b72601e [3.12] gh-64595: Fix regression in file write logic in Argument Clinic (#106449) (#106452) Revert the two commits that introduced the regressions: - gh-104152 - gh-104507 (cherry picked from commit 9d1d4f9c73a71192b22ab52a2eb9278737f98ddb) 05 July 2023, 13:17:09 UTC
74d84cf [3.12] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) (#105572) gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) When inverting a Flag member (or boundary STRICT), only consider other canonical flags; when inverting an IntFlag member (or boundary KEEP), also consider aliases. (cherry picked from commit 59f009e5898a006cdc8f5249be589de6edfe5cd0) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> 05 July 2023, 11:39:59 UTC
da672b2 [3.12] Document PYTHONSAFEPATH along side -P (GH-106122) (#106352) Document PYTHONSAFEPATH along side -P (GH-106122) (cherry picked from commit 0355625d94a50f4b816770bad946420d005900b8) Co-authored-by: Jeremy Paige <ucodery@gmail.com> 05 July 2023, 11:21:38 UTC
b314194 [3.12] gh-105063: Disable test_peg_generator.TestCParser bco. ref leaks (GH-106024) (#106450) Since gh-104798 (Use setuptools in peg-generator and reenable tests), the TestCParser test case has been producing ref leaks. (cherry picked from commit 41ad4dfc04c201728ce9fa12b1a96922dd15a368) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 05 July 2023, 11:05:50 UTC
53605f2 [3.12] GH-104554: Add RTSPS support to `urllib/parse.py` (GH-104605) (#105759) RTSPS is the permanent scheme defined in https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml alongside RTSP and RTSPU schemes. (cherry picked from commit f3266c05b6186ab6d1db0799c06b8f76aefe7cf1) Co-authored-by: zentarim <33746047+zentarim@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 05 July 2023, 11:02:22 UTC
fc2393e [3.12] Display the sanitizer config in the regrtest header. (GH-105301) (#105342) Display the sanitizer config in the regrtest header. (GH-105301) Display the sanitizers present in libregrtest. Having this in the CI output for tests with the relevant environment variable displayed will help make it easier to do what we need to create an equivalent local test run. (cherry picked from commit 852348ab65783601e0844b6647ea033668b45c11) Co-authored-by: Gregory P. Smith <greg@krypto.org> 05 July 2023, 10:54:26 UTC
334b95b [3.12] gh-89392: Make test_decimal discoverable (GH-106209) (#106230) gh-89392: Make test_decimal discoverable (GH-106209) (cherry picked from commit 0e24499129f3917b199a6d46fa33eeedd2c447fc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 July 2023, 10:52:16 UTC
2edec6a [3.12] gh-104692: Include commoninstall as a prerequisite for bininstall (GH-104693) (#105428) This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed. (cherry picked from commit 990cb3676c2edb7e5787372d6cbe360a73367f4c) 05 July 2023, 10:51:16 UTC
6371029 [3.12] gh-100238: Use setuptools in peg-generator and reenable tests (GH-104798) (#105135) (cherry picked from commit afa759fb800be416f69e3e9c9b3efe68006316f5) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 05 July 2023, 09:42:47 UTC
00c522a [3.12] gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (GH-106443) (#106444) gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (GH-106443) (cherry picked from commit a941bd6c53ac4646926292557a7bb2a86f8025c3) Co-authored-by: Erlend E. Aasland <erlend@python.org> 05 July 2023, 08:57:59 UTC
5784acd [3.12] tp_flags docs: fix indentation (GH-106420) (#106442) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 05 July 2023, 06:12:47 UTC
6f68404 [3.12] gh-106368: Add tests for formatting helpers in Argument Clinic (GH-106415) (#106438) gh-106368: Add tests for formatting helpers in Argument Clinic (GH-106415) (cherry picked from commit 2fb9480c8313ab524d333b18e4af09f05f5b8afa) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 04 July 2023, 23:00:32 UTC
d5ed72b [3.12] GH-106330: Fix matching of empty path in `pathlib.PurePath.match()` (GH-106331) (GH-106372) We match paths using the `_lines` attribute, which is derived from the path's string representation. The bug arises because an empty path's string representation is `'.'` (not `''`), which is matched by the `'*'` wildcard. (cherry picked from commit b4efdf8cda8fbbd0ca53b457d5f6e46a59348caf) 04 July 2023, 20:51:36 UTC
930df7b [3.12] gh-106396: Special-case empty format spec to gen empty JoinedStr node (GH-106401) (#106416) (cherry picked from commit dfe4de203881e8d068e6fc5b8e31075841a86d25) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 04 July 2023, 13:00:47 UTC
fda2970 [3.12] gh-106368: Add tests for permutation helpers in Argument Clinic (GH-106407) (#106409) Added new test class PermutationTests() (cherry picked from commit 8f6df5e9cbc3a1689601714192aa6ecbb23e1927) Co-authored-by: Erlend E. Aasland <erlend@python.org> 04 July 2023, 12:17:05 UTC
b84365f [3.12] gh-106368: Increase Argument Clinic test coverage (GH-106389) (#106390) Add: - test_disallowed_gropuing__no_matching_bracket - test_double_slash (cherry picked from commit 3406f8cce542ea4edf4153c0fac5216df283a9b1) Co-authored-by: Erlend E. Aasland <erlend@python.org> 04 July 2023, 00:26:44 UTC
6720003 [3.12] gh-106368: Harden Argument Clinic parser tests (GH-106384) (#106387) (cherry picked from commit 648688c137744a623a71dc2413d2879b80c99eae) Co-authored-by: Erlend E. Aasland <erlend@python.org> 03 July 2023, 23:37:47 UTC
38fe0e7 [3.12] gh-106368: Clean up Argument Clinic tests (#106373) (#106379) (cherry picked from commit 3ee8dac7a1b3882aa3aac7703bdae2de7b6402ad) 03 July 2023, 22:27:34 UTC
67127ca [3.12] Small speed-up for the convolve() recipe. (GH-106371) (GH-106375) 03 July 2023, 20:49:09 UTC
ddff473 [3.12] gh-106368: Increase Argument Clinic test coverage (GH-106369) (#106370) Add tests for 'self' and 'defining_class' converter requirements. (cherry picked from commit 7f4c8121db62a9f72f00f2d9f73381e82f289581) Co-authored-by: Erlend E. Aasland <erlend@python.org> 03 July 2023, 20:45:49 UTC
887a7e6 [3.12] gh-91053: make func watcher tests resilient to other func watchers (GH-106286) (#106365) gh-91053: make func watcher tests resilient to other func watchers (GH-106286) (cherry picked from commit 58906213cc5d8f2be311664766b4923ef29dae1f) Co-authored-by: Carl Meyer <carl@oddbird.net> 03 July 2023, 15:13:21 UTC
5f20152 [3.12] gh-106359: Fix corner case bugs in Argument Clinic converter parser (GH-106361) (#106364) gh-106359: Fix corner case bugs in Argument Clinic converter parser (GH-106361) DSLParser.parse_converter() could return unusable kwdicts in some rare cases (cherry picked from commit 0da4c883cf4185efe27b711c3e0a1e6e94397610) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 03 July 2023, 13:42:20 UTC
5e85604 [3.12] Replace the esoteric term 'datum' when describing dict comprehensions (GH-106119) (#106348) Replace the esoteric term 'datum' when describing dict comprehensions (GH-106119) (cherry picked from commit 987b712b4aeeece336eed24fcc87a950a756c3e2) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> 03 July 2023, 03:23:27 UTC
730c873 [3.12] gh-102541: Fix Helper.help("mod") for non-existent mod (GH-105934) (#106322) gh-102541: Fix Helper.help("mod") for non-existent mod (GH-105934) If the output arg to Helper() is a stream rather than the default None, which means 'page to stdout', the ImportError from pydoc.resolve is currently not caught in pydoc.doc. The same error is caught when output is None. --------- (cherry picked from commit 0530f4f64629ff97f3feb7524da0833b9535e8b6) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 01 July 2023, 23:16:14 UTC
8738c5b [3.12] gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296) (#106298) gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296) Command Prompt (CMD Shell) and older versions of PowerShell require double quotes and single quotes inside the string. This form also works on linux and macOS. (cherry picked from commit 04dfc6fa9018e92a5b51c29fc0ff45419c596bc3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 01 July 2023, 02:40:43 UTC
c4298d5 [3.12] gh-105486: Change the `repr` of `ParamSpec` list of args in `GenericAlias` (GH-105488) (#106297) gh-105486: Change the `repr` of `ParamSpec` list of args in `GenericAlias` (GH-105488) (cherry picked from commit eb7d6e7ad844955f9af88707d296e003c7ce4394) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 01 July 2023, 00:32:44 UTC
0616c83 [3.12] gh-106145: Make `end_{lineno,col_offset}` required on `type_param` nodes (GH-106224) (#106295) gh-106145: Make `end_{lineno,col_offset}` required on `type_param` nodes (GH-106224) (cherry picked from commit 46c1097868745eeb47abbc8af8c34e8fcb80ff1d) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 01 July 2023, 00:15:18 UTC
d6a5a30 [3.12] gh-101100: Docs: Fix references to several numeric dunders (GH-106278) (#106281) gh-101100: Docs: Fix references to several numeric dunders (GH-106278) (cherry picked from commit a8ae73965b02302b7661ea07a6e4f955a961aca9) Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 30 June 2023, 14:39:52 UTC
7a1b946 [3.12] gh-77782: Deprecate Py_HasFileSystemDefaultEncoding (GH-106272) (#106274) gh-77782: Deprecate Py_HasFileSystemDefaultEncoding (GH-106272) Deprecate Py_HasFileSystemDefaultEncoding variable. (cherry picked from commit f3cf2ddd8ddc7dfa6b06e6da640391a1bcd62b8a) Co-authored-by: Victor Stinner <vstinner@python.org> 30 June 2023, 10:21:36 UTC
04a165f [3.12] GH-106152: Add PY_THROW event to cProfile (GH-106256) GH-106152: Add PY_THROW event to cProfile (GH-106161) (cherry picked from commit cea9d4ea82abcb2c6f1d83a2fe819859da4bbda4) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> 29 June 2023, 23:39:18 UTC
2405929 [3.12] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106244) Fix possible refleak in CodeType.replace() (GH-106243) A reference to c_code was leaked if PySys_Audit() failed. (cherry picked from commit 3c70d467c148875f2ce17bacab8909ecc3e9fc1d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 June 2023, 18:41:01 UTC
c9b9555 [3.12] gh-101006: Improve error handling when read marshal data (GH-101007) (GH-106226) * EOFError no longer overrides other errors such as MemoryError or OSError at the start of the object. * Raise more relevant error when the NULL object occurs as a code object component. * Minimize an overhead of calling PyErr_Occurred(). (cherry picked from commit 8bf6904b229583033035d91a3800da5604dcaad4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 June 2023, 10:46:51 UTC
e0fa531 [3.12] gh-106033: Get rid of PyDict_GetItem in _PyFunction_FromConstructor (GH-106044) (GH-106228) gh-106033: Get rid of PyDict_GetItem in _PyFunction_FromConstructor (GH-106044) (cherry picked from commit 08c08d21b03d949452a77d9ed5e3cf48d6b9804d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 29 June 2023, 10:45:39 UTC
e12045d [3.12] gh-106194: Rename duplicated tests in `test_curses` (GH-106196) (#106216) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 28 June 2023, 21:12:12 UTC
ed2114f [3.12] gh-106197: Deduplicate tests in `test_buffer` (GH-106198) (#106206) gh-106197: Deduplicate tests in `test_buffer` (GH-106198) (cherry picked from commit c283a0cff5603540f06d9017e484b3602cc62e7c) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 28 June 2023, 15:13:57 UTC
0cd07b3 [3.12] gh-101100: Fix reference to `parse_args` in `optparse.rst` (GH-105265) (#106204) Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com> 28 June 2023, 12:44:23 UTC
78cedf2 [3.12] gh-106118: Add O_CLOEXEC preprocessor guard (GH-106120) (#106199) (cherry picked from commit 6c60684bf5d34fae27a2f6a142ff794b38cefe1b) Co-authored-by: Erlend E. Aasland <erlend@python.org> 28 June 2023, 11:54:53 UTC
7bdf2c1 [3.12] gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (GH-105995) (#106188) gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (GH-105995) (cherry picked from commit 6b52a581c151914e59c8c367a03bc7309713a73b) Co-authored-by: Sam Bull <git@sambull.org> 28 June 2023, 11:06:49 UTC
27bd2d1 [3.12] gh-101100: Fix reference to asynchronous methods (GH-106172) (#106191) gh-101100: Fix reference to asynchronous methods (GH-106172) (cherry picked from commit bbf722dcd39c66418e45991dcf1cdf140c2ce20e) Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com> 28 June 2023, 11:06:02 UTC
442f5ec [3.12] GH-106160: Fix test_gzip failing under WASI, which does not have zlib. (GH-106167) (#106170) GH-106160: Fix test_gzip failing under WASI, which does not have zlib. (GH-106167) Fix test_gzip's failure under WASI, which does not have zlib, by using test.support.import_helper.import_module to import zlib. (gzip unconditionally imports zlib, so this does not cause any new skips.) (cherry picked from commit 161012fc25910a47423bae8012398bf519a88140) Co-authored-by: T. Wouters <thomas@python.org> 28 June 2023, 10:46:16 UTC
56e3919 [3.12] Refer to `TimeoutError` instead of `asyncio.TimeoutError` in `asyncio-task.rst` (GH-106136) (#106179) Co-authored-by: lightdrk <108566237+lightdrk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 28 June 2023, 05:38:01 UTC
0373c2c [3.12] Fix c-analyzer for GCC: ignore LANG env var (GH-106173) (#106178) Fix c-analyzer for GCC: ignore LANG env var (GH-106173) The c-analyzer doesn't support GCC localized messages, so just unset the LANG environment variable. (cherry picked from commit 1f74b9e933d546a015e8497e3b8728357196acc8) Co-authored-by: Victor Stinner <vstinner@python.org> 28 June 2023, 03:41:36 UTC
c1c6738 [3.12] gh-101634: regrtest reports decoding error as failed test (GH-106169) (#106174) gh-101634: regrtest reports decoding error as failed test (GH-106169) When running the Python test suite with -jN option, if a worker stdout cannot be decoded from the locale encoding report a failed testn so the exitcode is non-zero. (cherry picked from commit 2ac3eec103cf450aaaebeb932e51155d2e7fb37b) Co-authored-by: Victor Stinner <vstinner@python.org> 28 June 2023, 02:55:27 UTC
20315d1 [3.12] gh-106140: Reorder some more fields to facilitate out-of-process inspection (GH-106148) (#106155) (cherry picked from commit 9126a6a9ce3772d5dc785cbee159b07a1ff7d531) 27 June 2023, 18:33:01 UTC
ac80beb [3.12] gh-106140: Reorder some fields to facilitate out-of-process inspection (GH-106143) (#106147) gh-106140: Reorder some fields to facilitate out-of-process inspection (GH-106143) (cherry picked from commit 2d5a1c281161d037148ffb5983decc6d31c2557d) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 27 June 2023, 17:44:37 UTC
264b54b [3.12] IDLE: Condense run.main threading.Thread start. (GH-106125) (#106154) IDLE: Condense run.main threading.Thread start. (GH-106125) Use daemon argument added in 3.3 and directly call .start. Remove now unused 'sockthread' name. (cherry picked from commit eaa1eae55ea66d74c5303924320185dac74d4eb1) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 27 June 2023, 17:35:48 UTC
0555722 [3.12] gh-92788: Add docs for `ast.Module`, `ast.Expression`, and others (GH-101055) (#106139) gh-92788: Add docs for `ast.Module`, `ast.Expression`, and others (GH-101055) (cherry picked from commit 33608fd67df8b1033519f808441ee00289e2dac0) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 27 June 2023, 13:44:44 UTC
0efbe4d [3.12] gh-106123: Modules/_sha3 appears to no longer be necessary (GH-106124) (#106127) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> 27 June 2023, 05:49:32 UTC
c2e8e34 [3.12] GH-105774: Clarify operation of normalize() (GH-106093) (GH-106128) 27 June 2023, 04:32:16 UTC
1bb2bf7 [3.12] gh-106030: Miscellaneous fixes in Python/suggestions.c (GH-106031) (#106036) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 June 2023, 03:43:20 UTC
364cb66 [3.12] gh-84976: Add back UTC to datetime.__all__ (GH-104920) (#106019) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 27 June 2023, 03:41:52 UTC
1acfecb [3.12] Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (GH-96146)" (GH-105948) (#106117) Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (GH-96146)" (GH-105948) This reverts commit 1f0eafa844bf5a380603d55e8d4b42d8c2a3439d. (cherry picked from commit d3af83b9342457d8b24476baeb799f7506ff04f3) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 26 June 2023, 19:11:49 UTC
ea6a4b7 [3.12] gh-106107: document correct error that's raised when a mutable default value for a field is detected (gh-106109) (gh-106115) gh-106107: document correct error that's raised when a mutable default value for a field is detected (gh-106109) (cherry picked from commit 512f299e557f4ab60768d36cee9968bd92116367) Co-authored-by: Roderich Schupp <roderich.schupp@gmail.com> 26 June 2023, 18:12:52 UTC
fa3a75d [3.12] gh-106111: Remove zipapp documentation on creating a Windows executable (GH-106112) (#106114) Remove zipapp documentation on creating a Windows executable (cherry picked from commit 5d4dbf0e309255e5bce9e31d805a8f950ebf9161) Co-authored-by: Paul Moore <p.f.moore@gmail.com> 26 June 2023, 16:26:40 UTC
e923971 [3.12] Update test.support.interpreters to include missing RunFailedError import (GH-103841) (#106110) (cherry picked from commit 1a2bc94fc2bbdf5f810b441ebbbd8fec95a3207c) Co-authored-by: Bruce Eckel <BruceTEckel@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 26 June 2023, 16:11:48 UTC
8d5d60f [3.12] gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (GH-106090) (#106098) gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (GH-106090) (cherry picked from commit a12e8ffb49e05a1d1874389318911ce9685db232) Co-authored-by: James Webber <jamestwebber@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 26 June 2023, 12:26:15 UTC
9e6f8d4 [3.12] gh-105987: Fix reference counting issue in `_asyncio._swap_cur… (#106099) [3.12] gh-105987: Fix reference counting issue in `_asyncio._swap_current_task` (GH-105989). (cherry picked from commit d2cbb6e918d9ea39f0dd44acb53270f2dac07454) Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com> 26 June 2023, 08:51:28 UTC
8418964 [3.12] Improve typing docs on the type of class objects (GH-106081) (#106096) Improve typing docs on the type of class objects (GH-106081) (cherry picked from commit 3eeb8c89063d5ac22c0b1d26e4ae2fd12c149650) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 26 June 2023, 08:43:24 UTC
592d1ea [3.12] gh-84436: update docs on Py_None/Py_True/Py_False/Py_Ellipsis becoming immortal (GH-105195) (#105977) gh-84436: update docs on Py_None/Py_True/Py_False/Py_Ellipsis becoming immortal (GH-105195) (cherry picked from commit a2392720d6108041d17960a86514ba859b436f05) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 26 June 2023, 08:32:00 UTC
b786fe8 [3.12] gh-105979: Fix exception handling in `unmarshal_frozen_code` (`Python/import.c`) (GH-105980) (#106055) gh-105979: Fix exception handling in `unmarshal_frozen_code` (`Python/import.c`) (GH-105980) (cherry picked from commit cd5280367a3a7065d13b8f7234474f7a2e9a18fd) Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com> 26 June 2023, 08:31:01 UTC
e9366df [3.12] gh-104212: Explain how to port imp.load_source() (GH-105978) (#106083) gh-104212: Explain how to port imp.load_source() (GH-105978) Explain how to port removed imp.load_source() to importlib in What's New in Python 3.12. (cherry picked from commit 18a7c86697493510993e43bafe8bd4046928bec5) Co-authored-by: Victor Stinner <vstinner@python.org> 25 June 2023, 15:14:18 UTC
f955ed9 [3.12] Add end-of-file-fixer to pre-commit (GH-106065) (#106080) Add end-of-file-fixer to pre-commit (GH-106065) (cherry picked from commit 8c24a837371439b8e922ff47275085b581f510c5) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 25 June 2023, 11:18:22 UTC
f930bee [3.12] Docs: add links to 'callable' term in sqlite3 docs (GH-106072) (#106073) (cherry picked from commit bef1c8761e3b0dfc5708747bb646ad8b669cbd67) Co-authored-by: Erlend E. Aasland <erlend@python.org> 25 June 2023, 08:16:12 UTC
9cd3664 [3.12] gh-106033: Get rid of new occurrences of PyDict_GetItem and Py… (#106041) [3.12] gh-106033: Get rid of new occurrences of PyDict_GetItem and PyObject_HasAttr (GH-106034) These functions are broken by design because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. They should not be used in new code. (cherry picked from commit 1d33d5378058671bfabb6f4d4b5bfd4726973ff9) 24 June 2023, 23:36:34 UTC
746c0f3 [3.12] gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047) (#106070) gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047) Use a note:: tag so that these dict and object API deficiencies show up clearly. A caution:: tag was considered, but our current python docs rendering doesn't do much with that (no box or color change). warning:: seemed too extreme. note looks good. (cherry picked from commit 19d6511b0b8f3f74e668ae32ccef89bcbf1a8a62) Co-authored-by: Gregory P. Smith <greg@krypto.org> 24 June 2023, 23:30:27 UTC
ef58c04 [3.12] GH-104375: Use `versionchanged` to describe new arguments in pathlib docs (GH-104376, GH-106058) (cherry picked from commit 4a6c84fc1ea8f26d84a0fbeeff6f8dedc32263d4) 24 June 2023, 15:25:47 UTC
de1c090 [3.12] Typing docs: fix typo in annotating tuples comment (GH-106048) (#106049) Typing docs: fix typo in annotating tuples comment (GH-106048) (cherry picked from commit 8ef0ee4ebc84ee68f16cea85ffdb949ecccb4ba5) Co-authored-by: Eamon Tracey <66919574+EamonTracey@users.noreply.github.com> 23 June 2023, 20:35:00 UTC
7d6ee29 [3.12] gh-105974: Revert unintentional behaviour change for protocols with non-callable members and custom `__subclasshook__` methods (GH-105976) (#106032) gh-105974: Revert unintentional behaviour change for protocols with non-callable members and custom `__subclasshook__` methods (GH-105976) (cherry picked from commit 9499b0f138cc53b9a2590350d0b545d2f69ee126) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 23 June 2023, 15:26:37 UTC
1ffcd49 [3.12] Typing docs: improve the guidance on annotating tuples (GH-106021) (#106027) Typing docs: improve the guidance on annotating tuples (GH-106021) (cherry picked from commit 968435ddb1c1af9333befb26f7970cded8a5c710) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 23 June 2023, 14:48:29 UTC
3cc5523 [3.12] Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with Sphinx >=6.1 (GH-105886) (#106010) Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with Sphinx >=6.1 (GH-105886) (cherry picked from commit a72683ba8e0337650cc490dbe593a5e46aba60cb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 23 June 2023, 08:07:58 UTC
c407ef0 [3.12] gh-98931: Add custom error messages to invalid import/from with multiple targets (GH-105985) (#105991) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 22 June 2023, 16:28:06 UTC
025c991 [3.12] stdtypes.rst: remove a period (GH-105959) (#105968) stdtypes.rst: remove a period (GH-105959) (cherry picked from commit c5a722be5f7979c73e2451e537a8fc58bf9af12e) Co-authored-by: Mathieu Dupuy <deronnax@gmail.com> 21 June 2023, 14:40:54 UTC
5729b41 [3.12] gh-104212: Explain how to port imp code to importlib (GH-105905) (#105952) gh-104212: Explain how to port imp code to importlib (GH-105905) (cherry picked from commit 7a56a4148c521969d64164d2776641f19e3ca9e8) Co-authored-by: Victor Stinner <vstinner@python.org> 20 June 2023, 23:03:54 UTC
c5c8111 [3.12] gh-105915: Fix SyntaxWarning becoming a SyntaxError with -We in test_fstring (GH-105943) (#105945) (cherry picked from commit 6e40ee6e8456da04d6970a46863300c043c81208) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> 20 June 2023, 15:08:29 UTC
e149448 Merge branch '3.12' of https://github.com/python/cpython into 3.12 20 June 2023, 13:32:39 UTC
e904c35 Post 3.12.0b3 20 June 2023, 13:32:24 UTC
back to top