sort by:
Revision Author Date Message Commit Date
8acd6ca [3.11] gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when delegated through PathFinder. (GH-116812) (#116865) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb (cherry picked from commit 5f52d20a93908196f74271db8437cc1ba7e1e262) 15 March 2024, 13:59:32 UTC
eaefa0b [3.11] gh-90095: Ignore empty lines and comments in `.pdbrc` (GH-116834) (#116855) gh-90095: Ignore empty lines and comments in `.pdbrc` (GH-116834) (cherry picked from commit a50cf6c3d76b34e2ee9f92a248f1b0df24e407f6) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> 15 March 2024, 09:55:44 UTC
d83b4c5 [3.11] gh-90300: Fix undocumented envvars in the Python CLI help (GH-116765) (GH-116797) (GH-116803) (cherry picked from commit fc4d5fdffe3d9829b118232f35ccee61a27392ee) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 19ac28bd08fdb16795e6f82ea7bfac73e8f3791b) 14 March 2024, 13:41:52 UTC
0ecdaf0 [3.11] gh-90300: Document equivalent -X options for envvars in the Python CLI help (GH-116756) (GH-116786) (GH-116796) (cherry picked from commit 991710af022f27db862ff1399178bcc76b062669) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 8c6db45ce34df7081d7497e638daf3e130303295) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 14 March 2024, 10:39:32 UTC
c42e709 [3.11] gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (#116795) gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (cherry picked from commit 66fb613d90fe3dea32130a5937963a9362c8a59e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 14 March 2024, 10:25:48 UTC
1080dd1 [3.11] gh-90300: Sort the -X options and some envvars in the Python CLI help (GH-116739) (GH-116766) (GH-116779) (cherry picked from commit 870cd901ea72e85eea825425336305296ee443cc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit e54bdeab9ce2958a22ba08c1f1f1431c5e8056bd) 14 March 2024, 10:07:31 UTC
3cc24f1 [3.11] GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) (GH-116762) (cherry picked from commit 61733a2fb9dc36d2246d922146a3462a2248832d) 13 March 2024, 21:55:29 UTC
039fd9e [3.11] gh-98731: Improvements to the logging documentation (GH-101618) (GH-116733) (cherry picked from commit 7f418fb111dec325b5c9fe6f6e96076049322f02) 13 March 2024, 17:16:28 UTC
f292b07 [3.11] gh-106687: _ssl: use uint64_t for SSL options (#106700) (#116665) gh-106687: _ssl: use uint64_t for SSL options (#106700) SSL_CTX_get_options() uses uint64_t for options: https://www.openssl.org/docs/man3.1/man3/SSL_CTX_get_options.html Fix this compiler warning on Windows with MSC: conversion from 'uint64_t' to 'long', possible loss of data (cherry picked from commit ad95c7253a70e559e7d3f25d53f4772f28bb8b44) 13 March 2024, 16:49:30 UTC
cde47e2 [3.11] gh-110918: Fix side effects of regrtest test_match_tests() (GH-116718) (#116727) gh-110918: Fix side effects of regrtest test_match_tests() (GH-116718) test_match_tests now saves and restores patterns. Add get_match_tests() function to libregrtest.filter. Previously, running test_regrtest multiple times in a row only ran tests once: "./python -m test test_regrtest -R 3:3. (cherry picked from commit 612f1ec988314bc0bc42a1b908751950331e2ede) Co-authored-by: Victor Stinner <vstinner@python.org> 13 March 2024, 14:35:59 UTC
1117e7d [3.11] [doc]: Update cookbook recipe for Qt6. (GH-116719) (GH-116728) (cherry picked from commit 186af3cf21705badec086ec16f231ac390747d3b) 13 March 2024, 14:34:09 UTC
76c4ab3 [3.11] gh-90300: Fix cmdline.rst (GH-116721) (GH-116725) * Fix the description of the "-b" option. * Add references to environment variables for "-s" and "-X dev" options. (cherry picked from commit 33662d4e01d73cd4f29a25efc2ef09288129023f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 13 March 2024, 13:56:25 UTC
bccd1f6 [3.11] gh-116714: Handle errors correctly in `PyFloat_GetInfo` (GH-116715) (#116723) gh-116714: Handle errors correctly in `PyFloat_GetInfo` (GH-116715) (cherry picked from commit fcd49b4f47f1edd9a2717f6619da7e7af8ea73cf) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 13 March 2024, 13:40:30 UTC
1dcb461 [3.11] gh-111307: Update design FAQ 'switch' entry (GH-115899) (#116704) (cherry picked from commit 43986f55671ba2f7b08f8c5cea69aa136a093697) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 March 2024, 11:09:52 UTC
4a73637 [3.11] gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421) (GH-116717) (cherry picked from commit aa7bcf284f006434b07839d82f325618f7a5c06c) 13 March 2024, 10:03:17 UTC
5bd3507 [3.11] gh-116491: Improve `test_win32_ver` (GH-116506) (#116709) gh-116491: Improve `test_win32_ver` (GH-116506) (cherry picked from commit ee0dbbc04504e0e0f1455e2bab8801ce0a682afd) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 13 March 2024, 07:37:01 UTC
7e8578c [3.11] gh-115264: Fix `test_functools` with `-00` mode (GH-115276) (#116706) gh-115264: Fix `test_functools` with `-00` mode (GH-115276) (cherry picked from commit 27df81d5643f32be6ae84a00c5cf84b58e849b21) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 13 March 2024, 07:05:41 UTC
0ebc792 [3.11] Docs: fix broken links (GH-116651) (#116701) (cherry picked from commit 3f1b6efee95c06f8912bcea4031afacdbc0d5684) 13 March 2024, 05:00:45 UTC
21a259e [3.11] gh-116307: Proper fix for 'mod' leaking across importlib tests… (#116694) [3.11] gh-116307: Proper fix for 'mod' leaking across importlib tests (GH-116680) (cherry picked from commit a2548077614f81f25a2c3465dabb7a0a3885c40c) gh-116307: Create a new import helper 'isolated modules' and use that instead of 'Clean Import' to ensure that tests from importlib_resources don't leave modules in sys.modules. 13 March 2024, 00:35:00 UTC
a01621a [3.11] gh-116682: stdout may be empty in test_cancel_futures_wait_false (GH-116683) (#116693) If the `shutdown()` call happens before the worker thread starts executing the task, then nothing will be printed to stdout. (cherry picked from commit 7d1abe9502641a3602e9773aebc29ee56d8f40ae) Co-authored-by: Sam Gross <colesbury@gmail.com> 13 March 2024, 00:29:03 UTC
0917338 [3.11] Add `typing.NamedTuple` in glossary section for named tuples (GH-108327) (#116690) (cherry picked from commit 149f7f7ae28944579792d22607532006977177c9) Co-authored-by: Tushar Sadhwani <tushar.sadhwani000@gmail.com> 12 March 2024, 22:54:18 UTC
f3a2b62 [3.11] gh-110819: Fix ‘kind’ may be used uninitialized warning in `longobject` (GH-116599) (#116650) (cherry picked from commit eb947cdc1374842a32fa82249ba3c688abf252dc) 12 March 2024, 19:21:52 UTC
b17d347 [3.11] gh-90095: Make .pdbrc work properly and add some reasonable te… (#116660) [3.11] gh-90095: Make .pdbrc work properly and add some reasonable tests (GH-110496) (cherry picked from commit 44f9a84b67c97c94f0d581ffd63b24b73fb79610) 12 March 2024, 16:58:40 UTC
52c4117 [3.11] gh-116541: Handle errors correctly in `_pystatvfs_fromstructstatvfs` (GH-116542) (#116644) gh-116541: Handle errors correctly in `_pystatvfs_fromstructstatvfs` (GH-116542) (cherry picked from commit f8147d01da44da2434496d868c86c2785f7244cd) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 12 March 2024, 10:34:48 UTC
5562a09 [3.11] gh-116600: [Enum] fix global Flag repr (GH-116615) (#116630) * and fix global flag repr (cherry picked from commit 06e29a224fac9edeba55422d2e60f2fbb88dddce) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> 12 March 2024, 00:36:15 UTC
830fbe9 [3.11] gh-116563: Update tutorial error example (GH-116569) (#116625) There now may be multiple carets pointing at a token rather than just a character. Fix the sentence about possible causes. (cherry picked from commit 3e45030076bf2cfab41c4456c73fb212b7322c60) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 March 2024, 22:11:36 UTC
88ed804 [3.11] gh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (GH-116423) (#116617) gh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (GH-116423) Use `raise_signal` rather than `kill` in `ThreadSignals.test_signals` (cherry picked from commit 34920f36917de0d4e658cf94992d53a5a7f27f51) Co-authored-by: Malcolm Smith <smith@chaquo.com> 11 March 2024, 21:01:13 UTC
6ae6d46 [3.11] gh-116545: Fix error handling in `mkpwent` in `pwdmodule` (GH-116548) (#116594) gh-116545: Fix error handling in `mkpwent` in `pwdmodule` (GH-116548) (cherry picked from commit ffd79bea0f032df5a2e7f75e8c823a09cdc7c7a2) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 11 March 2024, 12:16:22 UTC
d781179 [3.11] gh-115421: List all test/ subdirs in Makefile, and test them (GH-115813) This backports: - GH-115813 - GH-115422 Unlike on the main branch, new directories are added to the end, so they're a bit easier to patch out if a redistributor needs to do so. On main & 3.12, there's a special case for `idlelib/idle_test`; on 3.11 TESTSUBDIRS has several more entries that are not in `test/`. This backport ignores all of them (including idlelib). (The alternative would be list them, as additions to TEST_HOME_DIR. But that's probably too invasive; people might split stdlib up in surprising ways.) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 11 March 2024, 11:02:05 UTC
707ce1f [3.11] gh-88352: Make TimedRotatingFileHandler tests more stable (GH-116409) (GH-116586) The tests failed (with less than 1% probability) if for example the file was created at 11:46:03.999, but the record was emitted at 11:46:04.001, with atTime=11:46:04, which caused an unexpected rollover. Ensure that the tests are always run within the range of the same whole second. Also share code between test_rollover_at_midnight and test_rollover_at_weekday. (cherry picked from commit d8712fa0c75ad5ea56543903fa45674ab47cc647) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 March 2024, 10:49:48 UTC
34e808e [3.11] gh-116576: Fix `Tools/scripts/sortperf.py` sorting the same list (GH-116577) (#116583) gh-116576: Fix `Tools/scripts/sortperf.py` sorting the same list (GH-116577) (cherry picked from commit 4704e55a71c859c5d17cc2747ba62f49da58ea2d) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 11 March 2024, 07:23:05 UTC
982f457 [3.11] gh-116535: Fix distracting "TypeError" in example code (gh-116538) (gh-116552) gh-116535: Fix distracting "TypeError" in example code (gh-116538) (cherry picked from commit db8f423f58e336eb6180a70d9886b443d7203c2c) Co-authored-by: Declan <5962877+dec1@users.noreply.github.com> 09 March 2024, 22:08:23 UTC
f2898f8 [3.11] gh-116520: Fix error handling in `os_get_terminal_size_impl` in `posixmodule` (GH-116521) (#116540) gh-116520: Fix error handling in `os_get_terminal_size_impl` in `posixmodule` (GH-116521) (cherry picked from commit b4b4e764a798bab60324871074ce4cdebb9d01bb) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 09 March 2024, 11:41:46 UTC
b1c77ba [3.11] GH-116218 Docs: Add availability information for the 'resource' module (GH-116256) (#116534) GH-116218 Docs: Add availability information for the 'resource' module (GH-116256) Add availability data to 'resource' module Docs (cherry picked from commit 03f86b1b626ac5b0df1cc74d8f80ea11117aec8c) Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com> 09 March 2024, 09:36:02 UTC
232b085 [3.11] gh-105535 Document potential performance trap during enum creation (GH-107119) (GH-116512) (cherry picked from commit 601f3a7b3391e9d219a8ec44a6c56d00ce584d2a) Co-authored-by: Nicolas A. Oyarzabal <79150521+nicky-eng@users.noreply.github.com> Co-authored-by: Ethan Furman <ethan@stoneleaf.us> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 09 March 2024, 00:57:16 UTC
3abf267 [3.11] gh-116447: Fix possible UB in `arraymodule` and `getargs` (GH-116459) (#116497) gh-116447: Fix possible UB in `arraymodule` and `getargs` (GH-116459) (cherry picked from commit fdb2d90a274158aee23b526d972172bf41bd4b7e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 08 March 2024, 11:25:39 UTC
0f6cd29 [3.11] gh-116485: Fixed the typo (GH-116486) (#116490) Co-authored-by: Varun Gole <59524264+varungole@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 08 March 2024, 08:27:33 UTC
22c38a6 gh-116472: Replace literal newlines with escape characters in MSBuild files (GH-116473) (cherry picked from commit 5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0) Co-authored-by: Dan Albert <dan@gingerhq.net> 07 March 2024, 22:16:32 UTC
fa7f278 [3.11] gh-116448: Handle errors correctly in `os_waitid_impl` in `posixmodule` (GH-116449) (#116453) gh-116448: Handle errors correctly in `os_waitid_impl` in `posixmodule` (GH-116449) (cherry picked from commit 882fcede83af783a834b759e4643130dc1307ee3) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 07 March 2024, 09:10:08 UTC
e89f2a0 [3.11] gh-115664: Fix ordering of more versionadded and versionchanged directives (GH-116298) (GH-116450) (GH-116452) (cherry picked from commit 1e75fe146857b5e6624bd3281675cf20cc356273) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 808a77612fb89b125d25efac2788522a100e8a6d) 07 March 2024, 08:35:24 UTC
22eb97c [3.11] gh-88118: Fix some test_multiprocessing flakiness. (GH-116434) (GH-116441) Fix some test_multiprocessing flakiness. Potentially introduced by https://github.com/python/cpython/pull/25845 not joining that thread likely leads to recently observed "environment changed" logically passing but overall failing tests seen on some buildbots similar to: ``` 1 test altered the execution environment (env changed): test.test_multiprocessing_fork.test_processes 2 re-run tests: test.test_multiprocessing_fork.test_processes test.test_multiprocessing_forkserver.test_processes ``` (cherry picked from commit ea1803e608a7aaf9cf2c07e510d8540d46d3b9ad) Co-authored-by: Gregory P. Smith <greg@krypto.org> 06 March 2024, 22:20:37 UTC
fc9da96 [3.11] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (#116268) Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods: - `xml.etree.ElementTree.XMLParser.flush` - `xml.etree.ElementTree.XMLPullParser.flush` - `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled` - `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled` - `xml.sax.expatreader.ExpatParser.flush` Based on the "flush" idea from #115138 (comment) . - Please treat as a security fix related to CVE-2023-52425. (cherry picked from commit 6a95676) (cherry picked from commit 73807eb) (cherry picked from commit eda2963) --------- Includes code suggested-by: Snild Dolkow <snild@sony.com> and by core dev Serhiy Storchaka. Co-authored-by: Gregory P. Smith <greg@krypto.org> 06 March 2024, 22:17:02 UTC
e8fb762 [3.11] gh-90300: Reformat the Python CLI help output (GH-115847) (GH-116418) (cherry picked from commit 2e92ffd7fa89e3bd33ee2f31541d3dc53aaa2d12) (cherry picked from commit 2bdd1d6f15d5507a9ed6dff10e9fb57e2a8c0b40) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 06 March 2024, 16:13:10 UTC
26f7956 [3.11] gh-116143: Fix race condition in pydoc _start_server (GH-116144) (#116416) gh-116143: Fix race condition in pydoc _start_server (GH-116144) (cherry picked from commit 02ee475ee3ce9468d44758df2cd79df9f0926303) Co-authored-by: Itamar Oren <itamarost@gmail.com> 06 March 2024, 15:07:08 UTC
d69bef6 [3.11] gh-116404: Handle errors correctly in `wait_helper` in `posixmodule` (GH-116405) (#116407) gh-116404: Handle errors correctly in `wait_helper` in `posixmodule` (GH-116405) (cherry picked from commit 22ccf13b332902142fe0c52c593f9efc152c7761) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 06 March 2024, 09:08:35 UTC
23c17f3 [3.11] gh-116326: Handler errors correctly in `getwindowsversion` in `sysmodule` (GH-116339) (#116388) (cherry picked from commit c91bdf86ef1cf9365b61a46aa2e51e5d1932b00a) 06 March 2024, 07:54:34 UTC
4637a1f [3.11] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives (GH-116327) (GH-116373) (GH-116384) (cherry picked from commit 88fdb082d98104dd5612b06397f4c764a0936616) 05 March 2024, 22:05:42 UTC
8675e7f [3.11] gh-115986: Fix inaccuracies in pprint docs (GH-116104) (#116383) Amend wording after gh-116019 was merged. (cherry picked from commit e205c5cd8f1a49d0ef126123312ee8a40d1416b6) Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com> 05 March 2024, 21:20:59 UTC
f4672e2 [3.11] chore: fix typos (GH-116345) (#116375) Co-authored-by: cui fliter <imcusg@gmail.com> (cherry picked from commit e7ba6e9dbe5433b4a0bcb0658da6a68197c28630) 05 March 2024, 20:33:59 UTC
fa670a5 [3.11] gh-74668: Fix support of bytes in urllib.parse.parse_qsl() (GH-115771) (GH-116367) urllib.parse functions parse_qs() and parse_qsl() now support bytes arguments containing raw and percent-encoded non-ASCII data. (cherry picked from commit bdba8ef42b15e651dc23374a08143cc2b4c4657d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 March 2024, 17:52:03 UTC
c75df4b [3.11] gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125) (GH-116365) (cherry picked from commit f97f25ef5dfcdfec0d9a359fd970abd139cf3428) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 March 2024, 17:32:30 UTC
c67a4b6 [3.11] Fix the PyGetSetDef documentation (GH-116056) (GH-116368) (cherry picked from commit df594011089a83d151ac7000954665536f3461b5) 05 March 2024, 16:26:29 UTC
1b9f0d1 [3.11] gh-115777: Fix double versionadded directives (GH-116269) (GH-116362) (cherry picked from commit 0064dfa0919cc93257c351a609f99461f6e4e3ac) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 March 2024, 16:12:22 UTC
f187da5 [3.11] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341) (#116348) gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341) (cherry picked from commit a29998a06bf75264c3faaeeec4584a5f75b45a1f) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 05 March 2024, 10:15:54 UTC
7fa3318 [3.11] gh-116265: Remove obsolete sentence. (GH-116284) (#116332) Remove sentence in Tools/c-analyzer/README referring to deleted ignore-globals.txt. (cherry picked from commit 88b5c665ee1624af1bc5097d3eb2af090b9cabed) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 04 March 2024, 22:27:14 UTC
8ee7e91 [3.11] gh-115320: Refactor `get_hash_info` in `sysmodule.c` not to swallow errors (GH-115321) (#116324) gh-115320: Refactor `get_hash_info` in `sysmodule.c` not to swallow errors (GH-115321) (cherry picked from commit 207030f5527d405940b79c10c1413c1e8ff696c1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 04 March 2024, 21:12:27 UTC
e559528 [3.11] Docs: update using/configure.rst (GH-116274) (#116277) 04 March 2024, 20:57:35 UTC
1cc1d08 [3.11] GH-116271 Docs: provide clarification for object assignments in the Tutorial section (GH-116283) (#116306) Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 04 March 2024, 12:28:21 UTC
b6077aa gh-104711: Add security warning to the CGIHTTPRequestHandler document (GH-115915) (cherry picked from commit dac8ff4c401f75e65a5eef1514f2d7987e63bbfe) 04 March 2024, 11:54:46 UTC
f068522 [3.11] gh-116296: Fix refleak in reduce_newobj() corner case (GH-116297) (#116300) (cherry picked from commit 17c4849981905fb1c9bfbb2b963b6ee12e3efb2c) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com> 04 March 2024, 10:04:21 UTC
7dfde84 [3.11] gh-116281: Remove wrong '\' from '\*' in some doc signatures (GH-116282) (#116289) gh-116281: Remove wrong '\' from '\*' in some doc signatures (#116282) (cherry picked from commit 4859ecb8609b51e2f6b8fb1b295e9ee0f83e1be6) Co-authored-by: HarryLHW 123lhw321@gmail.com 03 March 2024, 20:32:56 UTC
8bfbeeb [3.11] gh-112281: Allow `Union` with unhashable `Annotated` metadata (GH-112283) (#116288) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 03 March 2024, 20:20:01 UTC
6c2484b [3.11] gh-116010: Remove link to deprecated PEP 6 in FAQ guide (GH-116246) (#116287) Co-authored-by: Iman Tabrizian <iman.tabrizian@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 03 March 2024, 19:56:24 UTC
d3756ed [3.11] gh-115809: Improve TimedRotatingFileHandler.getFilesToDelete() (GH-115812) (GH-116262) Improve algorithm for computing which rolled-over log files to delete in logging.TimedRotatingFileHandler. It is now reliable for handlers without namer and with arbitrary deterministic namer that leaves the datetime part in the file name unmodified. (cherry picked from commit 87faec28c78f6fa8eaaebbd1ababf687c7508e71) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 03 March 2024, 08:01:52 UTC
82e7692 [3.11] gh-72971: Clarify the special no-TypeError behavior for equality (GH-110729) (#116255) (cherry picked from commit 67f742e03aacb6217c5bb496e31f96dbf31c6f86) Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> 03 March 2024, 00:56:19 UTC
9485566 [3.11] gh-114494: Change logging docstring to bool for exec_info (GH-114558) (GH-116242) (cherry picked from commit 07236f5b39a2e534cf190cd4f7c73300d209520b) Co-authored-by: Tristan Pank <tristanpank@gmail.com> 02 March 2024, 13:40:17 UTC
862775b [3.11] GH-115978: Disable `*readv()` and `*writev()` on WASI (GH-116228) (GH-116232) GH-115978: Disable `*readv()` and `*writev()` on WASI (GH-116228) Wasmtime doesn't implement these functions in a way to pass test_posix (https://github.com/bytecodealliance/wasmtime/issues/7830). (cherry picked from commit 5dc8c84d397110f9edfa56793ad8887b1f176d79) Co-authored-by: Brett Cannon <brett@python.org> 02 March 2024, 01:13:39 UTC
ac8d995 [3.11] gh-116035: Document that both tzinfo and fold are ignored in comparisons if tzinfo is the same (GH-116187) (GH-116217) This mostly restores information removed in c12240ed28aac6494750e00143bc550c4d6d8ad1 (GH-114749). (cherry picked from commit 05b04903a14279421ecdc6522b8202822de6ebb5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 01 March 2024, 17:26:49 UTC
c363936 [3.11] gh-88352: Fix logging.TimedRotatingFileHandler (GH-116191) (GH-116209) * Do not overwrite already rolled over files. It happened at midnight or during the DST change and caused the loss of data. * computeRollover() now always return the timestamp larger than the specified time. * Fix computation of the rollover time during the DST change. (cherry picked from commit fee86fd9a422612b39e5aabf2571b8fe4abac770) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 01 March 2024, 16:41:58 UTC
9eb7ed7 [3.11] gh-104219: Document that idunders can return NotImplemented (GH-104220) (#116211) (cherry picked from commit 2713c2abc8d0f30cd0060cd307bb4ec92f1f04bf) Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 01 March 2024, 16:09:02 UTC
677356b gh-115554: Improved logic for handling multiple existing py.exe launcher installs (GH-116201) 01 March 2024, 13:42:46 UTC
726c117 [3.11] gh-101293: Fix support of custom callables and types in inspect.Signature.from_callable() (GH-115530) (GH-116197) Support callables with the __call__() method and types with __new__() and __init__() methods set to class methods, static methods, bound methods, partial functions, and other types of methods and descriptors. Add tests for numerous types of callables and descriptors. (cherry picked from commit 59167c962efcae72e8d88aa4b33062ed3de4f120) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 01 March 2024, 12:55:14 UTC
8813e5a [3.11] gh-115811: Update documentation to add some Logger attributes. (GH-116109) (GH-116186) (cherry picked from commit 3b6f4cadf19e6a4edd2cbbbc96a0a4024b395648) 01 March 2024, 08:58:24 UTC
7181727 [3.11] gh-115881: Document feature_version limitations (#115980) (#116174) 01 March 2024, 01:56:53 UTC
f1d08c2 [3.11] gh-116026: Try disabling rebuilds of dependents in Homebrew (GH-116027) (#116157) (cherry picked from commit 02beb9f0208d22fd8bd893e6e6ec813f7e51b235) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 01 March 2024, 00:02:39 UTC
d3282f5 [3.11] gh-87115: Set `__main__.__spec__` to `None` in pdb (GH-116141) (#116155) * gh-87115: Set `__main__.__spec__` to `None` in pdb (#116141) (cherry picked from commit ccfc042bbf31e53c44b8aae444afd8365b798422) * [3.11] gh-87115: Set `__main__.__spec__` to `None` in pdb (GH-116141) (cherry picked from commit ccfc042bbf31e53c44b8aae444afd8365b798422) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> 29 February 2024, 23:24:32 UTC
da34d55 [3.11] Fix rendering of null character in ast.rst (GH-116080) (#116161) Fix rendering of null character in ast.rst (GH-116080) (cherry picked from commit c04a981ff414b101736688773dbe24f824ca32ce) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 29 February 2024, 22:42:31 UTC
8014ffd [3.11] gh-73580: Docs for tunnelling TLS through TLS (GH-22539) (GH-116150) (cherry picked from commit 91c3c64237f56bde9d1c1b8127fdcb02a112b5a4) Co-authored-by: Carl Bordum Hansen <carl@bordum.dk> 29 February 2024, 21:03:59 UTC
f4efc13 [3.11] Docs: mark up NotImplemented using the :data: role throughout the docs (GH-116135) (#116148) (cherry picked from commit dbe44f150cd161bd327ed662e527a4c93829fb3e) Co-authored-by: Erlend E. Aasland <erlend@python.org> 29 February 2024, 20:53:50 UTC
8643cfd [3.11] gh-72463: Fix ctypes/test_loading.py so that test_find reports skipped (GH-18312) (GH-116137) (cherry picked from commit 04d1000071b5eefd4b1dd69051aacad343da4b21) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com> 29 February 2024, 19:48:38 UTC
9db482c [3.11] gh-116103: Prevent error in WindowsLoadTracker.__del__ on permission error (GH-116105) (GH-116121) gh-116103: Prevent error in WindowsLoadTracker.__del__ on permission error (GH-116105) (cherry picked from commit 186fa9387669bcba6d3974a99c012c2b2c6fb4ce) gh-116103: Prevent error in WindowsLoadTracker.__del__ if there was a permission error Co-authored-by: Petr Viktorin <encukou@gmail.com> 29 February 2024, 14:44:55 UTC
6e32837 [3.11] gh-115937: Remove implementation details from inspect.signature() docs (GH-116086) (#116107) gh-115937: Remove implementation details from inspect.signature() docs (GH-116086) (cherry picked from commit fb2e17b642fc3089e4f98e4bf6b09dd362e6b27d) Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 29 February 2024, 09:54:48 UTC
e7dc853 [3.11] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) Use of a proxy is intended to defer DNS for the hosts to the proxy itself, rather than a potential for information leak of the host doing DNS resolution itself for any reason. Proxy bypass lists are strictly name based. Most implementations of proxy support agree. (cherry picked from commit c43b26d02eaa103756c250e8d36829d388c5f3be) Co-authored-by: Weii Wang <weii.wang@canonical.com> 28 February 2024, 20:53:00 UTC
02bb367 [3.11] GH-115986 Reorder pprint docs and amend some references (#116019) (#116064) (cherry picked from commit 6c1c94dc517b77afcebb25436a4b7b0d13b6eb4d) Introduce a new subsubsection, 'Functions', for module level functions, and place it before the PrettyPrinter class reference. Also: - Fix pprint.pprint() references so they properly link to the module level function. - Add links to sys.stdout. Co-authored-by: Kerim Kabirov <39376984+Privat33r-dev@users.noreply.github.com> 28 February 2024, 20:11:12 UTC
99ab0d4 [3.11] gh-116034: fix location info on the error of a failed assertion (#116052) 28 February 2024, 19:12:16 UTC
f225740 [3.11] doc: Use super() in subclassed JSONEncoder examples (GH-115565) (GH-116046) doc: Use super() in subclassed JSONEncoder examples (GH-115565) Replace calls to `json.JSONEncoder.default(self, obj)` by `super().default(obj)` within the examples of the documentation. (cherry picked from commit 647053fed182066d3b8c934fb0bf52ee48ff3911) Co-authored-by: Jan Max Meyer <jmm@phorward.de> 28 February 2024, 14:08:40 UTC
becc615 [3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963) (GH-116039) * Increase coverage for compressed file-like objects initialized with a file name, an open file object, a file object opened by file descriptor, and a file-like object without name and mode attributes (io.BytesIO) * Increase coverage for name, fileno(), mode, readable(), writable(), seekable() in different modes and states * No longer skip tests with bytes names * Test objects implementing the path protocol, not just pathlib.Path. (cherry picked from commit e72576c48b8be1e4f22c2f387f9769efa073c5be) 28 February 2024, 09:38:39 UTC
4007086 [3.11] gh-112006: Fix inspect.unwrap() for types where __wrapped__ is a data descriptor (GH-115540) (GH-115965) (cherry picked from commit 68c79d21fa791d7418a858b7aa4604880e988a02) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 February 2024, 18:35:55 UTC
eb13ac6 [3.11] bpo-43952: Fix multiprocessing Listener authkey bug (GH-25845) (GH-115994) Listener.accept() no longer hangs when authkey is an empty bytes object. (cherry picked from commit 686ec17f506cddd0b14a8aad5849c15ffc20ed46) Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com> 27 February 2024, 16:14:01 UTC
cccd73d [3.11] gh-115315: Update time.rst to include microseconds field (%f) in chart (GH-115316) (#115991) Co-authored-by: Tahoma Software <bacon@tahoma.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 27 February 2024, 13:40:33 UTC
c562f5a [3.11] bpo-44865: Fix yet one missing translations in argparse (GH-27668) (GH-115975) (cherry picked from commit 6087315926fb185847a52559af063cc7d337d978) Co-authored-by: Jérémie Detrey <jdetrey@users.noreply.github.com> 26 February 2024, 23:14:32 UTC
f8a6a1c [3.11] gh-77956: Add the words 'default' and 'version' help text localizable (GH-12711) (GH-115968) (cherry picked from commit da382aaf52d761a037874bee27bb5db69906df9e) Co-authored-by: paul.j3 Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com> Co-authored-by: Jérémie Detrey <jdetrey@users.noreply.github.com> 26 February 2024, 21:36:57 UTC
46f821d [3.11] gh-114763: Protect lazy loading modules from attribute access races (GH-114781) (GH-115871) gh-114763: Protect lazy loading modules from attribute access races (GH-114781) Setting the __class__ attribute of a lazy-loading module to ModuleType enables other threads to attempt to access attributes before the loading is complete. Now that is protected by a lock. (cherry picked from commit 200271c61db44d90759f8a8934949aefd72d5724) Co-authored-by: Chris Markiewicz <effigies@gmail.com> 26 February 2024, 20:50:55 UTC
a30a1e7 [3.11] gh-115881: Ensure `ast.parse()` parses conditional context managers even with low `feature_version` passed (#115920) (#115960) 26 February 2024, 16:27:51 UTC
35a43d4 [3.11] gh-115823: Calculate correctly error locations when dealing with implicit encodings (GH-115824) (#115950) gh-115823: Calculate correctly error locations when dealing with implicit encodings (GH-115824) (cherry picked from commit 015b97d19a24a169cc3c0939119e1228791e4253) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 26 February 2024, 16:08:37 UTC
0f7f5a4 [3.11] Doc: Clarify the return type of Event.wait when timeout is used (GH-104168) (GH-115939) (cherry picked from commit 37f5d06b1bf830048c09ed967bb2cda945d56541) Co-authored-by: Phil Elson <pelson.pub@gmail.com> 26 February 2024, 09:59:32 UTC
392bc9a [3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.1.rst` (GH-112357) (#115933) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 26 February 2024, 06:55:56 UTC
f822070 [3.11] gh-115921: Change 'equation' to 'expression' in random.rst (GH-115927) (#115929) In uniform function entry. (cherry picked from commit de0b4f95cbfe1f868514029289597204074c05c8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 26 February 2024, 03:57:48 UTC
2110ae8 [3.11] gh-101100: Fix broken xrefs in fcntl module doc (GH-115691) (#115925) * clean up fcntl module doc * simplify * a few changes, based on suggestion by CAM-Gerlach * nitpick ignore for a couple other C functions mentioned in the fcntl module doc * more changes, especially related to LOCK_* constants * :data: back to :const: * Apply suggestions from code review --------- (cherry picked from commit 84a275c4a2c8a22d198c6f227d538e6b27bbb029) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 26 February 2024, 01:32:52 UTC
6324d9b [3.11] gh-103417: Fix the scheduler example (GH-111497) (GH-115909) Arguments to enterabs() are specified as Unix time. If the scheduler use the time.monotonic timer, the code will take decades to complete. (cherry picked from commit cb287d342139509e03a2dbe5ea2608627fd3a350) Co-authored-by: mauricelambert <50479118+mauricelambert@users.noreply.github.com> 25 February 2024, 12:04:47 UTC
back to top