Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-110722: Make `-m test -T -j` use sys.monitoring (GH-111710) | Łukasz Langa | 2023-11-10 | 13 | -34/+166 |
| | | | | | | | | | | | Now all results from worker processes are aggregated and displayed together as a summary at the end of a regrtest run. The traditional trace is left in place for use with sequential in-process test runs but now raises a warning that those numbers are not precise. `-T -j` requires `--with-pydebug` as it relies on `-Xpresite=`. | ||||
* | gh-111841: Fix os.putenv() and os.unsetenv() with embedded NUL on Windows ↵ | Serhiy Storchaka | 2023-11-10 | 4 | -9/+19 |
| | | | | (GH-111842) | ||||
* | Bump mypy to 1.7.0 (#111961) | Alex Waygood | 2023-11-10 | 2 | -4/+2 |
| | |||||
* | gh-103791: handle `BaseExceptionGroup` in `contextlib.suppress()` (#111910) | Zac Hatfield-Dodds | 2023-11-10 | 4 | -4/+25 |
| | |||||
* | gh-111912: Run test_posix on Windows (GH-111913) | Serhiy Storchaka | 2023-11-10 | 1 | -3/+7 |
| | |||||
* | gh-108303: Install `Lib/test/configdata` (#111899) | Nikita Sobolev | 2023-11-10 | 1 | -0/+1 |
| | |||||
* | gh-111356: io: Add missing documented objects to io.__all__ (#111370) | Nicolas Tessore | 2023-11-10 | 3 | -11/+17 |
| | | | Add DEFAULT_BUFFER_SIZE, text_encoding, and IncrementalNewlineDecoder. | ||||
* | gh-111569: Fix critical sections test on WebAssembly (GH-111897) | Sam Gross | 2023-11-09 | 2 | -0/+12 |
| | | | | | | | | This adds a macro `Py_CAN_START_THREADS` that corresponds to the Python function `test.support.threading_helper.can_start_thread()`. WASI and some Emscripten builds do not have a working pthread implementation. This macro is used to guard the critical sections C API tests that require a working threads implementation. | ||||
* | gh-111881: Import _sha2 lazily in random (#111889) | Victor Stinner | 2023-11-09 | 1 | -11/+15 |
| | | | | | | | The random module now imports the _sha2 module lazily in the Random.seed() method for str, bytes and bytearray seeds. It also imports lazily the warnings module in the _randbelow() method for classes without getrandbits(). Lazy import makes Python startup faster and reduces the number of imported modules at startup. | ||||
* | gh-81925: Implement native thread ids for kFreeBSD (#111761) | Samuel Thibault | 2023-11-09 | 6 | -5/+18 |
| | | | | | --------- Co-authored-by: Antoine Pitrou <antoine@python.org> | ||||
* | Improve error message for "float modulo by zero" (#111685) | Pavel Ovchinnikov | 2023-11-09 | 1 | -1/+1 |
| | |||||
* | gh-110875: Handle '.' properties in logging formatter configuration c… ↵ | Vinay Sajip | 2023-11-09 | 2 | -5/+41 |
| | | | | (GH-110943) | ||||
* | gh-111895: Convert definition list to bullet list for readability on mobile ↵ | Hugo van Kemenade | 2023-11-09 | 1 | -6/+6 |
| | | | | | (#111898) Convert definition list to bullet list for readability on mobile | ||||
* | gh-111786: Optimize for space for _PyEval_EvalFrameDefault on MSVC for PGO ↵ | Michael Droettboom | 2023-11-09 | 2 | -0/+11 |
| | | | | | | | (#111794) In PGO mode, this function caused a compiler error in MSVC. It turns out that optimizing for space only save the day, and is even faster. However, without PGO, this is neither necessary nor slower. | ||||
* | gh-111881: Import doctest lazily in libregrtest (#111884) | Victor Stinner | 2023-11-09 | 1 | -5/+8 |
| | | | | | In most cases, doctest is not needed. So don't always import it at startup. The change reduces the number of modules already imported when a test is run. | ||||
* | Add detail to comment on range of random.random() (gh-111868) | zipperer | 2023-11-09 | 1 | -1/+1 |
| | | | | | --------- Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | ||||
* | gh-108303: Move more files to `Lib/test/test_module` (#111880) | Nikita Sobolev | 2023-11-09 | 3 | -5/+5 |
| | |||||
* | gh-111881: Use lazy import in test.support (#111885) | Victor Stinner | 2023-11-09 | 2 | -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 Sobolev | 2023-11-09 | 5 | -12/+12 |
| | |||||
* | GH-111843: Tier 2 exponential backoff (GH-111850) | Mark Shannon | 2023-11-09 | 5 | -14/+47 |
| | |||||
* | GH-109369: Exit tier 2 if executor is invalid (GH-111657) | Mark Shannon | 2023-11-09 | 11 | -230/+348 |
| | |||||
* | gh-111835: Add seekable method to mmap.mmap (gh-111852) | Donghee Na | 2023-11-09 | 5 | -12/+40 |
| | |||||
* | gh-111354: remove comparisons with enum values, variable reuse, unused ↵ | Irit Katriel | 2023-11-09 | 2 | -22/+15 |
| | | | | imports in genobject.c (#111708) | ||||
* | GH-111804: Drop posix.fallocate() under WASI (GH-111869) | Brett Cannon | 2023-11-09 | 3 | -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 Gross | 2023-11-08 | 19 | -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 Zijlstra | 2023-11-08 | 3 | -2/+75 |
| | |||||
* | Remove redundant check in dbm.open() (GH-111844) | Serhiy Storchaka | 2023-11-08 | 1 | -5/+0 |
| | | | PyUnicode_FSConverter() already checks for embedded null characters. | ||||
* | gh-111495: Add tests for PyList C API (#111562) | Kalyan | 2023-11-08 | 2 | -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 Storchaka | 2023-11-08 | 3 | -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-08 | 5 | -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) | Stefan | 2023-11-08 | 2 | -1/+2 |
| | |||||
* | socket: Update generated AC code (#111853) | Jelle Zijlstra | 2023-11-08 | 1 | -2/+7 |
| | |||||
* | Glossary: Add "static type checker" (#111837) | Jelle Zijlstra | 2023-11-08 | 4 | -7/+14 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-108303: Move more `typing` related files to `Lib/test/typinganndata` ↵ | Nikita Sobolev | 2023-11-08 | 4 | -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 Romanyuk | 2023-11-08 | 2 | -69/+223 |
| | |||||
* | GH-111848: Tidy up tier 2 handling of FOR_ITER specialization by using ↵ | Mark Shannon | 2023-11-08 | 8 | -136/+59 |
| | | | | DEOPT_IF instead of jumps. (GH-111849) | ||||
* | gh-111089: Revert PyUnicode_AsUTF8() changes (#111833) | Victor Stinner | 2023-11-07 | 50 | -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 Brunet | 2023-11-07 | 1 | -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 Sobolev | 2023-11-07 | 1 | -0/+1 |
| | |||||
* | gh-111808: Fix recursion error on WASM in `test_typing` (GH-111819) | Nikita Sobolev | 2023-11-07 | 1 | -5/+6 |
| | |||||
* | gh-81137: deprecate assignment of code object to a function of a mismatched ↵ | Irit Katriel | 2023-11-07 | 4 | -0/+44 |
| | | | | type (#111823) | ||||
* | gh-111623: Add Support for Cross-interpreter tuples (gh-111628) | Anthony Shaw | 2023-11-07 | 6 | -2/+134 |
| | |||||
* | gh-85098: Implement functional CLI of symtable (#109112) | Serhiy Storchaka | 2023-11-07 | 4 | -8/+123 |
| | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> | ||||
* | gh-106672: C API: Report indiscriminately ignored errors (GH-106674) | Serhiy Storchaka | 2023-11-07 | 9 | -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 Kirpichev | 2023-11-07 | 2 | -65/+65 |
| | | | | (GH-111766) | ||||
* | GH-111485: Allow arbitrary annotations on instructions and micro-ops. ↵ | Mark Shannon | 2023-11-07 | 10 | -63/+114 |
| | | | | (GH-111697) | ||||
* | gh-79932: raise exception if frame.clear() is called on a suspended frame ↵ | Irit Katriel | 2023-11-07 | 5 | -7/+27 |
| | | | | (#111792) | ||||
* | gh-110395: test: assert after the child dies. (#111816) | Gregory P. Smith | 2023-11-07 | 1 | -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-07 | 1 | -5/+2 |
| | | | | | `Doc/library/typing.rst` (#111734) use new generic syntax | ||||
* | GH-111485: Make BEFORE_WITH a uop (GH-111812) | Brandt Bucher | 2023-11-07 | 5 | -7/+56 |
| |