| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Issues #23808, #25911: Trying to fix walk tests on Windows.
On Windows a symlink can has the FILE_ATTRIBUTE_DIRECTORY flag.
(cherry picked from commit 388b90f28e029daaf06aae8026b596e2f20a1cd3)
* bpo-30231: Remove skipped test_imaplib tests (#1419) (#2193)
The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept
TLS connection using our self-signed x509 certificate. Remove the two
tests which are already skipped.
(cherry picked from commit 7895a0585b4b6a1c8082d17227307c6ce2c8bb8b)
* Backport CI config from master
* Add .travis.yml for Travis CI
* Add .github/ for AppVeyor and CodeCov.
* Travis CI: remove "make regen-all" check
The regen-all Makefile rule doesn't exist in Python 3.4, only since
Python 3.5 and newer (and 2.7).
* appveyor: replace --slowest with --slow
* Travis CI: remove the GCC coverage job
* Travis CI: remove tzdata resource from regrtest
tzdata resource doesn't exist in Python 3.4.
* Travis CI: remove the doc job
Fixing Sphinx warnings requires to backport huge intrusive changes
like:
- commit d97b7dc94b19063f0589d401bdc4aaadc7030762
- commit 5c6793394066b012b9674681b0815667938ce4d9
* appveyor: set version to 3.4.6+
* bpo-30730: Fix test_os tests.
Fix test_invalid_cmd() and test_invalid_env(), TypeError is raised on
Python 3.4.
(cherry picked from commit 5e22721e586344b547194f0f7ea67fd425f94e72)
|
| |
|
|
|
|
|
|
|
|
|
| |
subprocess on Windows. (GH-2325) (#2362)
* [3.4] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325)
Prevent passing other invalid environment variables and command arguments..
(cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700)
* Update NEWS
|
| |
|
|
|
|
|
| |
The OS X buildbots were failing at the second setrlimit() call with EPERM, as
if they were trying to raise the hard limit. The call should be keeping the
hard limit the same and raising the soft limit back to its original value, so
I don't understand the failure.
|
| |
|
|
| |
Also fix handling of failure to release the import lock.
|
| |
|
|
|
|
|
| |
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().
Patch by Nir Soffer.
|
| | |
|
| |
|
|
| |
Patch by Martin Panter.
|
| | |
|
| |
|
|
| |
On Windows an OSError with errno=EINVAL is raised.
|
| |
|
|
| |
statement if the pipe was broken. Patch by Martin Panter.
|
| | |
|
| |
|
|
|
|
|
|
| |
* Don't call the garbage collector with an exception set: it causes an
assertion to fail in debug mode.
* Enhance also error handling if allocating an array for the executable list
failed.
* Add an unit test for 4 different errors in the _posixsubprocess module.
|
| |
|
|
| |
buffering, rather than block buffering.
|
| | |
|
| |
|
|
|
|
| |
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.
|
| |
|
|
| |
when fdescfs is not mounted on /dev/fd.
|
| |
|
|
|
| |
buildbots that the new test_close_fds_when_max_fd_is_lowered test causes.
It now leaves 10 more low fd's available.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618: The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
|
| |
|
|
|
|
| |
flush() on the underlying binary stream.
Patch by akira.
|
| |
|
|
| |
children.
|
| |
|
|
|
| |
may be calling wait() or poll() on a Popen instance at the same time
without losing the Popen.returncode value. Fixes issue #21291.
|
| |
|
|
| |
descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time)
|
| |\
| |
| |
| |
| | |
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
|
| | |
| |
| |
| |
| | |
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
|
| |\ \
| |/
| |
| | |
descriptor 0, 1 or 2 is closed.
|
| | |
| |
| |
| | |
descriptor 0, 1 or 2 is closed.
|
| | |
| |
| |
| | |
On AIX, the C locale encoding uses the ISO-8859-1 encoding, not ASCII.
|
| | | |
|
| |\ \
| |/
| |
| | |
functionality and thus to work on Windows. Patch by Nick Coghlan.
|
| | |
| |
| |
| | |
functionality and thus to work on Windows. Patch by Nick Coghlan.
|
| | |
| |
| |
| | |
module instead of the full locale module.
|
| | |
| |
| |
| |
| |
| | |
suppression, and use it in more tests.
Patch by Valerie Lambert and Zachary Ware.
|
| | |
| |
| |
| |
| |
| | |
test.support.
Patch by Valerie Lambert.
|
| | |
| |
| |
| | |
Merge test/subprocessdata/inherited.py into test/subprocessdata/fd_status.py
|
| |\ \
| |/ |
|
| | | |
|
| |\ \
| |/
| |
| |
| |
| | |
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.
|
| | |
| |
| |
| |
| |
| | |
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.
|
| | |
| |
| |
| |
| | |
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
preexec_fn callback, which may open file descriptors.
|
| |\ \
| |/ |
|
| | | |
|
| | |
| |
| |
| |
| | |
We must only lower the soft limit, since lowering the hard limit makes it impossible to raise it back at the end.
(this could prevent core dumps from being generated when the test suite crashes)
|
| |\ \
| |/ |
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| | |
| |
| |
| |
| | |
allowing the subprocess's stdin to be provided as a (byte) string.
Patch by Zack Weinberg.
|