summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* gh-111666: Speed up `BaseExceptionGroup.{derive,split,subgroup}` (#111667)Nikita Sobolev2023-11-042-20/+9
|
* gh-108303: Move `zip` and `tar` archives to `Lib/test/archivetestdata` (#111549)Nikita Sobolev2023-11-0414-23/+24
|
* gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes ↵Nikita Sobolev2023-11-043-1/+24
| | | | (#111541)
* gh-111495: Test C API functions with extreme sizes and indices (GH-111631)Serhiy Storchaka2023-11-044-40/+134
|
* gh-111724: Fix doctest `ResourceWarning` in `howto/descriptor.rst` (#111725)Nikita Sobolev2023-11-041-0/+4
| | | Close database connection explicitly in test cleanup.
* gh-111644: Fix asyncio test_unhandled_exceptions() (#111713)Victor Stinner2023-11-041-2/+3
| | | | | | | | | Fix test_unhandled_exceptions() of test_asyncio.test_streams: break explicitly a reference cycle. Fix also StreamTests.tearDown(): the loop must not be closed explicitly, but using set_event_loop() which takes care of shutting down the executor with executor.shutdown(wait=True). BaseEventLoop.close() calls executor.shutdown(wait=False).
* gh-111644: Fix support threading_cleanup() (#111714)Victor Stinner2023-11-041-25/+28
| | | | | | | | | | | | | Copy the list of dangling threads to make sure that the list of "Dangling thread" is complete. Previously, the list was incomplete if threads completed just before the list was displayed. Changes: * Rewrite the warning to make it easier to understand. * Use support.sleeping_retry(). * threading_cleanup() no longer copies threading._dangling, but only counts the number of dangling thread. * Remove support.gc_support() call.
* gh-109649: Fix test_os.test_process_cpu_count_affinity() (#111689)Victor Stinner2023-11-031-4/+4
| | | | | | | | | | When CPUs are isolated on Linux, os.process_cpu_count() is smaller than os.cpu_count(). Fix the test for this case. Example with "isolcpus=5,11 rcu_nocbs=5,11" options passed to a Linux command line to isolated two logical CPUs: $ ./python -c 'import os; print(os.process_cpu_count(), "/", os.cpu_count())' 10 / 12
* Add a fuzz target for `_elementtree.XMLParser._parse_whole` (#111477)Brad Larsen2023-11-0360-0/+623
| | | * Add a fuzzer for `_elementtree.XMLParser._parse_whole`
* gh-111684: Avoid a Compiler Warning (gh-111706)Eric Snow2023-11-031-0/+4
|
* gh-111506: Implement Py_SET_REFCNT() as opaque function in limited C API ↵Victor Stinner2023-11-036-2/+26
| | | | | | | | (#111508) In the limited C API version 3.13, Py_SET_REFCNT() function is now implemented as an opaque function call. Add _Py_SetRefcnt() to the stable ABI.
* gh-103615: Use local events for opcode tracing (GH-109472)Tian Gao2023-11-039-8/+114
| | | | | | | * Use local monitoring for opcode trace * Remove f_opcode_trace_set * Add test for setting f_trace_opcodes after settrace
* gh-111652: Fix --enable-pystats build (GH-111653)Michael Droettboom2023-11-031-0/+2
|