- 17 Şub, 2019 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
It makes the existing smaller test more readable and robust at the same time. The execution of a shell in interactive mode from CI and buildbot test automation wasn't working out. What would work locally in our terminals would only work within a fraction of automation systems. The integration test was a nice to have. painful. deleting. :)
-
- 16 Şub, 2019 8 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Gregory P. Smith yazdı
* bpo-1054041: Exit properly by a signal after a ^C. An uncaught KeyboardInterrupt exception means the user pressed ^C and our code did not handle it. Programs that install SIGINT handlers are supposed to reraise the SIGINT signal to the SIG_DFL handler in order to exit in a manner that their calling process can detect that they died due to a Ctrl-C. https://www.cons.org/cracauer/sigint.html After this change on POSIX systems while true; do python -c 'import time; time.sleep(23)'; done can be stopped via a simple Ctrl-C instead of the shell infinitely restarting a new python process. What to do on Windows, or if anything needs to be done there has not yet been determined. That belongs in its own PR. TODO(gpshead): A unittest for this behavior is still needed. * Do the unhandled ^C check after pymain_free. * Return STATUS_CONTROL_C_EXIT on Windows. * Fix ifdef around unistd.h include. *
📜 🤖 Added by blurb_it. * Add STATUS_CTRL_C_EXIT to the os module on Windows * Add unittests. * Don't send CTRL_C_EVENT in the Windows test. It was causing CI systems to bail out of the entire test suite. See https://dev.azure.com/Python/cpython/_build/results?buildId=37980 for example. * Correct posix test (fail on macOS?) check. * STATUS_CONTROL_C_EXIT must be unsigned. * Improve the error message. * test typo :) * Skip if the bash version is too old. ...and rename the windows test to reflect what it does. * min bash version is 4.4, detect no bash. * restore a blank line i didn't mean to delete. * PyErr_Occurred() before the Py_DECREF(co); * Don't add os.STATUS_CONTROL_C_EXIT as a constant. * Update the Windows test comment. * Refactor common logic into a run_eval_code_obj fn. -
-
-
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 15 Şub, 2019 8 kayıt (commit)
-
-
-
-
Daniel Hahler yazdı
Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931
-
Raymond Hettinger yazdı
Based on reviewer feedback from Allen Downey, convert ``lambda`` to ``def``.
-
Jack Wilsdon yazdı
The earliest version that `typing.NoReturn` appears in is [3.5.4rc1](https://docs.python.org/3/whatsnew/changelog.html#python-3-5-4-release-candidate-1)
-
-
Victor Stinner yazdı
Add credit for the cert parser vulnerability. Mention also Cisco TALOS-2018-0758 identifier.
-
-
- 14 Şub, 2019 7 kayıt (commit)
-
-
Lysandros Nikolaou yazdı
Documentation of sys.stdin/out/err update to reflect change in 3.6 on Windows to use UTF-8. Wording by Eryk Sun and Paul Moore. https://bugs.python.org/issue30410
-
kk yazdı
-
Michael Felt yazdı
bpo-35633: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX (GH-11424) [bpo-35633](https://bugs.python.org/issue35633): Fix a test regression introduced with [bpo-35189](https://bugs.python.org/issue35189) (PEP 475: fnctl functions are not retried if interrupted (EINTR)). Not only a blocking IO error needs to be ignored - permission errors also need to be ignored. p.s. - iirc as a "test" only correction a NEWS item is not required. If this is not correct - just mention, and I'll add a NEWS blurb. https://bugs.python.org/issue35633
-
Paul Monson yazdı
This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
-
Zackery Spytz yazdı
-
Kevin Mai-Husan Chia yazdı
-
Susan Su yazdı
-
- 13 Şub, 2019 6 kayıt (commit)
-
-
Nina Zakharenko yazdı
-
Victor Stinner yazdı
Fix a crash in slice_richcompare(): use strong references rather than stolen references for the two temporary internal tuples. The crash (or assertion error) occurred if a garbage collection occurred during slice_richcompare(), especially while calling PyObject_RichCompare(t1, t2, op).
-
Cheryl Sabella yazdı
-
Raymond Hettinger yazdı
Minor code clean-up.
-
Anthony Sottile yazdı
-
Pablo Galindo yazdı
-
- 12 Şub, 2019 4 kayıt (commit)
-
-
Matěj Cepl yazdı
Make test_imap4_host_default_value independent on whether the local IMAP server is running.
-
Alexey Izbyshev yazdı
bpo-35972: _xxsubinterpreters: Fix potential integer truncation on 32-bit in channel_send() (gh-11822)
-
Christopher Hunt yazdı
-
Rémi Lapeyre yazdı
-
- 11 Şub, 2019 4 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Pablo Galindo yazdı
Changes in this commit: 1. Use a _strong_ reference between the Pool and associated iterators 2. Rework PR #8450 to eliminate a cycle in the Pool. There is no test in this commit because any test that automatically tests this behaviour needs to eliminate the pool before joining the pool to check that the pool object is garbaged collected/does not hang. But doing this will potentially leak threads and processes (see https://bugs.python.org/issue35413).
-
Guido van Rossum yazdı
If PyUnicode_DecodeUTF8() returns NULL, PyArena_AddPyObject() would crash. Found by @msullivan for https://github.com/python/typed_ast/pull/93.
-
Eivind Teig yazdı
Original patch by Mike Short https://bugs.python.org/issue22062
-
- 10 Şub, 2019 2 kayıt (commit)
-
-
Julien Palard yazdı
-
Pablo Galindo yazdı
-