1917d9b | Larry Hastings | 17 March 2019, 23:47:59 UTC | Version bump for 3.5.7 final. | 17 March 2019, 23:47:59 UTC |
6c4214d | Larry Hastings | 17 March 2019, 23:39:54 UTC | Blurb release and pydoc-topics for 3.5.7 final. | 17 March 2019, 23:39:54 UTC |
4749f1b | Xtreak | 17 March 2019, 00:03:39 UTC | [3.5] bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258) (#12281) Don't send cookies of domain A without Domain attribute to domain B when domain A is a suffix match of domain B while using a cookiejar with `http.cookiejar.DefaultCookiePolicy` policy. Patch by Karthikeyan Singaravelan. (cherry picked from commit ca7fe5063593958e5efdf90f068582837f07bd14) Co-authored-by: Xtreak <tir.karthi@gmail.com> | 17 March 2019, 00:03:39 UTC |
382981b | Xtreak | 16 March 2019, 23:42:11 UTC | bpo-35647: Fix path check in cookiejar (#11436) (#12277) * Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter (cherry picked from commit 0e1f1f01058bd4a9b98cfe443214adecc019a38c) | 16 March 2019, 23:42:11 UTC |
c0d9511 | Steve Dower | 11 March 2019, 04:59:24 UTC | bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201) (#12223) | 11 March 2019, 04:59:24 UTC |
6b0d50d | Larry Hastings | 04 March 2019, 09:36:14 UTC | Post-release verison bump for 3.5.7rc1. | 04 March 2019, 09:36:14 UTC |
d571dd3 | Larry Hastings | 04 March 2019, 02:09:45 UTC | Version bump & copyright year update for 3.5.7rc1. | 04 March 2019, 02:09:45 UTC |
485fa7e | Larry Hastings | 04 March 2019, 02:00:25 UTC | PyDoc and blurb updates for 3.5.7rc1. | 04 March 2019, 02:00:25 UTC |
8ec1fd1 | Cheryl Sabella | 04 March 2019, 00:00:49 UTC | [3.5] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (#12144) Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some reserved signal numbers between 1 and NSIG. The `range(1, NSIG)` idiom is commonly used to select all signals for blocking with `pthread_sigmask`. So we ignore the sigaddset() return value until we expose sigfillset() to provide a better idiom. (cherry picked from commit 25038ec) Co-authored-by: Antoine Pitrou <pitrou@free.fr> | 04 March 2019, 00:00:49 UTC |
56f8783 | Alex Viscreanu | 01 March 2019, 07:36:00 UTC | [3.5] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (#10994) * bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7. Documentation updates and fixes for failing tests will be provided in another patch set. Signed-off-by: Christian Heimes <christian@python.org> | 01 March 2019, 07:36:00 UTC |
7cd08cf | Victor Stinner | 26 February 2019, 01:47:47 UTC | bpo-34791: xml package obeys ignore env flags (GH-9544) (#11871) The xml.sax and xml.dom.domreg modules now obey sys.flags.ignore_environment. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 223e501fb9c2b6ae21b96054e20c4c31d94a5d96) | 26 February 2019, 01:47:47 UTC |
ef33dd6 | Victor Stinner | 26 February 2019, 00:42:39 UTC | closes bpo-34656: Avoid relying on signed overflow in _pickle memos. (GH-9261) (#11869) (cherry picked from commit a4ae828ee416a66d8c7bf5ee71d653c2cc6a26dd) | 26 February 2019, 00:42:39 UTC |
efec763 | Victor Stinner | 26 February 2019, 00:17:02 UTC | bpo-35746: Fix segfault in ssl's cert parser (GH-11569) (#11867) Fix a NULL pointer deref in ssl module. The cert parser did not handle CRL distribution points with empty DP or URI correctly. A malicious or buggy certificate can result into segfault. Vulnerability (TALOS-2018-0758) reported by Colin Read and Nicolas Edet of Cisco. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit a37f52436f9aa4b9292878b72f3ff1480e2606c3) | 26 February 2019, 00:17:02 UTC |
8bcbc78 | Victor Stinner | 25 February 2019, 23:16:36 UTC | bpo-35411: Skip test_urllib2net FTP tests on Travis CI (GH-10907) (#11874) On Travis CI, FTP tests of test_urllib2net randomly fail with "425 Security: Bad IP connecting". (cherry picked from commit c11b3b19a5b022c6c229043d37f9a9fd06f22500) | 25 February 2019, 23:16:36 UTC |
41b48e7 | stratakis | 25 February 2019, 21:04:09 UTC | [3.5] bpo-34623: Use XML_SetHashSalt in _elementtree (#9933) * bpo-34623: Use XML_SetHashSalt in _elementtree (GH-9146) The C accelerated _elementtree module now initializes hash randomization salt from _Py_HashSecret instead of libexpat's default CPRNG. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34623 (cherry picked from commit cb5778f00ce48631c7140f33ba242496aaf7102b) Co-authored-by: Christian Heimes <christian@python.org> | 25 February 2019, 21:04:09 UTC |
1a2b52b | Larry Hastings | 02 August 2018, 13:51:56 UTC | Post-release version bump for 3.5.6. | 02 August 2018, 13:51:56 UTC |
627d0c6 | Larry Hastings | 02 August 2018, 09:19:12 UTC | Version bump for 3.5.6 final. | 02 August 2018, 09:19:12 UTC |
b86a50f | Larry Hastings | 02 August 2018, 09:16:53 UTC | Add Blurb entry for 3.5.6 final. | 02 August 2018, 09:16:53 UTC |
f497e74 | Larry Hastings | 20 July 2018, 02:31:49 UTC | Post-release version bump for 3.5.6rc1. | 20 July 2018, 02:31:49 UTC |
7df16b1 | Larry Hastings | 20 July 2018, 00:57:25 UTC | Version bump for 3.5.6rc1. | 20 July 2018, 00:57:25 UTC |
95c6597 | Larry Hastings | 20 July 2018, 00:55:28 UTC | PyDoc topics refresh & blurb release for 3.5.6rc1. | 20 July 2018, 00:55:28 UTC |
76aa2c0 | larryhastings | 19 July 2018, 23:35:28 UTC | bpo-33216: Clarify the documentation for CALL_FUNCTION_* (#8338) Clarify the documentation for the CALL_FUNCTION_* bytecodes. They changed in 3.5 in subtle ways and the documentation has never been correct, much less clear. | 19 July 2018, 23:35:28 UTC |
1b141b9 | Julien Palard | 02 July 2018, 19:56:28 UTC | Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) | 02 July 2018, 19:56:28 UTC |
13402fc | Ned Deily | 27 June 2018, 22:49:31 UTC | Backport 3.7.0 final changes | 27 June 2018, 22:49:31 UTC |
f381cfe | Steve Dower | 14 May 2018, 18:03:17 UTC | [3.5] bpo-33001: Prevent buffer overrun in os.symlink (GH-5989) (#5991) * bpo-33001: Minimal fix to prevent buffer overrun in os.symlink * Remove invalid test | 14 May 2018, 18:03:17 UTC |
937ac1f | Ned Deily | 11 March 2018, 18:29:05 UTC | [3.5] bpo-32981: Fix catastrophic backtracking vulns (GH-5955) (#6034) * Prevent low-grade poplib REDOS (CVE-2018-1060) The regex to test a mail server's timestamp is susceptible to catastrophic backtracking on long evil responses from the server. Happily, the maximum length of malicious inputs is 2K thanks to a limit introduced in the fix for CVE-2013-1752. A 2KB evil response from the mail server would result in small slowdowns (milliseconds vs. microseconds) accumulated over many apop calls. This is a potential DOS vector via accumulated slowdowns. Replace it with a similar non-vulnerable regex. The new regex is RFC compliant. The old regex was non-compliant in edge cases. * Prevent difflib REDOS (CVE-2018-1061) The default regex for IS_LINE_JUNK is susceptible to catastrophic backtracking. This is a potential DOS vector. Replace it with an equivalent non-vulnerable regex. Also introduce unit and REDOS tests for difflib. Co-authored-by: Tim Peters <tim.peters@gmail.com> Co-authored-by: Christian Heimes <christian@python.org>. (cherry picked from commit 0e6c8ee2358a2e23117501826c008842acb835ac) | 11 March 2018, 18:29:05 UTC |
6fb30f4 | Larry Hastings | 05 February 2018, 00:38:21 UTC | Post-release bump for Python 3.5.5. | 05 February 2018, 00:38:21 UTC |
27657e7 | Larry Hastings | 04 February 2018, 23:40:56 UTC | Version bump for 3.5.5. | 04 February 2018, 23:40:56 UTC |
8201a1e | Larry Hastings | 04 February 2018, 23:39:04 UTC | Finalize blurb archive for 3.5.5 (no new blurbs). | 04 February 2018, 23:39:04 UTC |
50b75d0 | Larry Hastings | 04 February 2018, 16:28:44 UTC | Merge branch '3.5' of github.com:python/cpython into 3.5 | 04 February 2018, 16:28:44 UTC |
2d80514 | Larry Hastings | 04 February 2018, 16:17:48 UTC | Post-release version bump for 3.5.5rc1. | 04 February 2018, 16:17:48 UTC |
2fc65c6 | Ned Deily | 01 February 2018, 03:11:02 UTC | Update docs template for 3.8 | 01 February 2018, 03:11:02 UTC |
bc7a130 | Larry Hastings | 23 January 2018, 13:49:45 UTC | Whoops, missed checking in version bump. | 23 January 2018, 13:49:45 UTC |
2740fcc | Larry Hastings | 23 January 2018, 12:35:33 UTC | Bump version and copyright year for 3.5.5rc1. | 23 January 2018, 12:35:33 UTC |
604fb62 | Larry Hastings | 23 January 2018, 12:25:28 UTC | blurb release and pydoc topics for 3.5.5rc1. | 23 January 2018, 12:25:28 UTC |
43f014d | Serhiy Storchaka | 23 January 2018, 11:21:21 UTC | [3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656) * [3.5] bpo-32072: Fix issues with binary plists. (GH-4455) * Fixed saving bytearrays. * Identical objects will be saved only once. * Equal references will be load as identical objects. * Added support for saving and loading recursive data structures. (cherry picked from commit a897aee) * Fix implementation dependent assertion in test_plistlib. (#4813) It is failed with an advanced optimizer. | 23 January 2018, 11:21:21 UTC |
891c91d | Nick Coghlan | 23 January 2018, 10:48:11 UTC | [3.5] bpo-32551: Consistently configure sys.path[0] (#5197) Directory and zipfile execution previously added the parent directory of the directory or zipfile as sys.path[0] and then subsequently overwrote it with the directory or zipfile itself. This caused problems in isolated mode, as it overwrote the "stdlib as a zip archive" entry in sys.path, as the parent directory was never added. The attempted fix to that issue in bpo-29319 created the opposite problem in *non*-isolated mode, by potentially leaving the parent directory on sys.path instead of overwriting it. This change fixes the root cause of the problem by removing the whole "add-and-overwrite" dance for sys.path[0], and instead simply never adds the parent directory to sys.path in the first place. (cherry picked from commit d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d) | 23 January 2018, 10:48:11 UTC |
57fa0ab | Nick Coghlan | 23 January 2018, 10:24:39 UTC | [3.5] bpo-32563: Get expat to compile under C89 (#5201) * [3.5] bpo-32563: Get expat to compile under C89 expat: Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation. Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2 * Backport XML RPC test skip to 3.5 The buildbot service upgrade removed the XML-RPC interface, so this test no longer works (through no fault of the standard library). * Don't configure a nonexistent Python | 23 January 2018, 10:24:39 UTC |
4a4c274 | Nick Coghlan | 23 January 2018, 09:10:43 UTC | [3.5] bpo-32620: Remove failing pyenv call from CI config (#5274) * [3.5] Remove failing pyenv call from CI config * Backport XML RPC test skip to 3.5 The buildbot service upgrade removed the XML-RPC interface, so this test no longer works (through no fault of the standard library). | 23 January 2018, 09:10:43 UTC |
fd8614c | Miro Hrončok | 08 December 2017, 21:34:12 UTC | bpo-30657: Fix CVE-2017-1000158 (#4664) Fixes possible integer overflow in PyBytes_DecodeEscape. Co-Authored-By: Jay Bosamiya <jaybosamiya@gmail.com> | 08 December 2017, 21:34:12 UTC |
dcb101e | Ned Deily | 12 October 2017, 20:39:51 UTC | Exclude VENVDIR in Doc builds (#3977) | 12 October 2017, 20:39:51 UTC |
0a8ff1b | Ned Deily | 04 October 2017, 03:29:07 UTC | Remove retired and security branches from active docs (#3882) | 04 October 2017, 03:29:07 UTC |
0fcc033 | INADA Naoki | 26 September 2017, 21:24:16 UTC | bpo-31095: fix potential crash during GC (GH-2974) (#3196) (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c) | 26 September 2017, 21:24:16 UTC |
44c1b62 | Steve Dower | 26 September 2017, 13:00:28 UTC | [3.5] bpo-31170: Fix inclusion of expat in Windows build projects. (#3751) * bpo-31170: Fix inclusion of expat in Windows build projects. * Fixes line endings | 26 September 2017, 13:00:28 UTC |
f2492bb | Victor Stinner | 25 September 2017, 00:58:32 UTC | [3.5][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3354) * bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 * Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security fixes. * Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial characters for UTF-8 input (libexpat bug 115): https://github.com/libexpat/libexpat/issues/115 * Define XML_POOR_ENTROPY when compiling expat | 25 September 2017, 00:58:32 UTC |
70c630a | Victor Stinner | 24 September 2017, 22:45:00 UTC | bpo-31568, Travis CI: Fix python3.5 (#3737) Works around Travis CI bug about the python3.5 binary: https://github.com/travis-ci/travis-ci/issues/8363 | 24 September 2017, 22:45:00 UTC |
0d68d6d | Mariatta | 08 September 2017, 18:32:26 UTC | [3.5] Fix broken `Show Source` links on documentation pages (GH-3113) (#3126) The `Show Source` was broken because of a change made in sphinx 1.5.1 In Sphinx 1.4.9, the sourcename was "index.txt". In Sphinx 1.5.1+, it is now "index.rst.txt". (cherry picked from commit b9ff498793611d1c6a9b99df464812931a1e2d69) | 08 September 2017, 18:32:26 UTC |
9cc3320 | Ned Deily | 08 September 2017, 17:42:19 UTC | [3.5] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440) Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target. | 08 September 2017, 17:42:19 UTC |
5da989c | Larry Hastings | 08 August 2017, 11:09:22 UTC | Merge 3.5.4 release into main 3.5 branch. | 08 August 2017, 11:09:22 UTC |
86833a2 | Larry Hastings | 08 August 2017, 11:08:20 UTC | Post-release version bump for 3.5.4 final. | 08 August 2017, 11:08:20 UTC |
3f56838 | Larry Hastings | 07 August 2017, 07:59:11 UTC | Version bump for 3.5.4 final. | 07 August 2017, 07:59:11 UTC |
ff078f4 | Larry Hastings | 07 August 2017, 07:56:55 UTC | Blurb release and pydoc topics for 3.5.4 final. | 07 August 2017, 07:56:55 UTC |
14167c9 | Mariatta | 01 August 2017, 02:53:43 UTC | bpo-25910: Update LICENSE (GH-2873) (GH-2968) Use the copy provided in https://bugs.python.org/issue25910GH-msg295200 (cherry picked from commit 8474d87165593bac2bc231287f42c4cff3fd6aaf) (cherry picked from commit f6306e737203ac1bf1717bbf62bc58dac24b68db) | 07 August 2017, 07:34:16 UTC |
b672a45 | Mariatta | 29 July 2017, 02:56:13 UTC | Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2941) (cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c) (cherry picked from commit 52c41f18086f3d8b1eb3854b568f04717c724e3d) | 07 August 2017, 07:34:16 UTC |
abe7b60 | Ned Deily | 27 July 2017, 19:50:04 UTC | [3.5] bpo-31036: use an existing Misc/NEWS rather than trying to use blurb (#2874) * bpo-31036: use an existing Misc/NEWS rather than trying to use blurb * bpo-31036: avoid echoing comments (cherry picked from commit 3de144890ad3bc50694368a1b33be6d7f3a780b3) | 07 August 2017, 07:34:16 UTC |
27ea3c7 | Mariatta | 01 August 2017, 04:34:47 UTC | Remove .mention-bot (GH-2923) (GH-2971) (cherry picked from commit e1e60bd95c376f9b18cbaf9481364281c6cc1bc7) | 01 August 2017, 04:34:47 UTC |
f6306e7 | Mariatta | 01 August 2017, 02:53:43 UTC | bpo-25910: Update LICENSE (GH-2873) (GH-2968) Use the copy provided in https://bugs.python.org/issue25910GH-msg295200 (cherry picked from commit 8474d87165593bac2bc231287f42c4cff3fd6aaf) | 01 August 2017, 02:53:43 UTC |
52c41f1 | Mariatta | 29 July 2017, 02:56:13 UTC | Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2941) (cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c) | 29 July 2017, 02:56:13 UTC |
3de1448 | Ned Deily | 27 July 2017, 19:50:04 UTC | [3.5] bpo-31036: use an existing Misc/NEWS rather than trying to use blurb (#2874) * bpo-31036: use an existing Misc/NEWS rather than trying to use blurb * bpo-31036: avoid echoing comments | 27 July 2017, 19:50:04 UTC |
f9fbed1 | Serhiy Storchaka | 27 July 2017, 10:16:21 UTC | [3.5] bpo-30876: Add new import test files to projects. (GH-2851). (#2913) (cherry picked from commit d5ed47dea25e04a3a144eddf99a4ac4a29242dbc) | 27 July 2017, 10:16:21 UTC |
19b2890 | Dong-hee Na | 26 July 2017, 07:04:42 UTC | [3.5] [security] bpo-30119: fix ftplib.FTP.putline() to throw an error for a illegal command (#1214) (#2887) | 26 July 2017, 07:04:42 UTC |
49175b3 | Segev Finer | 25 July 2017, 17:20:51 UTC | [3.5] bpo-31018: Switch to GH-pragma pack from __declspec(align) (GH-2848) (#2869) (cherry picked from commit 39243779f4c97ec6f700fa73c007ca66dfa9408e) | 25 July 2017, 17:20:51 UTC |
73bff8c | Larry Hastings | 25 July 2017, 09:08:36 UTC | Post-release version bump for 3.5.4rc1. | 25 July 2017, 09:08:36 UTC |
a628478 | Larry Hastings | 25 July 2017, 09:05:42 UTC | Merge main 3.5 branch into 3.5.4rc1. | 25 July 2017, 09:05:42 UTC |
157b6ad | Victor Stinner | 24 July 2017, 15:40:47 UTC | bpo-30908: Fix dangling thread in test_os.TestSendfile (#2680) (#2845) tearDown() now clears explicitly the self.server variable to make sure that the thread is completely cleared when tearDownClass() checks if all threads have been cleaned up. Fix the following warning: $ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os (...) Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2) (...) Tests result: ENV CHANGED (cherry picked from commit d1cc037d1442cc35d1b194ec8e50901514360949) | 24 July 2017, 15:40:47 UTC |
dbe6aba | Ned Deily | 24 July 2017, 08:58:00 UTC | Backport Mac installer fixes for git-based workflow (#2838) | 24 July 2017, 08:58:00 UTC |
002f778 | Ned Deily | 24 July 2017, 07:47:31 UTC | bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457) (#2835) (cherry picked from commit cfcd76777e35c83d548d8736f5d7dc92fe56d806) | 24 July 2017, 07:47:31 UTC |
385b368 | Larry Hastings | 24 July 2017, 02:40:13 UTC | Version bump & copyright year fixes for 3.5.4rc1. | 24 July 2017, 02:40:13 UTC |
2363678 | Larry Hastings | 24 July 2017, 02:37:38 UTC | Updated pydoc-topics for 3.5.4rc1. | 24 July 2017, 02:37:38 UTC |
9bf9aa2 | Larry Hastings | 24 July 2017, 02:19:54 UTC | Blurb release for 3.5.4rc1. | 24 July 2017, 02:19:54 UTC |
b902833 | Larry Hastings | 24 July 2017, 02:18:13 UTC | Update 3.5 to use blurb! | 24 July 2017, 02:18:13 UTC |
fcfbeb9 | Ned Deily | 23 July 2017, 23:39:49 UTC | Mac installer build now needs venv for docs build (#2828) (#2833) (cherry picked from commit 4c7532e96da19f2d5543bdab2b972797699c37d5) | 23 July 2017, 23:39:49 UTC |
8b99e2d | Ned Deily | 23 July 2017, 22:09:14 UTC | Add option to pass vcs info into Mac installer build (#2832) (cherry picked from commit 4da52247d6ae53b8384f9753430e8cd2672ff97d) | 23 July 2017, 22:09:14 UTC |
c824cc8 | Serhiy Storchaka | 23 July 2017, 06:44:05 UTC | [3.5] Backport bpo-30876 (GH-2639), bpo-18018 and bpo-26367. (#2677) * bpo-30876: Relative import from unloaded package now reimports the package instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError. (cherry picked from commit 8a9cd20edca7d01b68292036029ae3735ce65edd) * bpo-18018: Import raises ImportError instead of SystemError if a relative import is attempted without a known parent package. * bpo-26367: importlib.__init__() raises ImportError like builtins.__import__() when ``level`` is specified but without an accompanying package specified. | 23 July 2017, 06:44:05 UTC |
e78dc0a | Berker Peksag | 21 July 2017, 23:27:17 UTC | [3.5] bpo-29403: Fix mock's broken autospec behavior on method-bound builtin functions (GH-3) Cython will, in the right circumstances, offer a MethodType instance where im_func is a builtin function. Any instance of MethodType is automatically assumed to be a Python-defined function (more specifically, a function that has an inspectable signature), but _set_signature was still conservative in its assumptions. As a result _set_signature would return early with None instead of a mock since the im_func had no inspectable signature. This causes problems deeper inside mock, as _set_signature is assumed to _always_ return a mock, and nothing checked its return value. In similar corner cases, autospec will simply not check the spec of the function, so _set_signature is amended to now return early with the original, not-wrapped mock object. Patch by Aaron Gallagher. (cherry picked from commit 856cbcc12f2e4cca93af5dc7ed6bcea4dd942f10) | 21 July 2017, 23:27:17 UTC |
bf3a1e9 | Victor Stinner | 20 July 2017, 16:08:54 UTC | bpo-30822: regrtest: remove tzdata (#2782) * Oops, tzdata was introduced in Python 3.6: remove it from regrtest * Remove also Lib/test/libregrtest/__init__.py file: add by mistake on a backport. | 20 July 2017, 16:08:54 UTC |
645e503 | Victor Stinner | 20 July 2017, 15:08:51 UTC | bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2781) When running the test suite using --use=all / -u all, exclude tzdata since it makes test_datetime too slow (15-20 min on some buildbots) which then times out on some buildbots. -u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata, to run all test_datetime tests. Fix also regrtest command line parser to allow passing -u extralargefile to run test_zipfile64. Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all. (cherry picked from commit 5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6) | 20 July 2017, 15:08:51 UTC |
71d9b52 | Mariatta | 20 July 2017, 14:14:18 UTC | [3.5] Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770) (GH-2779) (cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135) | 20 July 2017, 14:14:18 UTC |
6b1a777 | Ned Deily | 20 July 2017, 08:34:16 UTC | Update doc download files size estimates. (#2771) (#2773) | 20 July 2017, 08:34:16 UTC |
aca493b | Ammar Askar | 20 July 2017, 00:20:39 UTC | [3.5] bpo-30883: Use pythontest.net instead of debian.org in test_urllib2net (GH-2755) | 20 July 2017, 00:20:39 UTC |
cb3f024 | Xiang Zhang | 18 July 2017, 16:51:58 UTC | bpo-30961: Fix decrementing a borrowed reference in tracemalloc. (#2747) (#2749) (cherry picked from commit 4ed5ad79ec6c6270e6018bd0a55656305ee60907) | 18 July 2017, 16:51:58 UTC |
45c471c | Serhiy Storchaka | 16 July 2017, 04:50:37 UTC | [3.5] bpo-30936: Fix a reference leak in json when fail to sort keys. (GH-2712). (#2728) (cherry picked from commit 49f6449ef4b81537c19b82329caaf60596c516c2) | 16 July 2017, 04:50:37 UTC |
ada3f31 | Ned Deily | 15 July 2017, 21:01:56 UTC | bpo-30939: Avoid Sphinx deprecation warning in docs build. (#2721) (#2723) (cherry picked from commit 50f58163a69abe2f35e91044d1df165ee7bdbb42) | 15 July 2017, 21:01:56 UTC |
2ec2c5f | Serhiy Storchaka | 13 July 2017, 08:57:32 UTC | [3.5] bpo-30911: Add tests for bad boolean arguments for accelerated json (GH-2690) (#2693) encoder and decoder. (cherry picked from commit d3aaa2f) | 13 July 2017, 08:57:32 UTC |
31d8c0d | Segev Finer | 11 July 2017, 22:16:31 UTC | [3.5] Avoid _GNU_SOURCE redefined warning in xmlparse.c (GH-2670) (#2671) (cherry picked from commit f52325598e7a9683787d76a42009fc16790a0089) | 11 July 2017, 22:16:31 UTC |
44eb51e | Serhiy Storchaka | 11 July 2017, 04:43:36 UTC | [3.5] bpo-22207: Add checks for possible integer overflows in unicodeobject.c. (GH-2623) (#2659) Based on patch by Victor Stinner. (cherry picked from commit 64e461be09e23705ecbab43a8b01722186641f71) | 11 July 2017, 04:43:36 UTC |
7527c32 | Serhiy Storchaka | 11 July 2017, 04:43:14 UTC | [3.5] bpo-30879: os.listdir() and os.scandir() now emit bytes names when (GH-2634) (#2657) called with bytes-like argument. (cherry picked from commit 1180e5a51871fa53ca6892e83fd2e69dc2600447) | 11 July 2017, 04:43:14 UTC |
7f567e7 | Victor Stinner | 10 July 2017, 21:13:49 UTC | bpo-30892: Fix _elementtree module initialization (#2647) (#2650) Handle getattr(copy, 'deepcopy') error in _elementtree module initialization. (cherry picked from commit b136f11f3a51f9282ae992bac68f170ca5563b55) | 10 July 2017, 21:13:49 UTC |
69e4180 | Victor Stinner | 10 July 2017, 11:43:17 UTC | bpo-30886: Fix multiprocessing.Queue.join_thread() (#2642) (#2644) multiprocessing.Queue.join_thread() now waits until the thread completes, even if the thread was started by the same process which created the queue. Fix the following warning which occurs randomly when running test_handle_called_with_mp_queue of test_logging.QueueListenerTest: Warning -- threading_cleanup() failed to cleanup -1 threads after 4 sec (count: 0, dangling: 1) (cherry picked from commit 3b69d911c57ef591ac0c0f47a66dbcad8337f33a) | 10 July 2017, 11:43:17 UTC |
68c3724 | Nir Soffer | 09 July 2017, 10:42:35 UTC | [3.5] bpo-29854: Fix segfault in call_readline() (GH-728) If history-length is set in .inputrc, and the history file is double the history size (or more), history_get(N) returns NULL, and python segfaults. Fix that by checking for NULL return value. It seems that the root cause is incorrect handling of bigger history in readline, but Python should not segfault even if readline returns unexpected value. This issue affects only GNU readline. When using libedit emulation system history size option does not work. | 09 July 2017, 10:42:35 UTC |
3bbdf99 | Joel Hillacre | 06 July 2017, 21:29:09 UTC | bpo-30532: Fix whitespace folding in certain cases (#2592) Leading whitespace was incorrectly dropped during folding of certain lines in the _header_value_parser's folding algorithm. This makes the whitespace handling code consistent. | 06 July 2017, 21:29:09 UTC |
710cc76 | Segev Finer | 06 July 2017, 21:08:41 UTC | [3.5] Fix case in .gitignore (GH-2607) (GH-2609) (cherry picked from commit be5ebe58776a02d53bcf5e43ab946b555c0e025f) | 06 July 2017, 21:08:41 UTC |
10df96a | Mariatta | 06 July 2017, 03:55:18 UTC | Fix trivial typo in json module docstring (GH-2274) (GH-2431) (cherry picked from commit 76c567ee27342d76f631a35c8291b715b2a61f3e) | 06 July 2017, 03:55:18 UTC |
c48a000 | Victor Stinner | 05 July 2017, 13:58:24 UTC | [3.5] bpo-30855: Trying to fix test_use on Windows. (#2585) * bpo-30855: Trying to fix test_use on Windows. Avoid possible weird behavior of WideInt convertion. "winfo id" always returns string hexadecimal representation. (cherry picked from commit b9d672491d5082c541bf267eb7bb99fdc6529324) * bpo-30855: Trying to fix test_use on Windows. (cherry picked from commit 29a2f7c6b38e5a6ed891aa72af38974a1ff2d372) | 05 July 2017, 13:58:24 UTC |
320ee67 | Segev Finer | 04 July 2017, 18:39:28 UTC | [3.5] bpo-30726: Also fix pyexpat.vcxproj (GH-2375) (#2571) (cherry picked from commit 7526cadd64566725ffc56071a7208828a46ddbd8) | 04 July 2017, 18:39:28 UTC |
ebf7d21 | Berker Peksag | 04 July 2017, 06:28:02 UTC | Remove outdated FOX from GUI FAQ (GH-2538) FXpy doesn't have a Python 3 port and it only supports Python 2.2 and older versions. Reported by Alex Walters on docs@p.o. (cherry picked from commit d3ed2877a798d07df75422afe136b4727e500c99) | 04 July 2017, 06:28:02 UTC |
1a3bc55 | Serhiy Storchaka | 04 July 2017, 04:55:45 UTC | [3.5] bpo-30441: Fix bug when modifying os.environ while iterating over it (GH-2409). (#2557) (cherry picked from commit 8a8d28501fc8ce25926d168f1c657656c809fd4c) | 04 July 2017, 04:55:45 UTC |
0b12107 | Victor Stinner | 03 July 2017, 11:16:57 UTC | [3.5] bpo-29512, bpo-30764, bpo-30776: Backport regrtest enhancements from 3.6 to 3.5 (#2540) * [3.6] bpo-29512, bpo-30776: Backport regrtest enhancements from master to 3.6 (#2513) * bpo-29512: Add test.bisect, bisect failing tests (#2452) Add a new "python3 -m test.bisect" tool to bisect failing tests. It can be used to find which test method(s) leak references, leak files, etc. (cherry picked from commit 84d9d14a1fa395fbd21262ba195490be25a7b3bc) * bpo-30776: regrtest: reduce memleak false positive (#2484) Only report a leak if each run leaks at least one memory block. (cherry picked from commit beeca6e1e5fd01531b1db7059498b13d07dca525) (cherry picked from commit a3ca94d0504157a112a1f89bfe8be1307116fc73) * bpo-30764: Fix regrtest --fail-env-changed --forever (#2536) (#2539) --forever now stops if a fail changes the environment. (cherry picked from commit 5e87592fd12e0b7c41edc11d4885ed7298d5063b) (cherry picked from commit 4132adb4b8f90893d8f19ff46edff56f189faca0) | 03 July 2017, 11:16:57 UTC |
4685e56 | Kojo Idrissa | 02 July 2017, 02:47:56 UTC | [3.5] bpo-29933: Improve set_write_buffer_limits description (GH-2262) (GH-2533) Improve the description of the high and low parameters for set_write_buffer_limits. Also fixed a small grammatical issue. (cherry picked from commit 5200a7c7f9ea65a96330c5f276f4acc6ec70854e) | 02 July 2017, 02:47:56 UTC |
0e0bc87 | Victor Stinner | 30 June 2017, 15:20:31 UTC | bpo-30280: Cleanup threads in ayncio tests (#2501) (#2512) * bpo-30280: asyncio now cleans up threads asyncio base TestCase now uses threading_setup() and threading_cleanup() of test.support to cleanup threads. * asyncio: Fix TestBaseSelectorEventLoop cleanup bpo-30280: TestBaseSelectorEventLoop of test.test_asyncio.test_selector_events now correctly closes the event loop: cleanup its executor to not leak threads. Don't override the close() method of the event loop, only override the_close_self_pipe() method. (cherry picked from commit b9030674624c181d6e9047cdb14ad65bb6c84c66) | 30 June 2017, 15:20:31 UTC |