Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-121698 Emscripten: Use updated WebAssembly type reflection proposal ↵ | Hood Chatham | 2024-07-14 | 1 | -2/+12 | |
| | | | | (GH-121699) | |||||
* | gh-121700 Emscripten trampolines not quite right since #106219 (GH-121701) | Hood Chatham | 2024-07-14 | 1 | -7/+1 | |
| | ||||||
* | gh-121562: optimized hex_from_char (#121563) | Bruno Lima | 2024-07-14 | 2 | -62/+34 | |
| | | | | | Performance improvement to `float.fromhex`: use a lookup table for computing the hexadecimal value of a character, in place of the previous switch-case construct. Patch by Bruno Lima. | |||||
* | gh-64308: Remove TestProgram from the unittest docs (GH-121675) | Jan Musílek | 2024-07-14 | 1 | -2/+2 | |
| | ||||||
* | gh-121708: Improve test coverage for `unittest.util` (GH-121713) | Tomas R | 2024-07-14 | 1 | -0/+33 | |
| | ||||||
* | gh-120642: Move _PyCode_CODE() to the internal C API (#121644) | Victor Stinner | 2024-07-13 | 2 | -3/+3 | |
| | | | | Move _PyCode_CODE() and _PyCode_NBYTES() macros to the internal C API since they use _Py_CODEUNIT which is only part of the internal C API. | |||||
* | gh-73159 Added clarifications in multiprocessing docs on that objects are ↵ | Ulrik Södergren | 2024-07-13 | 1 | -0/+10 | |
| | | | | | pickled. (GH-121686) Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes. | |||||
* | gh-121651: Fix pdb header test (#121724) | Tian Gao | 2024-07-13 | 1 | -0/+5 | |
| | ||||||
* | gh-121652: Handle `allocate_weakref` returning NULL (#121653) | Sam Gross | 2024-07-13 | 1 | -0/+7 | |
| | | | | The `allocate_weakref` may return NULL when out of memory. We need to handle that case and propagate the error. | |||||
* | gh-121711: Set `-m asyncio` return_code to 1 for ENOTTY (#121714) | Milan Oberkirch | 2024-07-13 | 2 | -4/+5 | |
| | | | Set return_code to 1 for ENOTTY | |||||
* | gh-121657: Display correct error message for yield from outside of a ↵ | Gregor | 2024-07-13 | 3 | -1/+8 | |
| | | | | | | function (GH-121680) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | |||||
* | gh-120452: improve documentation about private name mangling (#120451) | Bénédikt Tran | 2024-07-13 | 3 | -15/+69 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-120823: Fix doc for ftplib.FTP.retrbinary() (GH-121697) | mirelagrigoras | 2024-07-13 | 1 | -1/+1 | |
| | | | Co-authored-by: Mirela Andreea GRIGORAS <magrigoras@bitdefender.com> | |||||
* | gh-121605: Increase timeout in test_pyrepl.run_repl (#121606) | Sam Gross | 2024-07-13 | 1 | -5/+8 | |
| | | | | We also need to close the `slave_fd` earlier so that reading from `master_fd` won't block forever when the subprocess finishes. | |||||
* | gh-121671: Increase test coverage of `ast.get_docstring` (GH-121674) | Tomas R | 2024-07-13 | 1 | -0/+9 | |
| | | | Increase test coverage for `ast.get_docstring` | |||||
* | gh-96765: Update ConfigParser.read() docs with multi-file read example (#121664) | Timon Viola | 2024-07-13 | 1 | -14/+44 | |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | gh-121499: Fix multi-line history rendering in the REPL (#121531) | Pablo Galindo Salgado | 2024-07-13 | 5 | -0/+62 | |
| | | | Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | gh-121609: Fix pasting of characters containing unicode character joiner ↵ | Marta Gómez Macías | 2024-07-13 | 3 | -1/+7 | |
| | | | | (#121667) | |||||
* | gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154) | Serhiy Storchaka | 2024-07-13 | 2 | -15/+57 | |
| | | | | | | * The result has type Py_ssize_t, not intptr_t. * Type cast between unsigned and signdet integer types should be explicit. * Downcasting should be explicit. * Fix integer overflow check in sum(). | |||||
* | gh-99242 Ignore error when running regression tests under certain ↵ | Bas Bloemsaat | 2024-07-13 | 2 | -1/+7 | |
| | | | | | conditions. (GH-121663) Co-Authored-By: Kevin Diem <kg.diem@gmail.com> | |||||
* | gh-121497: Make Pyrepl respect correctly the history with input hook set ↵ | Pablo Galindo Salgado | 2024-07-13 | 2 | -2/+4 | |
| | | | | (#121498) | |||||
* | gh-95144: Improve error message of `... in None` (GH-119888) | Zachary Ware | 2024-07-12 | 4 | -5/+18 | |
| | ||||||
* | Update retroactive comments from GH-117741 (segfault in ↵ | Savannah Ostrowski | 2024-07-12 | 2 | -13/+10 | |
| | | | | | `FutureIter_dealloc`) (GH-121638) Address comments | |||||
* | gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293) | Sam Gross | 2024-07-11 | 13 | -40/+77 | |
| | | | | | On POSIX systems, excluding macOS framework installs, the lib directory for the free-threaded build now includes a "t" suffix to avoid conflicts with a co-located default build installation. | |||||
* | gh-117482: Fix Builtin Types Slot Wrappers (gh-121602) | Eric Snow | 2024-07-11 | 4 | -10/+69 | |
| | | | When builtin static types are initialized for a subinterpreter, various "tp" slots have already been inherited (for the main interpreter). This was interfering with the logic in add_operators() (in Objects/typeobject.c), causing a wrapper to get created when it shouldn't. This change fixes that by preserving the original data from the static type struct and checking that. | |||||
* | gh-121332: Make AST node constructor check _attributes instead of hardcoding ↵ | Jelle Zijlstra | 2024-07-11 | 4 | -37/+67 | |
| | | | | attributes (#121334) | |||||
* | gh-121592: Make select.poll() and related objects thread-safe (#121594) | Sam Gross | 2024-07-11 | 2 | -22/+96 | |
| | | | | | | This makes select.poll() and kqueue() objects thread-safe in the free-threaded build. Note that calling close() concurrently with other functions is still not thread-safe due to races on file descriptors (gh-121544). | |||||
* | gh-121615: Improve `module.rst` C-API docs with better error descriptions ↵ | sobolevn | 2024-07-11 | 1 | -8/+15 | |
| | | | | (#121616) | |||||
* | gh-121450: Make inline breakpoints use the most recent pdb instance (#121451) | Tian Gao | 2024-07-11 | 5 | -1/+70 | |
| | ||||||
* | gh-121554: remove unnecessary internal functions in compile.c (#121555) | Irit Katriel | 2024-07-10 | 7 | -105/+12 | |
| | | | Co-authored-by: Erlend E. Aasland <erlend@python.org> | |||||
* | gh-119786: fix broken links in docs and comment (#121601) | Irit Katriel | 2024-07-10 | 2 | -3/+3 | |
| | ||||||
* | gh-121596: Fix Sharing Interpreter Channels (gh-121597) | Eric Snow | 2024-07-10 | 2 | -2/+20 | |
| | | | This fixes a mistake in gh-113012 and adds a test that verifies the fix. | |||||
* | gh-117657: Remove TSAN suppressions for _abc.c (#121508) | Sam Gross | 2024-07-10 | 1 | -2/+0 | |
| | | | | The functions look thread-safe and I haven't seen any warnings issued when running the tests locally. | |||||
* | gh-117657: Fix TSan race in _PyDict_CheckConsistency (#121551) | Sam Gross | 2024-07-10 | 2 | -17/+15 | |
| | | | | The only remaining race in dictobject.c was in _PyDict_CheckConsistency when the dictionary has shared keys. | |||||
* | gh-120198: Stop the world when setting __class__ on free-threaded build ↵ | Ken Jin | 2024-07-10 | 5 | -58/+65 | |
| | | | | (GH-120672) | |||||
* | gh-121460: Skip freeing unallocated arenas (gh-121491) | Stefano Rivera | 2024-07-10 | 1 | -0/+8 | |
| | | | | | `munmap(NULL)` is not noop, like `free(NULL)` is. Fixes an observed testsuite hang on 32-bit ARM systems. | |||||
* | gh-121404: remove some accesses to compiler internals from codegen functions ↵ | Irit Katriel | 2024-07-10 | 1 | -101/+120 | |
| | | | | (#121538) | |||||
* | gh-107851: Fix spurious failures in fcntl eintr tests (#121556) | Sam Gross | 2024-07-10 | 1 | -17/+20 | |
| | | | | | | | | | | On heavily loaded machines, the subprocess may finish its sleep before the parent process manages to synchronize with it via a failed lock. This leads to errors like: Exception: failed to sync child in 300.3 sec Use pipes instead to mutually synchronize between parent and child. | |||||
* | gh-89364: Export PySignal_SetWakeupFd() function (#121537) | Victor Stinner | 2024-07-10 | 2 | -1/+4 | |
| | | | | Export the PySignal_SetWakeupFd() function. Previously, the function was documented but it couldn't be used in 3rd party code. | |||||
* | gh-121567: Improve `slice` C-API docs by mentioning exceptions (#121568) | sobolevn | 2024-07-10 | 1 | -3/+5 | |
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-121547: deduplicate the code of const_cache update functions (#121548) | Irit Katriel | 2024-07-10 | 1 | -25/+22 | |
| | ||||||
* | gh-121571: Do not use `EnvironmentError` in tests, use `OSError` instead ↵ | sobolevn | 2024-07-10 | 2 | -2/+2 | |
| | | | | (#121572) | |||||
* | Improve zipimport tests (GH-121535) | Serhiy Storchaka | 2024-07-10 | 1 | -158/+138 | |
| | ||||||
* | GH-121439: Allow PyTupleObjects with an ob_size of 20 in the free_list to be ↵ | satori1995 | 2024-07-10 | 2 | -1/+2 | |
| | | | | reused (gh-121428) | |||||
* | GH-121521: Detect when wasmtime is not installed in `Tools/wasm/wasi.py` ↵ | Brett Cannon | 2024-07-09 | 1 | -6/+18 | |
| | | | | (GH-121522) | |||||
* | GH-120372: Switch to wasmtime 22 (GH-121523) | Brett Cannon | 2024-07-09 | 2 | -8/+10 | |
| | | | Along the way, make the cache key in GitHub Actions for `config.cache` be more robust in the face of potential env var changes from `Tools/wasm/wasi.py`. | |||||
* | gh-117657: Skip test when running under TSan (GH-121549) | Sam Gross | 2024-07-09 | 2 | -0/+4 | |
| | | | | | | The ProcessPoolForkserver combined with resource_tracker starts a thread after forking, which is not supported by TSan. Also skip test_multiprocessing_fork for the same reason | |||||
* | gh-117657: Fix TSAN races in setobject.c (#121511) | Sam Gross | 2024-07-09 | 2 | -11/+10 | |
| | | | | | The `used` field must be written using atomic stores because `set_len` and iterators may access the field concurrently without holding the per-object lock. | |||||
* | gh-121533: Improve `PyCell_[Get,Set]` docs: mention the exceptions (#121534) | sobolevn | 2024-07-09 | 1 | -3/+6 | |
| | | | Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | Docs: fix typo and duplicate word in configure.rst (#121410) | Rafael Fontenelle | 2024-07-09 | 1 | -2/+2 | |
| |