/Doc/whatsnew/

ustom https://github.com/python/cpython.git
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.11] gh-110534 fix a URL redirect to wikipedia article on Fibonacci ↵Miss Islington (bot)2023-10-091-1/+1
| | | | | | | | numbers (GH-110535) (#110537) gh-110534 fix a URL redirect to wikipedia article on Fibonacci numbers (GH-110535) (cherry picked from commit 892ee72b3622de30acd12576b59259fc69e2e40a) Co-authored-by: partev <petrosyan@gmail.com>
* [3.11] gh-110237: Check `PyList_Append` for errors in `_PyEval_MatchClass` ↵Miss Islington (bot)2023-10-082-3/+12
| | | | | | | | (GH-110238) (#110512) gh-110237: Check `PyList_Append` for errors in `_PyEval_MatchClass` (GH-110238) (cherry picked from commit dd9d781da30aa3740e54c063a40413c542d78c25) Co-authored-by: denballakh <47365157+denballakh@users.noreply.github.com>
* [3.11] gh-109848: Make test_rot13_func in test_codecs independent ↵Miss Islington (bot)2023-10-071-1/+2
| | | | | | | (GH-109850) (GH-110505) (cherry picked from commit b987fdb19b981ef6e7f71b41790b5ed4e2064646) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-109864: Make test_gettext tests order independent (GH-109866) ↵Miss Islington (bot)2023-10-071-2/+13
| | | | | | | (GH-110503) (cherry picked from commit 1aad4fc5dba993899621de86ae5955883448d6f6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-109521: Fix obscure cases handling in PyImport_GetImporter() ↵Serhiy Storchaka2023-10-072-2/+18
| | | | | | | | | | (GH-109522) (GH-109781) PyImport_GetImporter() now sets RuntimeError if it fails to get sys.path_hooks or sys.path_importer_cache or they are not list and dict correspondingly. Previously it could return NULL without setting error in obscure cases, crash or raise SystemError if these attributes have wrong type. (cherry picked from commit 62c7015e89cbdedb5218d4fedd45f971885f67a8)
* [3.11] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110474)Miss Islington (bot)2023-10-061-1/+1
| | | | Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
* [3.11] gh-110184: Fix subprocess test_pipesize_default() (GH-110465) (#110472)Miss Islington (bot)2023-10-061-18/+23
| | | | | | | | | | gh-110184: Fix subprocess test_pipesize_default() (GH-110465) For proc.stdin, get the size of the read end of the test pipe. Use subprocess context manager ("with proc:"). (cherry picked from commit d023d4166b255023dac448305270350030101481) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] Add support.MS_WINDOWS constant (#110446) (#110452) (#110464)Victor Stinner2023-10-0610-22/+27
| | | | | | | | [3.12] Add support.MS_WINDOWS constant (#110446) (#110452) Add support.MS_WINDOWS constant (#110446) (cherry picked from commit e0c44377935de3491b2cbe1e5f87f8b336fdc922) (cherry picked from commit e188534607761af1f8faba483ce0b1e8578c73e5)
* [3.11] gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451) (#110457)Miss Islington (bot)2023-10-062-14/+22
| | | | | | | | | | | | | | | | gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451) Fix test_tools.test_freeze on FreeBSD: run "make distclean" instead of "make clean" in the copied source directory to remove also the "python" program. Other test_freeze changes: * Log executed commands and directories, and the current directory. * No longer uses make -C option to change the directory, instead use subprocess cwd parameter. (cherry picked from commit a4baa9e8ac62cac3ea6363b15ea585b1998ea1f9) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-103053: Fix make check-clean-src: check "python" program ↵Miss Islington (bot)2023-10-062-1/+5
| | | | | | | | | | | (GH-110449) (#110454) gh-103053: Fix make check-clean-src: check "python" program (GH-110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist. (cherry picked from commit a155f9f3427578ca5706d27e20bd0576f0395073) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-109888: Fix test_os _kill_with_event() on Windows (GH-110421) ↵Miss Islington (bot)2023-10-051-23/+27
| | | | | | | | | | | | | | | | | | | | (#110443) gh-109888: Fix test_os _kill_with_event() on Windows (GH-110421) Replace os.kill() with proc.kill() which catchs PermissionError. Rewrite _kill_with_event(): * Use subprocess context manager ("with proc:"). * Use sleeping_retry() to wait until the child process is ready. * Replace SIGINT with proc.kill() on error. * Replace 10 seconds with SHORT_TIMEOUT to wait until the process is ready. * Replace 0.5 seconds with SHORT_TIMEOUT to wait for the process exit. (cherry picked from commit aaf297c048694cd9652790f8b74e69f7ddadfbde) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-110393: Remove watchdog with hardcoded timeout (GH-110400) (#110444)Miss Islington (bot)2023-10-052-9/+0
| | | | | | | | | | | | | gh-110393: Remove watchdog with hardcoded timeout (GH-110400) test_builtin and test_socketserver no longer use signal.alarm() to implement a watchdog with a hardcoded timeout (2 and 60 seconds). Python test runner regrtest has two watchdogs: faulthandler and timeout on running worker processes. Tests using short hardcoded timeout can fail on slowest buildbots just because the timeout is too short. (cherry picked from commit 1328fa31fe9c72748fc6fd11d017c82aafd48a49) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] [3.12] gh-110167: Increase support.LOOPBACK_TIMEOUT to 10 seconds ↵Miss Islington (bot)2023-10-052-14/+11
| | | | | | | | | | | | | | | | | | | (GH-110413) (GH-110427) (#110440) [3.12] gh-110167: Increase support.LOOPBACK_TIMEOUT to 10 seconds (GH-110413) (GH-110427) gh-110167: Increase support.LOOPBACK_TIMEOUT to 10 seconds (GH-110413) Increase support.LOOPBACK_TIMEOUT from 5 to 10 seconds. Also increase the timeout depending on the --timeout option. For example, for a test timeout of 40 minutes (ARM Raspbian 3.x), use LOOPBACK_TIMEOUT of 20 seconds instead of 5 seconds before. (cherry picked from commit 350d89b79588ebd140c3987cc05e3719ca17a973) Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 0db2f1475e6539e1954e1f8bd53e005c3ecd6a26) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-110429: Fix race condition in "make regen-all" (GH-110433) (#110439)Miss Islington (bot)2023-10-051-2/+2
| | | | | | | | | | | gh-110429: Fix race condition in "make regen-all" (GH-110433) "make regen-pegen" now creates a temporary file called "parser.c.new" instead of "parser.new.c". Previously, if "make clinic" was run in parallel with "make regen-all", clinic may try but fail to open "parser.new.c" if the temporay file was removed in the meanwhile. (cherry picked from commit fb6c4ed2bbb2a867d5f0b9a94656e4714be5d9c2) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.11] gh-110383: Swap 'the all' -> 'all the' in socket docs (GH-110434) ↵Miss Islington (bot)2023-10-051-1/+1
| | | | | | (#110436) Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
* [3.11] gh-109840: Fix multiprocessing test_waitfor_timeout() (GH-110428) ↵Miss Islington (bot)2023-10-05