Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-123942: add missing test for docstring-handling code in ast_opt.c (#123943) | Irit Katriel | 2024-09-11 | 1 | -0/+26 |
| | |||||
* | gh-123919: Fix null handling in `_freeze_module.c` (#123920) | sobolevn | 2024-09-11 | 1 | -0/+11 |
| | |||||
* | Fix invisible character typo (#123933) | Xie Yanbo | 2024-09-11 | 1 | -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 Kirpichev | 2024-09-11 | 1 | -5/+5 |
| | |||||
* | gh-77894: Fix a crash when the GC breaks a loop containing a memoryview ↵ | Serhiy Storchaka | 2024-09-11 | 4 | -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 ↵ | adang1345 | 2024-09-10 | 2 | -1/+2 |
| | | | | directories (GH-123918) | ||||
* | gh-123881: make compiler add the .generic_base base class without ↵ | Irit Katriel | 2024-09-10 | 3 | -47/+52 |
| | | | | | | constructing AST nodes (#123883) | ||||
* | gh-122239: Add actual count in unbalanced unpacking error message when ↵ | Tushar Sadhwani | 2024-09-10 | 4 | -3/+83 |
| | | | | possible (#122244) | ||||
* | gh-123165: update docs signature for `dis.disassemble` (#123808) | Bénédikt Tran | 2024-09-10 | 1 | -1/+2 |
| | |||||
* | gh-123905: Update TOML description to include version number (GH-123906) | Petr Viktorin | 2024-09-10 | 1 | -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 Bierma | 2024-09-10 | 1 | -4/+5 |
| | |||||
* | gh-123892: Add "_wmi" to sys.stdlib_module_names (#123893) | Victor Stinner | 2024-09-10 | 3 | -0/+3 |
| | |||||
* | gh-123881: Add additional test coverage for PEP 695 edge cases (#123886) | Jelle Zijlstra | 2024-09-10 | 1 | -0/+17 |
| | |||||
* | Small improvements to the itertools docs (GH-123885) | Raymond Hettinger | 2024-09-10 | 2 | -8/+26 |
| | |||||
* | gh-66449: remove duplicate configparser section in 3.13 whatsnew (#123874) | Anthony Sottile | 2024-09-09 | 1 | -8/+0 |
| | |||||
* | gh-122213: Add notes for pickle serialization errors (GH-122214) | Serhiy Storchaka | 2024-09-09 | 5 | -100/+443 |
| | | | | This allows to identify the source of the error. | ||||
* | gh-123826: Fix unused function warnings in mimalloc on NetBSD (#123827) | Furkan Onder | 2024-09-09 | 1 | -2/+2 |
| | |||||
* | gh-121404: split compile.c into compile.c and codegen.c (#123651) | Irit Katriel | 2024-09-09 | 11 | -6647/+6657 |
| | |||||
* | gh-84808: socket.connect_ex: Handle negative errno (GH-122304) | Jérôme Duval | 2024-09-09 | 2 | -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 Snow | 2024-09-09 | 5 | -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) | sobolevn | 2024-09-09 | 1 | -4/+6 |
| | |||||
* | Fix typos (#123775) | algonell | 2024-09-09 | 43 | -59/+59 |
| | |||||
* | gh-123823: Fix test_posix for unsupported posix_fallocate on NetBSD (#123824) | Furkan Onder | 2024-09-09 | 1 | -1/+3 |
| | | | Fix test_posix for unsupported posix_fallocate on NetBSD. | ||||
* | gh-122311: Improve and unify pickle errors (GH-122771) | Serhiy Storchaka | 2024-09-09 | 4 | -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 Tran | 2024-09-09 | 1 | -0/+1 |
| | |||||
* | chore: decimal module macro cleanup (#123791) | Bénédikt Tran | 2024-09-09 | 1 | -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 Turner | 2024-09-09 | 4 | -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 Na | 2024-09-08 | 1 | -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 Kirpichev | 2024-09-08 | 6 | -120/+65 |
| | | | | (GH-121071) | ||||
* | gh-123789: `secrets.randbits` returns only non-negative int (#123801) | Wulian | 2024-09-08 | 1 | -1/+1 |
| | |||||
* | Add willingc to CODEOWNERS for Lang Reference Doc (#123812) | Carol Willing | 2024-09-07 | 1 | -0/+3 |
| | |||||
* | Remove excessive backticks in logging doc (#123813) | Wei-Hsiang (Matt) Wang | 2024-09-07 | 1 | -2/+2 |
| | |||||
* | gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 ↵ | Seth Michael Larson | 2024-09-07 | 3 | -0/+42 |
| | | | | | | (GH-122793) Make IPv4-mapped IPv6 address properties consistent with IPv4. | ||||
* | gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) | Łukasz Langa | 2024-09-06 | 8 | -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 Gross | 2024-09-06 | 2 | -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 Manju | 2024-09-06 | 2 | -10/+9 |
| | |||||
* | gh-109975: Add links to py-free-threading.github.io (#123776) | Nathan Goldbaum | 2024-09-06 | 2 | -0/+10 |
| | | | Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | gh-123523: Rework typing documentation for generators and coroutines, and ↵ | Stanislav Terliakov | 2024-09-06 | 2 | -101/+112 |
| | | | | link to it from `collections.abc` docs (#123544) | ||||
* | gh-121645: Fix typo in PyBytes_Join() doc (#123783) | Victor Stinner | 2024-09-06 | 1 | -1/+1 |
| | |||||
* | gh-123747: Avoid static_assert() in internal header files (#123779) | Victor Stinner | 2024-09-06 | 2 | -4/+9 |
| | |||||
* | gh-119310: Fix encoding when reading old history file (#121779) | aorcajo | 2024-09-06 | 4 | -6/+59 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-123780: Make test_pkgutil clean up `spam` module (GH-123036) | Malcolm Smith | 2024-09-06 | 1 | -4/+10 |
| | |||||
* | Fix typo in error message misspelling __slotnames__ (GH-115772) | Jay Aljelo Ting | 2024-09-06 | 1 | -1/+1 |
| | |||||
* | gh-123657: Fix crash and refleak in `decimal.getcontext()` (GH-123703) | neonene | 2024-09-06 | 2 | -10/+18 |
| | |||||
* | gh-119034, REPL: Change page up/down keys to search in history (#123607) | Victor Stinner | 2024-09-06 | 5 | -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 Yaari | 2024-09-06 | 2 | -1/+19 |
| | |||||
* | gh-103066: Add links and `help` in site.py constants (#103777) | David Caron | 2024-09-06 | 2 | -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-Magee | 2024-09-06 | 2 | -6/+6 |
| | |||||
* | gh-123275: Add tests for `PYTHON_GIL=1` and `-Xgil=1` (gh-123754) | Peter Bierma | 2024-09-06 | 1 | -6/+16 |
| | |||||
* | gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 ↵ | Furkan Onder | 2024-09-06 | 2 | -3/+3 |
| | | | | | (#123719) Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 in Lib_Memzero0.c. |