summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-125313: Prefer `sys.base_*` paths in `Py_Get(Exec)Prefix` deprecation ↵Y52024-10-212-6/+9
| | | | | | | notes (#125317) Prefer `sys.base_*` paths in `Py_Get(Exec)Prefix` deprecation notes. Signed-off-by: y5c4l3 <y5c4l3@proton.me>
* Doc: Fix typos (#125728)ember912024-10-216-7/+7
|
* gh-125519: Improve traceback if `importlib.reload()` is called with a ↵Alex Waygood2024-10-213-1/+18
| | | | non-module object (#125520)
* gh-99030: Added documentation links for types and exceptions (GH-123857)RUANG (Roy James)2024-10-211-4/+8
| | | | | | | | | | | | | * Added documentation links for types and exceptions * Shortened description sentences * Change content * Change documentation * Move seealso * Add a spaces
* gh-125698: Restore EXEEXT in configure and Make (#125758)Erlend E. Aasland2024-10-203-22/+22
| | | This reverts commit e924bb667.
* gh-125741: Update check_generated_files CI to use our published container ↵Donghee Na2024-10-201-9/+44
| | | | image (gh-125744)
* gh-125698: Replace EXEEXT with EXE_SUFFIX (#125699)Erlend E. Aasland2024-10-203-22/+22
|
* Doc: Fix pluralization in os.process_cpu_count() documentation (#125678)Tom Most2024-10-201-1/+1
|
* gh-125378: Trigger a repeat for the full multi-line statement for empty line ↵Tian Gao2024-10-193-3/+15
| | | | command (#125717)
* gh-124984: Enhance `ssl` thread safety (#124993)Peter Bierma2024-10-194-242/+1694
| | | | | | Make SSL objects thread safe in Free Theaded build by using critical sections. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-125398: Convert paths in venv activate script when using Git Bash under ↵Julien2024-10-192-2/+3
| | | | | | | | | | | | | | Windows (GH-125399) * Convert paths in venv activate script when using Git Bash under Windows With https://github.com/python/cpython/pull/112508 the check to converts paths when running on Windows was changed from using the non-posix environment variable `$OSTYPE` to using `uname` instead. However this missed the fact that when running under Git Bash on Windows, uname reports `MINGW*` (`$OSTYPE` is still `msys`). This results in `$PATH` being set to something like `D:\a\github-actions-shells\github-actions-shells\venv/Scripts:…`, instead of `/d/a/github-actions-shells/github-actions-shells/venv/Scripts`. Notably, the Git Bash is the bash shell that’s used for GitHub Actions Windows runners, and ships with VSCode.
* gh-125522: Fix bare except in test_math.testTan (#125544)Irit Katriel2024-10-191-1/+1
|
* gh-52551: Use wcsftime() to implement time.strftime() on Windows (GH-125658)Serhiy Storchaka2024-10-193-6/+2
|
* GH-99749: Add What's New entry for GH-124456 (GH-125671)Savannah Ostrowski2024-10-191-0/+5
|
* GH-125277: Increase minimum supported Sphinx to 7.2.6 (#125368)Adam Turner2024-10-194-17/+19
|
* gh-124694: In test_interpreter_pool, Restore the Asyncio Event Loop Policy ↵Eric Snow2024-10-181-0/+13
| | | | | During Cleanup (gh-125708) This resolves a failure on the android buildbot.
* gh-125207: Fix MSVC 1935 build with JIT (#125209)Michael Droettboom2024-10-183-4/+7
| | | | | | | * gh-125207: Use {0} array initializers * Simplify, as suggested in PR * Revert change to explicitly specify length
* gh-125703: Correctly honour tracemalloc hooks on specialized DECREF paths ↵Pablo Galindo Salgado2024-10-182-0/+7
| | | | (#125704)
* gh-125604: Move _Py_AuditHookEntry, etc. Out of pycore_runtime.h (gh-125605)Eric Snow2024-10-1826-346/+429
| | | | | | | | | | | | This is essentially a cleanup, moving a handful of API declarations to the header files where they fit best, creating new ones when needed. We do the following: * add pycore_debug_offsets.h and move _Py_DebugOffsets, etc. there * inline struct _getargs_runtime_state and struct _gilstate_runtime_state in _PyRuntimeState * move struct _reftracer_runtime_state to the existing pycore_object_state.h * add pycore_audit.h and move to it _Py_AuditHookEntry , _PySys_Audit(), and _PySys_ClearAuditHooks * add audit.h and cpython/audit.h and move the existing audit-related API there *move the perfmap/trampoline API from cpython/sysmodule.h to cpython/ceval.h, and remove the now-empty cpython/sysmodule.h
* Add tests for time.strftime() with invalid format string (GH-125696)Serhiy Storchaka2024-10-181-1/+12
|
* gh-124102: Clean up unsupported VS and WiX detections (GH-124784)Wulian2024-10-183-16/+11
|
* gh-123610: Added additional types to ctypes/wintypes.py (GH-124086)RUANG (Roy James)2024-10-181-0/+8
|
* gh-125660: Reject invalid unicode escapes for Python implementation of JSON ↵Nice Zombies2024-10-183-4/+16
| | | | decoder (GH-125683)
* gh-125682: Reject non-ASCII digits in the Python implementation of JSON ↵Nice Zombies2024-10-183-1/+9
| | | | decoder (GH-125687)
* gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for ↵Furkan Onder2024-10-181-0/+2
| | | | | SIGKILL process termination (GH-125621) * Skip test_resource_tracker_sigkill on NetBSD
* gh-125600: Only show stale code warning on source code display commands ↵Tian Gao2024-10-183-4/+40
| | | | (#125601)
* gh-125667: Statically Initialize the Arg Converter Data Values in ↵Eric Snow2024-10-171-9/+9
| | | | _interpqueuesmodule.c (gh-125668)
* gh-125017: Fix refleak from GH-125636 (GH-125664)Zachary Ware2024-10-171-0/+1
|
* gh-125541: Make Ctrl-C interrupt `threading.Lock.acquire()` on Windows (#125546)Sam Gross2024-10-174-8/+25
|
* gh-118986: expose `socket.IPV6_RECVERR` (#118987)chrysn2024-10-173-2/+6
|
* gh-125017: Fix crash on premature access to classmethod/staticmethod ↵Jelle Zijlstra2024-10-173-14/+43
| | | | annotations (#125636)
* gh-113570: reprlib.repr does not use builtin __repr__ for reshadowed ↵George Pittock2024-10-173-5/+71
| | | | builtins (GH-113577)
* gh-52551: Fix encoding issues in strftime() (GH-125193)Serhiy Storchaka2024-10-175-232/+307
| | | | | | | | | | | | | Fix time.strftime(), the strftime() method and formatting of the datetime classes datetime, date and time. * Characters not encodable in the current locale are now acceptable in the format string. * Surrogate pairs and sequence of surrogatescape-encoded bytes are no longer recombinated. * Embedded null character no longer terminates the format string. This fixes also gh-78662 and gh-124531.
* gh-125625: Check for `py -3.13` in PCbuild/find_python.bat (GH-125626)Wulian2024-10-171-1/+1
|
* gh-123370: Fix the canvas not clearing after running turtledemo.clock (#123457)Wulian2024-10-172-13/+21
| | | | Rewriting the day and date every tick somehow prevented them from being removed either by clicking STOP or loading another example. The solution is to rewrite them only when they change.
* GH-99108: Make vectorized versions of Blake2 available on x86, too (#125244)Jonathan Protzenko2024-10-1712-359/+619
| | | | | | Accomplished by updating HACL* vendored code from hacl-star/hacl-star@a6a09496d9cff652b567d26f2c3ab012321b632a to hacl-star/hacl-star@315a9e491d2bc347b9dae99e0ea506995ea84d9d Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Zachary Ware <zach@python.org>
* gh-125644: Update `locations.md` reference (#125645)Emmanuel Ferdman2024-10-171-1/+1
| | | Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
* gh-123153: Fix PGO builds with free-threading on Windows (#125607)Michael Droettboom2024-10-171-6/+14
| | | | | * gh-123153: Fix PGO builds with free-threading * Redo how the #define works
* gh-95836: Add custom type converter examples to argparse tutorial (GH-125376)Savannah Ostrowski2024-10-171-0/+47
|
* gh-125542: Deprecate prefix_chars in ArgumentParser.add_argument_group() ↵Savannah Ostrowski2024-10-176-2/+52
| | | | (GH-125563)
* GH-99749: Add optional feature to suggest correct names (ArgumentParser) ↵Savannah Ostrowski2024-10-174-23/+144
| | | | (GH-124456)
* gh-124694: Add concurrent.futures.InterpreterPoolExecutor (gh-124548)Eric Snow2024-10-1612-38/+826
| | | | | | | | | | | | This is an implementation of InterpreterPoolExecutor that builds on ThreadPoolExecutor. (Note that this is not tied to PEP 734, which is strictly about adding a new stdlib module.) Possible future improvements: * support passing a script for the initializer or to submit() * support passing (most) arbitrary functions without pickling * support passing closures * optionally exec functions against __main__ instead of the their original module
* gh-125620: Remove unnecessary import of subprocess in spawnv_passfds (#125624)Furkan Onder2024-10-161-1/+0
| | | Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
* gh-125550: Enable py.exe to detect Store installs of 3.14 (GH-125551)Steve Dower2024-10-162-3/+8
|
* gh-115382: Fix cross compiles when host and target use same SOABIVincent Fazio2024-10-166-3/+19
| | | | Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-125615: Fix grammar nit in tutorial's interactive interpreter appendix ↵Cornelius Roemer2024-10-161-1/+1
| | | | | (GH-125617) Replace "without ... nor" with "with neither ... nor"
* gh-125451: Fix deadlock in ProcessPoolExecutor shutdown (#125492)Sam Gross2024-10-163-32/+23
| | | | | | | | | | There was a deadlock when `ProcessPoolExecutor` shuts down at the same time that a queueing thread handles an error processing a task. Don't use `_shutdown_lock` to protect the `_ThreadWakeup` pipes -- use an internal lock instead. This fixes the ordering deadlock where the `ExecutorManagerThread` holds the `_shutdown_lock` and joins the queueing thread, while the queueing thread is attempting to acquire the `_shutdown_lock` while closing the `_ThreadWakeup`.
* CI: Bump Python to 3.13 and mypy to 1.12 in mypy workflow (#125592)Kirill Podoprigora2024-10-163-5/+3
| | | | | * Bump mypy to 1.12 & Python to 3.13 * Remove unnecessary `type: ignore`
* gh-125584: Require network resource in ↵Michał Górny2024-10-161-0/+1
| | | | ``test_urllib2.HandlerTests.test_ftp_error`` (#125586)
* gh-125444: Fix illegal instruction for older Arm architectures (#125574)Diego Russo2024-10-163-3/+4
| | | | | | | | On Arm v5 it is not possible to get the thread ID via c13 register hence the illegal instruction. The c13 register started to provide thread ID since Arm v6K architecture variant. Other variants of Arm v6 (T2, Z and base) don’t provide the thread ID via c13. For the sake of simplicity we group v5 and v6 together and consider that instructions for Arm v7 only.