| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
posixmodule.h: remove check on the limited C API, since these helpers
are not part of the public C API.
|
|
|
|
| |
No longer export _PyLong_FromUid() and _Py_Sigset_Converter()
internal C API function.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This API is relatively lightweight and organizationally, given that it's
used by multiple modules, it makes sense to move it to fileutils.
Requires making sure that _posixsubprocess is compiled with the appropriate
Py_BUIILD_CORE_BUILTIN macro.
|
|
|
|
|
|
|
| |
Such an API can be used both for os.closerange and subprocess. For the latter, this yields potential improvement for platforms that have fdwalk but wouldn't have used it there. This will prove even more beneficial later for platforms that have close_range(2), as the new API will prefer that over all else if it's available.
The new API is structured to look more like close_range(2), closing from [start, end] rather than the [low, high) of os.closerange().
Automerge-Triggered-By: @gpshead
|
|
|
|
|
|
|
|
|
| |
* Expose the sigset_t converter via private API _Py_Sigset_Converter().
* Use Argument Clinic for parsing sigset_t in signalmodule.c.
* Raise ValueError instead OverflowError for integers out of
the C long range.
Based on patch by Pablo Galindo Salgado.
|
|
|