summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* gh-119310: Fix encoding when reading old history file (#121779)aorcajo2024-09-064-6/+59
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-123780: Make test_pkgutil clean up `spam` module (GH-123036)Malcolm Smith2024-09-061-4/+10
|
* Fix typo in error message misspelling __slotnames__ (GH-115772)Jay Aljelo Ting2024-09-061-1/+1
|
* gh-123657: Fix crash and refleak in `decimal.getcontext()` (GH-123703)neonene2024-09-062-10/+18
|
* gh-119034, REPL: Change page up/down keys to search in history (#123607)Victor Stinner2024-09-065-4/+113
| | | | | | Change <page up> and <page down> keys of the Python REPL to history search forward/backward. Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-111201: fix auto-indent in pyrepl for muliple pound comments (#123196)Arnon Yaari2024-09-062-1/+19
|
* gh-103066: Add links and `help` in site.py constants (#103777)David Caron2024-09-062-2/+12
| | | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Ensure clang++ is autodetected on iOS. (gh-123749)Russell Keith-Magee2024-09-062-6/+6
|
* gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754)Peter Bierma2024-09-061-6/+16
|
* gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 ↵Furkan Onder2024-09-062-3/+3
| | | | | (#123719) Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 in Lib_Memzero0.c.