summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-111997: update what's new in 3.13 re C API for monitoring events (#123822)Irit Katriel2024-09-121-0/+4
|
* gh-123935: Fix typo in `_get_slots` in `dataclasses.py` (#123941)sobolevn2024-09-123-1/+22
|
* gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 ↵Malcolm Smith2024-09-122-6/+25
| | | | | (#123981) Use SIGUSR1 instead of SIGUSR2 to improve reliability of signal stress test on Android.
* gh-121735: Fix module-adjacent references in zip files (#123037)Jason R. Coombs2024-09-1240-261/+223
| | | | | | | | | | | | | | | * gh-116608: Apply style and compatibility changes from importlib_metadata. * gh-121735: Ensure module-adjacent resources are loadable from a zipfile. * gh-121735: Allow all modules to be processed by the ZipReader. * Add blurb * Remove update-zips script, unneeded. * Remove unnecessary references to removed static fixtures. * Remove zipdata fixtures, unused.
* Fix "The Matrix" movie release year in `typing.rst` (#123965)sobolevn2024-09-111-1/+1
|
* Update Sphinx Lint and fix unnecessary parentheses in `:func:`s (#123960)Hugo van Kemenade2024-09-113-6/+6
|
* gh-123958: apply docstring removal optimization in ast_opt instead of ↵Irit Katriel2024-09-115-23/+47
| | | | codegen (#123959)
* gh-123290: fix reference leaks in the error-branches of `_cursesmodule.c` ↵Bénédikt Tran2024-09-111-147/+211
| | | | (#123953)
* gh-108951: Document how to terminate an asyncio.TaskGroup (#123837)Bénédikt Tran2024-09-111-0/+47
| | | | | We don't want to add another API, since the recipe is straightforward and rarely needed. The advantage is that we could backport this to the earliest Python version that has taskgroups (3.11, alas in security mode already, so we'll just do 3.12 and 3.13).
* gh-119180: Documentation for PEP 649 and 749 (#122235)Jelle Zijlstra2024-09-1111-104/+680
| | | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-123942: add missing test for docstring-handling code in ast_opt.c (#123943)Irit Katriel2024-09-111-0/+26
|
* gh-123919: Fix null handling in `_freeze_module.c` (#123920)sobolevn2024-09-111-0/+11
|
* Fix invisible character typo (#123933)Xie Yanbo2024-09-111-1/+1
| | | | Remove accidental addition of zero-width character (U+FEFF) reported by @jaraco: - https://github.com/python/cpython/commit/c3f4a6b52418d9b9f091f864cb6340d0d5fc6966#commitcomment-146456562
* gh-123811: test that round() can return signed zero (#123829)Sergey B Kirpichev2024-09-111-5/+5
|
* gh-77894: Fix a crash when the GC breaks a loop containing a memoryview ↵Serhiy Storchaka2024-09-114-33/+57
| | | | | | | (GH-123898) Now a memoryview object can only be cleared if there are no buffers that refer it.
* gh-123915: Ensure that Windows AMD64 and ARM64 release builds use different ↵adang13452024-09-102-1/+2
| | | | directories (GH-123918)
* gh-123881: make compiler add the .generic_base base class without ↵Irit Katriel2024-09-103-47/+52
| | | | | | constructing AST nodes (#123883)
* gh-122239: Add actual count in unbalanced unpacking error message when ↵Tushar Sadhwani2024-09-104-3/+83
| | | | possible (#122244)
* gh-123165: update docs signature for `dis.disassemble` (#123808)Bénédikt Tran2024-09-101-1/+2
|
* gh-123905: Update TOML description to include version number (GH-123906)Petr Viktorin2024-09-101-1/+1
| | | | | | | Update TOML description to include version number There is some movement, currently blocked, that would update the TOML spec to 1.1.0; this would include breaking changes to what characters are allowed. Thus, it is worthwhile for the library page to be clear which version is implemented here. Co-authored-by: Paul Hoffman <phoffman@proper.com>
* gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778)Peter Bierma2024-09-101-4/+5
|
* gh-123892: Add "_wmi" to sys.stdlib_module_names (#123893)Victor Stinner2024-09-103-0/+3
|
* gh-123881: Add additional test coverage for PEP 695 edge cases (#123886)Jelle Zijlstra2024-09-101-0/+17
|
* Small improvements to the itertools docs (GH-123885)Raymond Hettinger2024-09-102-8/+26
|
* gh-66449: remove duplicate configparser section in 3.13 whatsnew (#123874)Anthony Sottile2024-09-091-8/+0
|
* gh-122213: Add notes for pickle serialization errors (GH-122214)Serhiy Storchaka2024-09-095-100/+443
| | | | This allows to identify the source of the error.
* gh-123826: Fix unused function warnings in mimalloc on NetBSD (#123827)Furkan Onder2024-09-091-2/+2
|
* gh-121404: split compile.c into compile.c and codegen.c (#123651)Irit Katriel2024-09-0911-6647/+6657
|
* gh-84808: socket.connect_ex: Handle negative errno (GH-122304)Jérôme Duval2024-09-092-2/+20
| | | | | POSIX allows errno to be negative. Even though all currently supported platforms have non-negative errno, relying on a quirk like that would make Python less portable.
* gh-117482: Simplify the Fix For Builtin Types Slot Wrappers (GH-122865)Eric Snow2024-09-095-42/+38
| | | | | | | | | | | | | | | | | In gh-121602, I applied a fix to a builtin types initialization bug. That fix made sense in the context of some broader future changes, but introduced a little bit of extra complexity. That fix has turned out to be incomplete for some of the builtin types we haven't been testing. I found that out while improving the tests. A while back, @markshannon suggested a simpler fix that doesn't have that problem, which I've already applied to 3.12 and 3.13. I'm switching to that here. Given the potential long-term benefits of the more complex (but still incomplete) approach, I'll circle back to it in the future, particularly after I've improved the tests so no corner cases slip through the cracks. (This is effectively a "forward-port" of 716c677 from 3.13.)
* Mention `curl` in `contextvars` docs (#123838)sobolevn2024-09-091-4/+6
|
* Fix typos (#123775)algonell2024-09-0943-59/+59
|
* gh-123823: Fix test_posix for unsupported posix_fallocate on NetBSD (#123824)Furkan Onder2024-09-091-1/+3
| | | Fix test_posix for unsupported posix_fallocate on NetBSD.
* gh-122311: Improve and unify pickle errors (GH-122771)Serhiy Storchaka2024-09-094-223/+249
| | | | | | | | | | | | | * Raise PicklingError instead of UnicodeEncodeError, ValueError and AttributeError in both implementations. * Chain the original exception to the pickle-specific one as __context__. * Include the error message of ImportError and some AttributeError in the PicklingError error message. * Unify error messages between Python and C implementations. * Refer to documented __reduce__ and __newobj__ callables instead of internal methods (e.g. save_reduce()) or pickle opcodes (e.g. NEWOBJ). * Include more details in error messages (what expected, what got). * Avoid including a potentially long repr of an arbitrary object in error messages.
* gh-123834: Add `symtable` to the list of modules with a CLI (#123835)Bénédikt Tran2024-09-091-0/+1
|
* chore: decimal module macro cleanup (#123791)Bénédikt Tran2024-09-091-78/+79
| | | | | | | | | | | | | * protect macros expansion via `do { ... } while (0)` constructions in `_decimal.c` * Use public macro `Py_UNUSED` This replaces the usages of the `UNUSED` macro which was not consistent with the `Py_UNUSED` macro itself. In addition, this amends the parameter names so that they match their semantic meanings. * Remove redundant `PyCFunction` casts
* gh-123843: Remove broken links to the Zope DateTimeWiki (#123846)Adam Turner2024-09-094-15/+10
| | | Co-authored-by: Conrad Bhuiyan-Volkoff <hi@cbv.im>
* gh-108219: Add credits to the free-threading entry in What's New (#123802)Donghee Na2024-09-081-0/+10
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Itamar Oren <itamarost@gmail.com>
* gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase ↵Sergey B Kirpichev2024-09-086-120/+65
| | | | (GH-121071)
* gh-123789: `secrets.randbits` returns only non-negative int (#123801)Wulian2024-09-081-1/+1
|
* Add willingc to CODEOWNERS for Lang Reference Doc (#123812)Carol Willing2024-09-071-0/+3
|
* Remove excessive backticks in logging doc (#123813)Wei-Hsiang (Matt) Wang2024-09-071-2/+2
|
* gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 ↵Seth Michael Larson2024-09-073-0/+42
| | | | | | (GH-122793) Make IPv4-mapped IPv6 address properties consistent with IPv4.
* gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795)Łukasz Langa2024-09-068-21/+133
| | | | | | | | | This switches the main pyrepl event loop to always be non-blocking so that it can listen to incoming interruptions from other threads. This also resolves invalid display of exceptions from other threads (gh-123178). This also fixes freezes with pasting and an active input hook.
* gh-123321: Make Parser/myreadline.c locking safe in free-threaded build ↵Sam Gross2024-09-062-25/+11
| | | | | | | (#123690) Use a `PyMutex` to avoid the race in mutex initialization. Use relaxed atomics to avoid the data race on reading `_PyOS_ReadlineTState` when checking for re-entrant calls.
* gh-117657: Fix file descriptor race in test_socket.py (#123697)Nadeshiko Manju2024-09-062-10/+9
|
* gh-109975: Add links to py-free-threading.github.io (#123776)Nathan Goldbaum2024-09-062-0/+10
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-123523: Rework typing documentation for generators and coroutines, and ↵Stanislav Terliakov2024-09-062-101/+112
| | | | link to it from `collections.abc` docs (#123544)
* gh-121645: Fix typo in PyBytes_Join() doc (#123783)Victor Stinner2024-09-061-1/+1
|
* gh-123747: Avoid static_assert() in internal header files (#123779)Victor Stinner2024-09-062-4/+9
|