| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-30107: Make SuppressCrashReport quiet on macOS (#1279) (#1335)
On macOS, SuppressCrashReport now redirects /usr/bin/defaults command
stderr into a pipe to not pollute stderr. It fixes a
test_io.test_daemon_threads_shutdown_stderr_deadlock() failure when
the CrashReporter domain doesn't exists. Message logged into stderr:
2017-04-24 16:57:21.432 defaults[41046:2462851]
The domain/default pair of (com.apple.CrashReporter, DialogType) does not exist
(cherry picked from commit d819ad9832292d854e9710493ecdf959b69802e3)
* bpo-30107: don't dump core on expected test_io crash (#1235)
test_io has two unit tests which trigger a deadlock:
* test_daemon_threads_shutdown_stdout_deadlock()
* test_daemon_threads_shutdown_stderr_deadlock()
These tests call Py_FatalError() if the expected bug is triggered
which calls abort(). Use test.support.SuppressCrashReport to prevent
the creation on a core dump, to fix the warning:
Warning -- files was modified by test_io
Before: []
After: ['python.core']
|
|
|
|
|
|
|
|
|
| |
QueueListenerTest of test_logging now closes the multiprocessing
Queue and joins its thread to prevent leaking dangling threads to
following tests.
Add also @support.reap_threads to detect earlier if a test leaks
threads (and try to "cleanup" these threads).
(cherry picked from commit 8ca2f2faefa8dba323a2e4c4b86efb633d7a53cf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-30175: Skip client cert tests of test_imaplib
The IMAP server cyrus.andrew.cmu.edu doesn't accept our randomly
generated client x509 certificate anymore.
* bpo-30188: Catch EOFError in NetworkedNNTPTests
test_nntplib fails randomly with EOFError in
NetworkedNNTPTests.setUpClass(). Catch EOFError to skip tests in that
case.
(cherry picked from commit 5bccca58b9b2b3a925b16750bedbd907695ea8d7)
|
|
|
|
|
| |
(GH-1314)
(cherry picked from commit 6fde770e4e940c19cd62de0b6aeb77840690843e)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Fix PEP 8 (SomeType instead of some_type)
* Add a function parameter annotation
* Explain, using wording from PEP 484 and PEP 526,
why one annotation is in quotes and another is not.
Suggested by Ivan Levkevskyi.
(cherry picked from commit 87c07fe9d908d0a2143fcc8369255c6ff3241503)
|
|
|
| |
(cherry picked from commit 0d637e236d7099f7b724026c8cb7bd83d8e12e6b)
|
|
|
| |
(cherry picked from commit 26896f2832324dde85cdd63d525571ca669f6f0b)
|
|
|
|
|
| |
value. (GH-1256) (#1260)
(cherry picked from commit 85157cd)
|
|
|
| |
(cherry picked from commit 7fae81e1672d0b4110d31ea6a765b54f63a2e54b)
|
|
|
|
|
| |
(GH-1170) (#1246)
(cherry picked from commit ae5b3260dd459845aad8a30491b76d471577785d)
|
|
|
|
|
| |
(GH-1217) (#1219)
(cherry picked from commit 7a113a0)
|
|
|
|
|
| |
(#1226)
(cherry picked from commit 8e675286a92f33837cfffac5914b5175dac5d573)
|
|
|
|
| |
Skip the file if it has bad encoding.
(cherry picked from commit 58f3c9dc8f5626abe09ac9738c34f6ba99ce2972)
|
|
|
|
|
| |
Reported by Sean Canavan on docs@p.o.
(cherry picked from commit 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf)
|
|
|
| |
(cherry picked from commit f7e62cf8adfb8ab6a6a870903defe8ff218a0383)
|
|
|
|
| |
(GH-1068)
|
|
|
|
|
| |
(GH-1110) (#1190)
(cherry picked from commit 66bffd1)
|
|
|
|
|
| |
module. (GH-1131). (#1185)
(cherry picked from commit a79f4c219531c05fc8f670c1e4bbf12c081935d3)
|
|
|
|
|
|
|
|
|
| |
(GH-1096) (GH-1180) (#1182)
raised an error.
(cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86)
(cherry picked from commit 680fea4067537a9b9c79aadd44a3a19e83cd2dbf)
|
|
|
|
|
| |
macro (#1049)
if Py_LIMITED_API is not defined.
|
|
|
|
| |
present (#1130) (#1151)
|
| |
|
|
|
|
|
|
|
|
|
| |
* Remove conditional on free of `dps`, since `dps` is now allocated for
all versions of OpenSSL
* Remove call to `x509_check_ca` since it was only used to cache
the `crldp` field of the certificate
CRL_DIST_POINTS_free is available in all supported versions of OpenSSL
(recent 0.9.8+) and LibreSSL.
(cherry picked from commit 2849cc34a8db93d448a62d69c462402347b50dcb)
|
| |
|
|
|
| |
(cherry picked from commit 685cdb9acc3fca04a9897d88b89771ddfd50e772)
|
|
|
|
|
| |
(GH-1089). (GH-1127)
(cherry picked from commit 22a594a0047d7706537ff2ac676cdc0f1dcb329c)
|
|
|
|
| |
Replace `For object's ... ` with `For objects ...`
(cherry picked from commit 873ef20d0007b4b120933473e6252d2309a70102)
|
|
|
|
|
| |
And fix the parameter name.
(cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574)
|
|
|
|
|
| |
Reported by Lucio Ricardo Montero Valenzuela.
(cherry picked from commit 61b9ac93712df8092a25223cd56fa6528359792b)
|
|
|
|
|
|
|
|
|
|
|
| |
RuntimeError (GH-949) (#1107)
contextlib._GeneratorContextManager.__exit__ includes a special case to deal with
PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context
manager body.
Previously this check was too permissive, and undid one level of chaining on *all*
RuntimeError instances, not just those that wrapped a StopIteration instance.
(cherry picked from commit 00c75e9a45ff0366c185e9e8a2e23af5a35481b0)
|
|
|
|
| |
Moved explicit raise from inside try to try...else.
(cherry picked from commit 680e20beee8bbce9f857b8e7795009191f98b0ba)
|
|
|
| |
(cherry picked from commit 6fab78e9027f9ebd6414995580781b480433e595)
|
|
|
|
| |
(GH-1090) (GH-1100)
|
|
|
| |
(cherry picked from commit 6dfcc81f6b1c82a71a1c876e14424fb8b3573447)
|
|
|
| |
(cherry picked from commit 01fa9ae5460b00bf1ced500c797176ebd3fb060d)
|
|
|
| |
(cherry picked from commit a2a9ddd923a849124bdd1c484f70f02df6fde0e9)
|
|
|
|
|
|
|
| |
The reference to administrative data was confusing to readers,
so this simplifies the note to explain that deep copying may copy
more then you intended, such as data that you expected to be
shared between copies.
(cherry picked from commit 19e04942562a980ad2519f6ff79c455a7472783b)
|
|
|
|
|
| |
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
(cherry picked from commit 2abfdf5a81383d3b1ed6b7321903a9a168c373c5)
|
|
|
|
|
|
| |
(#1010) (#1043)
attributes.
(cherry picked from commit b785396ab451b0c9d6ae9ee5a9e56c810209a6cb)
|
|
|
| |
(cherry picked from commit b879fe82e7e5c3f7673c9a7fa4aad42bd05445d8)
|
|
|
|
| |
Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
(cherry picked from commit 164d30eb1e66575dafee6af4fca4cbf52c7fbe6a)
|
|
|
| |
(cherry picked from commit dd9a0a14c89d57e43898d4b866b8c161e4ff8506)
|
|
|
| |
(cherry picked from commit fd0cd07a5a3c964c084f4efc5bbcb89dd2193ee6)
|
|
|
|
|
|
| |
* Keep the c-api exception doc up-to-date
cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict
|
|
|
| |
(cherry picked from commit 257b980b316a5206ecf6c23b958e2b7c4df4f3de)
|
|
|
| |
(cherry picked from commit a0157b5f11e621f2196af4e918b9f07688a6cd1c)
|
|
|
| |
(cherry picked from commit 02e12138000da834f23719521a011fa93763384d)
|
|
|
| |
(cherry picked from commit efbd4ea65dbb9f87b1afeec6a760802756badee5)
|
|
|
|
|
|
|
|
|
|
| |
Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means
making sure helper functions are defined when NDEBUG is not defined, not
just when Py_DEBUG is defined.
Also fix a division-by-zero in obmalloc.c that went unnoticed because in
Py_DEBUG mode, elsize is never zero.
(cherry picked from commit a00c3fd12d421e41b769debd7df717d17b0deed5 and 06bb4873d6a9ac303701d08a851d6cd9a51e02a3)
|