- 13 May, 2019 2 commits
-
-
Terry Jan Reedy authored
-
Gregory P. Smith authored
[2.7] bpo-35925: Skip SSL tests that fail due to weak external certs or old TLS (GH-13124) (GH-13253) Modern Linux distros such as Debian Buster have default OpenSSL system configurations that reject connections to servers with weak certificates by default. This causes our test suite run with external networking resources enabled to skip these tests when they encounter such a failure. Fixing the network servers is a separate issue. (cherry picked from commit 2cc0223f) Changes to test_ssl.py required as 2.7 has legacy protocol tests. The test_httplib.py change is omitted from this backport as self-signed.pythontest.net's certificate was updated and the test_nntplib.py change is not applicable on 2.7. Authored-by: Gregory P. Smith greg@krypto.org
-
- 12 May, 2019 1 commit
-
-
Toshio Kuratomi authored
In Python-2.7, we were only searching for bind_textdomain_codeset in libc. We should have also checked for it in libintl. This change from Mel Flynn https://bugs.python.org/file24918/python27-configure.in.patch fixes that.
-
- 09 May, 2019 1 commit
-
-
Gregory P. Smith authored
* [2.7] bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) We updated the server, our testsuite must match. https://bugs.python.org/issue36816
✈ ️ CLE -> DEN✈ ️ #pycon2019 #beyonce (cherry picked from commit 6bd81734) The 2.7 tree also needed a certificate in the capath directory updated. The filename for that was determined by `openssl x509 -in $cert.pem -subject_hash`. Authored-by: Gregory P. Smith <greg@krypto.org>
-
- 08 May, 2019 1 commit
-
-
Julien Palard authored
Patch by Mike Taylor.
-
- 02 May, 2019 2 commits
-
-
Zackery Spytz authored
(cherry picked from commit c4e78b11)
-
Miss Islington (bot) authored
(cherry picked from commit 11e4a941) Co-authored-by: Xtreak <tir.karthi@gmail.com>
-
- 01 May, 2019 1 commit
-
-
Steve Dower authored
-
- 30 Apr, 2019 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit ee0309f3) Co-authored-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
-
- 29 Apr, 2019 1 commit
-
-
Victor Stinner authored
-
- 25 Apr, 2019 1 commit
-
-
Victor Stinner authored
bpo-28552, bpo-7774: Fix distutils.sysconfig if sys.executable is None or an empty string: use os.getcwd() to initialize project_base. Fix also the distutils build command: don't use sys.executable if it's evaluated as false (None or empty string).
-
- 22 Apr, 2019 1 commit
-
-
Zackery Spytz authored
(cherry picked from commit 56ed8649) https://bugs.python.org/issue9194
-
- 13 Apr, 2019 1 commit
-
-
Victor Stinner authored
"make tags" and "make TAGS" now also parse Modules/_io/*.c and Modules/_io/*.h. (cherry picked from commit 21a74a9d)
-
- 12 Apr, 2019 1 commit
-
-
Joshua Root authored
A fix for 69e96910, which resulted in lchmod being disabled on all platforms, not just Linux. (cherry picked from commit ed709d56)
-
- 09 Apr, 2019 5 commits
-
-
Victor Stinner authored
Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler().
-
Victor Stinner authored
Fix reference leak hunting in regrtest: compute also deltas (of reference count and file descriptor count) during warmup, to ensure that everything is initialized before starting to hunt reference leaks. Other changes: * Replace gc.collect() with support.gc_collect() in clear_caches() * dash_R() is now more quiet with --quiet option (don't display progress). * Precompute the full range for "for it in range(repcount):" to ensure that the iteration doesn't allocate anything new. * dash_R() now is responsible to call warm_caches(). (cherry picked from commit 5aaac94e)
-
Inada Naoki authored
-
Inada Naoki authored
-
cocoatomo authored
-
- 03 Apr, 2019 1 commit
-
-
Zackery Spytz authored
(cherry picked from commit 487b73ab)
-
- 31 Mar, 2019 1 commit
-
-
Zackery Spytz authored
bpo-36150: Fix possible assertion failures due to _ctypes.c's PyCData_reduce(). (GH-12106) (GH-12643) (cherry picked from commit 5f2c5081)
-
- 28 Mar, 2019 1 commit
-
-
Miss Islington (bot) authored
Remove the PyMem_FREE() call added in cb90c89d. The buffer will be freed when PyTokenizer_Free() is called on the tokenizer state. (cherry picked from commit cda139d1) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 27 Mar, 2019 3 commits
-
-
Steve Dower authored
-
Miss Islington (bot) authored
(cherry picked from commit d5a5a33f) Co-authored-by: Philipp A <flying-sheep@web.de>
-
Miss Islington (bot) authored
(cherry picked from commit f760610b) Co-authored-by: Andre Delfino <adelfino@gmail.com>
-
- 26 Mar, 2019 2 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit 6cd658b1) Co-authored-by: Tal Einat <taleinat+github@gmail.com> https://bugs.python.org/issue34203
-
Miss Islington (bot) authored
(cherry picked from commit 0523c39e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 25 Mar, 2019 2 commits
-
-
Miss Islington (bot) authored
* bpo-34085: Improve wording on classmethod/staticmethod * Address comments from Éric * Address comments from Éric (cherry picked from commit 548cb606) Co-authored-by: Andre Delfino <adelfino@gmail.com>
-
Zackery Spytz authored
Add missing Py_DECREF()s.
-
- 20 Mar, 2019 2 commits
-
-
Victor Stinner authored
(cherry picked from commit cb90c89d)
-
Julien Palard authored
(cherry picked from commit fc8284e2) Co-authored-by: Jean-François B <jfbu@free.fr>
-
- 19 Mar, 2019 3 commits
-
-
Inada Naoki authored
(cherry picked from commit 74ae50e5) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
-
Stéphane Wirtel authored
Fix buffer overflow in send() and sendall() methods of socket.socket for data larger than 2 GiB.
- 18 Mar, 2019 2 commits
-
-
Julien Palard authored
(cherry picked from commit dfc8fc15fa989acba3c372572e52bbcb5ab38a37)
-
Victor Stinner authored
The test test_customize_compiler() now mocks all sysconfig variables and all environment variables used by customize_compiler(). (cherry picked from commit 72c7b372)
-
- 15 Mar, 2019 1 commit
-
-
Victor Stinner authored
Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com> (cherry picked from commit 86082c22)
-
- 14 Mar, 2019 3 commits
-
-
Victor Stinner authored
Fix an unlikely memory leak on conversion from string to float in the function _Py_dg_strtod() used by float(str), complex(str), pickle.load(), marshal.load(), etc. Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label: rewrite memory management in this function to always release all memory before exiting the function. Initialize variables to NULL, and set them to NULL after calling Bfree() at the "cont:" label. Note: Bfree(NULL) is well defined: it does nothing. (cherry picked from commit 9776b063)
-
stratakis authored
Fix a reference leak in _bufferedreader_read_all(): _io.BufferedIOMixin.read() leaks a reference on 'data' when it reads the whole file content but flush() fails.
-
stratakis authored
Fix a reference leak in json if parsing a floating point number fails. If PyOS_string_to_double() fails in _match_number_str(): decrement numstr ref counter.
-