summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-108303: Move more files to `Lib/test/test_module` (#111880)Nikita Sobolev2023-11-093-5/+5
|
* gh-111881: Use lazy import in test.support (#111885)Victor Stinner2023-11-092-8/+13
| | | | * Import lazily getpass in test.support * Only import ctypes on Windows in test.support.os_helper.
* gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879)Nikita Sobolev2023-11-095-12/+12
|
* GH-111843: Tier 2 exponential backoff (GH-111850)Mark Shannon2023-11-095-14/+47
|
* GH-109369: Exit tier 2 if executor is invalid (GH-111657)Mark Shannon2023-11-0911-230/+348
|
* gh-111835: Add seekable method to mmap.mmap (gh-111852)Donghee Na2023-11-095-12/+40
|
* gh-111354: remove comparisons with enum values, variable reuse, unused ↵Irit Katriel2023-11-092-22/+15
| | | | imports in genobject.c (#111708)
* GH-111804: Drop posix.fallocate() under WASI (GH-111869)Brett Cannon2023-11-093-5/+10
| | | | | | | Drop posix.fallocate() under WASI. The underlying POSIX function, posix_fallocate(), was found to vary too much between implementations to remain in WASI. As such, while it was available in WASI preview1, it's been dropped in preview2.
* gh-111569: Implement Python critical section API (gh-111571)Sam Gross2023-11-0819-7/+630
| | | | | | | | Critical sections are helpers to replace the global interpreter lock with finer grained locking. They provide similar guarantees to the GIL and avoid the deadlock risk that plain locking involves. Critical sections are implicitly ended whenever the GIL would be released. They are resumed when the GIL would be acquired. Nested critical sections behave as if the sections were interleaved.
* gh-110543: Fix CodeType.replace in presence of comprehensions (#110586)Jelle Zijlstra2023-11-083-2/+75
|
* Remove redundant check in dbm.open() (GH-111844)Serhiy Storchaka2023-11-081-5/+0
| | | PyUnicode_FSConverter() already checks for embedded null characters.
* gh-111495: Add tests for PyList C API (#111562)Kalyan2023-11-082-1/+456
| | | | | Signed-off-by: kalyanr <kalyan.ben10@live.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-68166: Tkinter: Add tests and examples for element_create() (GH-111453)Serhiy Storchaka2023-11-083-3/+203
| | | | | * Remove mention of "vsapi" element type from the documentation. * Add tests for element_create() and other ttk.Style methods. * Add examples for element_create() in the documentation.
* gh-111246: Remove listening Unix socket on close (#111483)Pierre Ossman (ThinLinc team)2023-11-085-2/+126
| | | | | Try to clean up the socket file we create so we don't add unused noise to the file system.
* gh-111768: Add `wsgiref.util.is_hop_by_hop` to `__all__` (#111770)Stefan2023-11-082-1/+2
|
* socket: Update generated AC code (#111853)Jelle Zijlstra2023-11-081-2/+7
|
* Glossary: Add "static type checker" (#111837)Jelle Zijlstra2023-11-084-7/+14
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-108303: Move more `typing` related files to `Lib/test/typinganndata` ↵Nikita Sobolev2023-11-084-3/+2
| | | | | (#111825) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-111662: Update socket module to use AC for optimizing performance (gh-111661)Bogdan Romanyuk2023-11-082-69/+223
|
* GH-111848: Tidy up tier 2 handling of FOR_ITER specialization by using ↵Mark Shannon2023-11-088-136/+59
| | | | DEOPT_IF instead of jumps. (GH-111849)
* gh-111089: Revert PyUnicode_AsUTF8() changes (#111833)Victor Stinner2023-11-0750-244/+952
| | | | | | | | | | | | | | | | | | | | | * Revert "gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585)" This reverts commit d9b606b3d04fc56fb0bcc479d7d6c14562edb5e2. * Revert "gh-111089: Use PyUnicode_AsUTF8() in getargs.c (#111620)" This reverts commit cde1071b2a72e8261ca66053ef61431b7f3a81fd. * Revert "gh-111089: PyUnicode_AsUTF8() now raises on embedded NUL (#111091)" This reverts commit d731579bfb9a497cfb0076cb6b221058a20088fe. * Revert "gh-111089: Add PyUnicode_AsUTF8() to the limited C API (#111121)" This reverts commit d8f32be5b6a736dc2fc9dca3f1bf176c82fc9b44. * Revert "gh-111089: Use PyUnicode_AsUTF8() in sqlite3 (#111122)" This reverts commit 37e4e20eaa8f27ada926d49e5971fecf0477ad26.
* gh-61199: Remove superfluous global statements from ↵Romuald Brunet2023-11-071-2/+0
| | | | | `base64._b32{en,de}code()*` (GH-111785) Minor cleanup after commit 4ce6faa6c9591de6079347eccc9e61ae4e8d9e31
* gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830)Nikita Sobolev2023-11-071-0/+1
|
* gh-111808: Fix recursion error on WASM in `test_typing` (GH-111819)Nikita Sobolev2023-11-071-5/+6
|
* gh-81137: deprecate assignment of code object to a function of a mismatched ↵Irit Katriel2023-11-074-0/+44
| | | | type (#111823)
* gh-111623: Add Support for Cross-interpreter tuples (gh-111628)Anthony Shaw2023-11-076-2/+134
|
* gh-85098: Implement functional CLI of symtable (#109112)Serhiy Storchaka2023-11-074-8/+123
| | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-106672: C API: Report indiscriminately ignored errors (GH-106674)Serhiy Storchaka2023-11-079-45/+195
| | | | | Functions which indiscriminately ignore all errors now report them as unraisable errors.
* gh-111765: Move old PyFloat_* tests to Lib/test/test_capi/test_float.py ↵Sergey B Kirpichev2023-11-072-65/+65
| | | | (GH-111766)
* GH-111485: Allow arbitrary annotations on instructions and micro-ops. ↵Mark Shannon2023-11-0710-63/+114
| | | | (GH-111697)
* gh-79932: raise exception if frame.clear() is called on a suspended frame ↵Irit Katriel2023-11-075-7/+27
| | | | (#111792)
* gh-110395: test: assert after the child dies. (#111816)Gregory P. Smith2023-11-071-1/+1
| | | based on review from Victor Stinner. I already made this edit in the 3.12 backport PR.
* gh-111729: update generic syntax for `typing.Concatenate` sample code in ↵方糖2023-11-071-5/+2
| | | | | `Doc/library/typing.rst` (#111734) use new generic syntax
* GH-111485: Make BEFORE_WITH a uop (GH-111812)Brandt Bucher2023-11-075-7/+56
|
* gh-76785: Move _Py_excinfo Functions Out of the Internal C-API (gh-111715)Eric Snow2023-11-064-199/+134
| | | | | I added _Py_excinfo to the internal API (and added its functions in Python/errors.c) in gh-111530 (9322ce9). Since then I've had a nagging sense that I should have added the type and functions in its own PR. While I do plan on using _Py_excinfo outside crossinterp.c very soon (see gh-111572/gh-111573), I'd still feel more comfortable if the _Py_excinfo stuff went in as its own PR. Hence, here we are. (FWIW, I may combine that with gh-111572, which I may, in turn, combine with gh-111573. We'll see.)
* gh-111698: Restrict Py_mod_multiple_interpreters to 3.12+ Under ↵Eric Snow2023-11-061-1/+3
| | | | | | | Py_LIMITED_API (gh-111707) This should have been done in gh-104148. (A similar fix has already be done for that slot's value macros, and backported to 3.12. See gh-110968.)
* simplify code to pop exception in frame_setlineno (#111702)Irit Katriel2023-11-061-5/+2
|
* gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764)Dennis Sweeney2023-11-061-1/+2
| | | skip_if_missing in test_makeunicodedata
* GH-111772: Specialize slot loads and stores for `_Py_T_OBJECT` (GH-111773)Mark Shannon2023-11-062-3/+4
|
* GH-111646: Simplify optimizer, by compacting uops when making executor. ↵Mark Shannon2023-11-062-117/+119
| | | | (GH-111647)
* gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out ↵Masayuki Moriyama2023-11-063-3/+53
| | | | of bounds (gh-111695)
* gh-109466: Add ipv6_mapped property to IPv4Address (#109467)Charles Machalow2023-11-055-0/+32
| | | | | Adds the `IPv4Address.ipv6_mapped` property. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-111495: Add tests for PyComplex C API (GH-111591)Sergey B Kirpichev2023-11-052-0/+238
|
* gh-111495: Add tests for PyFloat C API (GH-111624)Sergey B Kirpichev2023-11-052-0/+191
|
* gh-111747: DOC: fix moved link to Documentation Translations (#111748)partev2023-11-051-1/+1
| | | | Update old link in bugs.rst to the table of doc translators and translation repositories at Github.
* gh-111719: Add extra check for alias command (#111720)Tian Gao2023-11-044-7/+51
|
* gh-110395: invalidate open kqueues after fork (#110517)Davide Rizzo2023-11-043-7/+157
| | | Invalidate open select.kqueue instances after fork as the fd will be invalid in the child.
* gh-80675: Set `f_trace_lines = True` on all frames upon `pdb.set_trace()` ↵Tian Gao2023-11-043-0/+32
| | | | (#110881)
* gh-96954: use a directed acyclic word graph for storing the unicodedata ↵CF Bolz-Tereick2023-11-048-30444/+18134
| | | | | | | codepoint names (#97906) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
* GH-110829: Ensure Thread.join() joins the OS thread (#110848)Antoine Pitrou2023-11-0414-98/+671
| | | | | | | Joining a thread now ensures the underlying OS thread has exited. This is required for safer fork() in multi-threaded processes. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>