| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
notes (#125317)
Prefer `sys.base_*` paths in `Py_Get(Exec)Prefix` deprecation notes.
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
|
| |
|
|
|
|
| |
non-module object (#125520)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added documentation links for types and exceptions
* Shortened description sentences
* Change content
* Change documentation
* Move seealso
* Add a spaces
|
|
|
| |
This reverts commit e924bb667.
|
|
|
|
| |
image (gh-125744)
|
| |
|
| |
|
|
|
|
| |
command (#125717)
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
During Cleanup (gh-125708)
This resolves a failure on the android buildbot.
|
|
|
|
|
|
|
| |
* gh-125207: Use {0} array initializers
* Simplify, as suggested in PR
* Revert change to explicitly specify length
|
|
|
|
| |
(#125704)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
decoder (GH-125683)
|
|
|
|
| |
decoder (GH-125687)
|
|
|
|
|
| |
SIGKILL process termination (GH-125621)
* Skip test_resource_tracker_sigkill on NetBSD
|
|
|
|
| |
(#125601)
|
|
|
|
| |
_interpqueuesmodule.c (gh-125668)
|
| |
|
| |
|
| |
|
|
|
|
| |
annotations (#125636)
|
|
|
|
| |
builtins (GH-113577)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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>
|
|
|
| |
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
|
|
|
|
|
| |
* gh-123153: Fix PGO builds with free-threading
* Redo how the #define works
|
| |
|
|
|
|
| |
(GH-125563)
|
|
|
|
| |
(GH-124456)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
Remove unnecessary import of subprocess in multiprocessing.util.spawnv_passfds.
|
| |
|
|
|
|
| |
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
| |
(GH-125617)
Replace "without ... nor" with "with neither ... nor"
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
|
|
|
|
| |
* Bump mypy to 1.12 & Python to 3.13
* Remove unnecessary `type: ignore`
|
|
|
|
| |
``test_urllib2.HandlerTests.test_ftp_error`` (#125586)
|
|
|
|
|
|
|
|
| |
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.
|