- 28 Jun, 2019 2 commits
-
-
Victor Stinner authored
_PyWarnings_Init() only allocates memory once at startup but it is not released at exit. Ignore this issue to be able to catch other bugs more easily.
-
Miss Islington (bot) authored
(cherry picked from commit 3b03b09f) Co-authored-by: Benjamin Peterson <benjamin@python.org>
-
- 26 Jun, 2019 1 commit
-
-
Miss Islington (bot) authored
Fix test_wsgiref.testEnviron() to no longer depend on the environment variables (don't fail if "X" variable is set). testEnviron() now overrides os.environ to get a deterministic environment. Test full TestHandler.environ content: not only a few selected variables. (cherry picked from commit 5150d327) Co-authored-by: Victor Stinner <vstinner@redhat.com>
-
- 25 Jun, 2019 1 commit
-
-
Victor Stinner authored
Add $(PyDebugExt) in "Killing any running python$(PyDebugExt).exe instances...".
-
- 24 Jun, 2019 3 commits
-
-
animalize authored
-
Victor Stinner authored
(cherry picked from commit c0295dba)
-
Victor Stinner authored
* regrtest: Add --cleanup option to remove "test_python_*" directories of previous failed test jobs. * Add "make cleantest" to run "python -m test --cleanup". (cherry picked from commit 47fbc4e4)
-
- 23 Jun, 2019 1 commit
-
-
Miss Islington (bot) authored
Rephrase and clarify that "the entire Python program exits when only daemon threads are left". This matches the documentation at https://docs.python.org/3/library/threading.htmlGH-thread-objects. (cherry picked from commit bb110cc2) Co-authored-by: mbarkhau <mbarkhau@gmail.com>
-
- 21 Jun, 2019 1 commit
-
-
Victor Stinner authored
test_gdb no longer fails if it gets an "unexpected" message on stderr: it now ignores stderr. The purpose of test_gdb is to test that python-gdb.py commands work as expected, not to test gdb. (cherry picked from commit e56a123f)
-
- 20 Jun, 2019 1 commit
-
-
Ned Deily authored
-
- 19 Jun, 2019 1 commit
-
-
Benjamin Peterson authored
'\0' is the NUL byte not NULL.. (cherry picked from commit 7821b4c6)
-
- 18 Jun, 2019 3 commits
-
-
Ned Deily authored
-
animalize authored
-
Alex Gaynor authored
-
- 17 Jun, 2019 1 commit
-
-
Steve Dower authored
-
- 16 Jun, 2019 1 commit
-
-
Terry Jan Reedy authored
Cherry-picked from 66d47da8.
-
- 15 Jun, 2019 2 commits
-
-
Xtreak authored
-
Xtreak authored
This is a manual backport of ca7fe506 since 2.7 has `http.cookiejar` in `cookielib` https://bugs.python.org/issue35121
-
- 11 Jun, 2019 1 commit
-
-
Victor Stinner authored
If urlparse.urlsplit() detects an invalid netloc according to NFKC normalization, the error message type is now str rather than unicode, and use repr() to format the URL, to prevent <exception str() failed> when display the error message.
-
- 09 Jun, 2019 1 commit
-
-
Dimitri John Ledkov authored
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> https://bugs.python.org/issue34836
-
- 08 Jun, 2019 1 commit
-
-
Eric Wieser authored
-
- 07 Jun, 2019 2 commits
-
-
Zackery Spytz authored
(cherry picked from commit dc247650) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 05 Jun, 2019 1 commit
-
-
Anthony Sottile authored
-
- 04 Jun, 2019 2 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit 59e7bbca) Co-authored-by: Julien Palard <julien@palard.fr>
-
Steve Dower authored
-
- 03 Jun, 2019 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit d3371691) Co-authored-by: cclauss <cclauss@me.com>
-
- 31 May, 2019 1 commit
-
-
Miss Islington (bot) authored
* bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) msilib.Directory.start_component() was passing an extra argument to CAB.gen_id(). (cherry picked from commit c8d5bf6c) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 29 May, 2019 2 commits
-
-
Hai Shi authored
Patch by Kojo Idrissa. (cherry picked from commit 1b4abcf3) Co-authored-by: Kojo Idrissa <kojoidrissa@users.noreply.github.com> https://bugs.python.org/issue33071
-
-
- 28 May, 2019 2 commits
-
-
Victor Stinner authored
Skip the test if xrange(sys.maxsize) raises an OverflowError.
-
Victor Stinner authored
Fix possible overflow in wrap_lenfunc() when sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows). (cherry picked from commit 05f16416)
-
- 24 May, 2019 1 commit
-
-
Victor Stinner authored
-
- 23 May, 2019 1 commit
-
-
Michele Angrisano authored
modified: Lib/ctypes/test/test_unicode.py modified: Misc/ACKS new file: Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst
-
- 22 May, 2019 1 commit
-
-
Victor Stinner authored
Test also URLopener().open(), URLopener().retrieve(), and DummyURLopener().retrieve().
-
- 21 May, 2019 2 commits
-
-
SH authored
CVE-2019-9948: Avoid file reading as disallowing the unnecessary URL scheme in urllib.urlopen().
-
Victor Stinner authored
Disallow control chars in http URLs in urllib2.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. Disable https related urllib tests on a build without ssl (GH-13032) These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures. Use httplib.InvalidURL instead of ValueError as the new error case's exception. (GH-13044) Backport Co-Authored-By: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit 7e200e0763f5b71c199aaf98bd5588f291585619) Notes on backport to Python 2.7: * test_urllib tests urllib.urlopen() which quotes the URL and so is not vulerable to HTTP Header Injection. * Add tests to test_urllib2 on urllib2.urlopen(). * Reject non-ASCII characters: range 0x80-0xff.
-
- 20 May, 2019 2 commits
-
-
Terry Jan Reedy authored
-
Miss Islington (bot) authored
(cherry picked from commit 53d378c8) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 17 May, 2019 1 commit
-
-
Benjamin Peterson authored
TLS 1.3 has a more efficient handshake protocol. The client can reject the server's credentials and close the connection before the server has even finished writing out all of its initial data. Depending on whether the server finishes writing the rest of its handshake before the it sees the connection is reset, the server will read an empty line or see a ECONNRESET OSError. Nothing is really wrong here with the server or client, so just suppress the error output in the OSError case to fix the test. This fix isn't required in Python 3 because clients that reject the server's certificate will shut down the TLS layer before closing the TCP connection.
-