ab4ea09 | Victor Stinner | 15 June 2017, 22:14:45 UTC | bpo-30673: test.bat: add -t option (timeout) (#2211) (#2226) (cherry picked from commit 258bfc462b1e58689b43f662a10e44ece3a10bef) | 15 June 2017, 22:14:45 UTC |
33cf0c4 | Victor Stinner | 15 June 2017, 22:08:39 UTC | bpo-30675: Fix multiprocessing code in regrtest (#2220) * Rewrite code to pass slaveargs from the master process to worker processes: reuse the same code of the Python master branch * Move code to initialize tests in a new setup_tests() function, similar change was done in the master branch * In a worker process, call setup_tests() with the namespace built from slaveargs to initialize correctly tests Before this change, warm_caches() was not called in worker processes because the setup was done before rebuilding the namespace from slaveargs. As a consequence, the huntrleaks feature was unstable. For example, test_zipfile reported randomly false positive on reference leaks. | 15 June 2017, 22:08:39 UTC |
263dcc3 | Serhiy Storchaka | 15 June 2017, 18:15:26 UTC | [3.5] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2222) In rare circumstances PyImport_Import() could return NULL without raising an error. (cherry picked from commit 145541c) | 15 June 2017, 18:15:26 UTC |
fb0825c | Dong-hee Na | 15 June 2017, 14:42:01 UTC | bpo-30149: Fix partialmethod without explicit self parameter (#1308) (#1663) | 15 June 2017, 14:42:01 UTC |
c5a6fb6 | Serhiy Storchaka | 15 June 2017, 14:16:55 UTC | [3.5] bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (GH-879) (#2218) the original logic was just comparing the network address but this is wrong because if the network address is equal then we need to compare the ip address for breaking the tie add more ip_interface comparison tests. (cherry picked from commit 7bd8d3e794782582a4ad1c9749424fff86802c3e) | 15 June 2017, 14:16:55 UTC |
b39c78a | Serhiy Storchaka | 15 June 2017, 13:58:15 UTC | [3.5] bpo-30650: Fixed a syntax error: missed right parentheses (GH-2154) (#2216) (cherry picked from commit 0d32218) | 15 June 2017, 13:58:15 UTC |
8c797ed | Victor Stinner | 15 June 2017, 00:16:38 UTC | bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2201) * bpo-29591: Upgrade Modules/expat to libexpat 2.2 * bpo-29591: Restore Python changes on expat * bpo-29591: Remove expat config of unsupported platforms Remove the configuration (Modules/expat/*config.h) of unsupported platforms: * Amiga * MacOS Classic on PPC32 * Open Watcom * bpo-29591: Remove useless XML_HAS_SET_HASH_SALT The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became useless since our local expat copy was upgrade to expat 2.1 (it's now expat 2.2.0). (cherry picked from commit 23ec4b57e1359f9c539b8defc317542173ae087e) | 15 June 2017, 00:16:38 UTC |
7895a05 | Victor Stinner | 14 June 2017, 20:43:02 UTC | bpo-30231: Remove skipped test_imaplib tests (#1419) (#2193) The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept TLS connection using our self-signed x509 certificate. Remove the two tests which are already skipped. | 14 June 2017, 20:43:02 UTC |
a3afdca | Mariatta | 14 June 2017, 19:07:55 UTC | bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) (GH-2197) (cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb) | 14 June 2017, 19:07:55 UTC |
ee0572f | csabella | 14 June 2017, 16:26:22 UTC | Fix trivial typo in Python Setup documentation (GH-2185) (GH-2189) Replace platform with platforms. (cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee) | 14 June 2017, 16:26:22 UTC |
a0ecaab | Antoine Pitrou | 13 June 2017, 15:54:10 UTC | [3.5] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2167) * bpo-24484: Avoid race condition in multiprocessing cleanup The finalizer registry can be mutated while inspected by multiprocessing at process exit. * Use test.support.start_threads() * Add Misc/NEWS. (cherry picked from commit 1eb6c0074d17f4fd425cacfdda893d65f5f77f0a) | 13 June 2017, 15:54:10 UTC |
d071a20 | Nick Coghlan | 13 June 2017, 10:32:24 UTC | [3.5] bpo-29514: Check magic number for bugfix releases (#2158) Add a test to check the current MAGIC_NUMBER against the expected number for the release if the current release is at candidate or final level. On test failure, describe to the developer the procedure for changing the magic number. This ensures that pre-merge CI will automatically pick up on magic number changes in maintenance releases (and explain why those are problematic), rather than relying on all core developers to be aware of the implications of such changes. | 13 June 2017, 10:32:24 UTC |
e0e0029 | Antoine Pitrou | 13 June 2017, 08:21:54 UTC | [3.5] Mention how to disable signal fd wakeup (GH-2140) (#2150) (cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78) | 13 June 2017, 08:21:54 UTC |
5a86154 | Mariatta | 13 June 2017, 05:40:43 UTC | bpo-6519: Improve Python Input Output Tutorial (GH-2143) (GH-2146) Move up the discussion about 'with' keyword, so it appears earlier in the document. (cherry picked from commit bd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18) | 13 June 2017, 05:40:43 UTC |
37e0415 | Marco Buttu | 12 June 2017, 19:43:52 UTC | bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2138) (cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36) | 12 June 2017, 19:43:52 UTC |
7d8c1eb | Serhiy Storchaka | 12 June 2017, 06:02:33 UTC | [3.5] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) (#2122) The traceback no longer displayed for SystemExit raised in a callback registered by atexit. (cherry picked from commit 3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4) | 12 June 2017, 06:02:33 UTC |
7563b05 | Mariatta | 12 June 2017, 01:59:17 UTC | bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2119) import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16) | 12 June 2017, 01:59:17 UTC |
80bdbf6 | Zachary Ware | 11 June 2017, 16:32:45 UTC | [3.5] Use Travis to make sure all generated files are up to date (GH-2080) (GH-2093) (cherry picked from commit 0afbabe245) Also fixes some line endings missed in GH-840 backport. | 11 June 2017, 16:32:45 UTC |
4e9dfe2 | Yury Selivanov | 11 June 2017, 14:46:53 UTC | Revert "[3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2063)" (#2113) This reverts commit 1395c58ef7b98f087d1d5d50962fe7a8c032f34d. | 11 June 2017, 14:46:53 UTC |
d24c828 | Yury Selivanov | 11 June 2017, 14:11:47 UTC | bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2110) | 11 June 2017, 14:11:47 UTC |
ea8b348 | Mariatta | 10 June 2017, 21:41:38 UTC | bpo-28556: Updates to typing module (GH-2076) (GH-2088) This PR contains two updates to typing module: - Support ContextManager on all versions (original PR by Jelle Zijlstra). - Add generic AsyncContextManager.. (cherry picked from commit 29fda8db16e0edab92841277fa223f844f5a92cc) | 10 June 2017, 21:41:38 UTC |
afa6a38 | Zachary Ware | 10 June 2017, 20:40:08 UTC | [3.5] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2084) Also updates checked-in line endings on some files. | 10 June 2017, 20:40:08 UTC |
656f232 | Mariatta | 10 June 2017, 14:26:08 UTC | bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2066) Mention that fnmatchcase does not call normcase, and fnmatch does. (cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3) | 10 June 2017, 14:26:08 UTC |
1395c58 | Yury Selivanov | 10 June 2017, 14:01:17 UTC | [3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2063) * bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (#409) (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390) * [3.5] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error. (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390) | 10 June 2017, 14:01:17 UTC |
1f73023 | Yury Selivanov | 10 June 2017, 04:15:41 UTC | [3.5] Fix TypeError is asyncio/proactor_events (GH-993) (#2060) (cherry picked from commit 34792d25ab7329241ea24595286d65d54c266274) | 10 June 2017, 04:15:41 UTC |
91581d4 | Zachary Ware | 10 June 2017, 03:26:48 UTC | [3.5] bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951) (cherry picked from commit 42e3acda86829def9adc354fbee77597b849bf9e) | 10 June 2017, 03:26:48 UTC |
cabdba2 | Mariatta | 10 June 2017, 01:33:50 UTC | [3.5] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches (GH-1536) (GH-2056) Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex. (cherry picked from commit 74921ed8941fce14c2a53dc7280f43eb01fe4ed8) | 10 June 2017, 01:33:50 UTC |
a2cdbdf | Brett Cannon | 10 June 2017, 00:02:18 UTC | [3.5] Make codecov config on master the only config used (GH-2041) (GH-2053) This will allow for centralized management of the Codecov config to prevent skew as well as easier management going forward. Closes python/core-workflowGH-81. (cherry picked from commit 11ffb4543bc000dea527bcc0417e2f8bda13790f) | 10 June 2017, 00:02:18 UTC |
7f1cd72 | Yury Selivanov | 09 June 2017, 23:14:24 UTC | Break circular references when closing SSLTransport objects (#981) (#2048) | 09 June 2017, 23:14:24 UTC |
ff9511b | Yury Selivanov | 09 June 2017, 22:27:45 UTC | Closing transport during handshake process leaks socket (#480) (#2045) | 09 June 2017, 22:27:45 UTC |
a033804 | Brett Cannon | 09 June 2017, 21:35:31 UTC | [3.5] Clarify what --enable-optimizations does (GH-1847) (GH-2040) (cherry picked from commit b4e5fee6f5bcc50500ea6261a22021db58955b55) | 09 June 2017, 21:35:31 UTC |
d913d1c | Yury Selivanov | 09 June 2017, 21:08:23 UTC | Fix waiter cancellation in asyncio.Lock (#1031) (#2038) Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585 | 09 June 2017, 21:08:23 UTC |
3fc2fa8 | Mariatta | 09 June 2017, 14:33:24 UTC | bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2020) (cherry picked from commit 824f6879121413e09439fffef54580413e44bf46) | 09 June 2017, 14:33:24 UTC |
df04c08 | Victor Stinner | 08 June 2017, 16:20:46 UTC | bpo-30418: Popen.communicate() always ignore EINVAL (#2002) (#2005) On Windows, subprocess.Popen.communicate() now also ignore EINVAL on stdin.write() if the child process is still running but closed the pipe. (cherry picked from commit d52aa31378ae43e044a300edfe8285954c167216) | 08 June 2017, 16:20:46 UTC |
a0b9088 | Denis Osipov | 08 June 2017, 12:16:48 UTC | [3.5] bpo-30584: Fix test_os fails on non-English Windows (GH-1980) (#2000) * Fix bpo-30584 * Adding a comment mentionning the bpo and explaining what is the identifier * Add Denis Osipov to Misc/ACKS (cherry picked from commit 897bba75632dfce87c355e3cd4700468357715a7) | 08 June 2017, 12:16:48 UTC |
54ba41e | Nathaniel J. Smith | 08 June 2017, 11:14:44 UTC | [3.5] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992) (#1993) If pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object had a spurious Py_DECREF called on it, eventually leading to segfaults. (cherry picked from commit 65ece7ca2366308fa91a39a8dfa255e6bdce3cca) | 08 June 2017, 11:14:44 UTC |
e3a0ce2 | Matthias Klose | 08 June 2017, 01:08:57 UTC | [3.5] trivial: update config.{guess,sub} from gnu.org. (GH-1987) (#1991) * Update config.{guess,sub} from gnu.org.. (cherry picked from commit 6f46683a6257f22f25d136ed080d58d0c060a43b) | 08 June 2017, 01:08:57 UTC |
ee9de30 | gfyoung | 06 June 2017, 21:38:08 UTC | bpo-29596: Improve clinic howto documentation (GH-1710) (GH-1975) Clarify that `two-pass` buffer can only be dumped once, and it prints out all text sent to it during all processing, even from Clinic blocks *after* the dumping point. | 06 June 2017, 21:38:08 UTC |
86f8f1f | Serhiy Storchaka | 06 June 2017, 16:23:21 UTC | [3.5] bpo-30567: Fix refleak in sys.getwindowsversion (GH-1940) (#1971) (cherry picked from commit 48fb766) | 06 June 2017, 16:23:21 UTC |
6d8ab76 | Zachary Ware | 06 June 2017, 03:41:26 UTC | [3.5] Install dependencies in Travis OSX build (GH-1952) (cherry picked from commit 167e0fc211c06df) | 06 June 2017, 03:41:26 UTC |
58e5dd1 | Zachary Ware | 06 June 2017, 01:02:18 UTC | [3.5] bpo-30417: Disable 'cpu' resource on Travis (GH-1928) Also weakens the 'should this be run?' regex to allow all builds when .travis.yml changes. (cherry picked from commit c53b13b270767948fddb58b287149c499f9a03c4) | 06 June 2017, 01:02:18 UTC |
b32fb6c | csabella | 05 June 2017, 03:11:58 UTC | bpo-30538: Update count() in Functional Programming HOWTO (GH-1919) (GH-1944) * bpo-30538: Update count() in Functional HOWTO * bpo-30538: Update enumerate() arguments in Functional HOWTO (cherry picked from commit 9be4ff359daa67cde6246494f643ed7cd2825d46) | 05 June 2017, 03:11:58 UTC |
1f04b90 | Mariatta | 05 June 2017, 03:09:16 UTC | bpo-30530: Update Descriptor How To Documentation (GH-1845) (GH-1954) Update the code example in Functions and Methods section Remove objtype argument in MethodType (cherry picked from commit 1bced56567335745f91676192fc39c06aab30da9) | 05 June 2017, 03:09:16 UTC |
b9c4f3c | Zachary Ware | 05 June 2017, 00:51:30 UTC | [3.5] Only run AppVeyor on long-lived branches (GH-1941) Also on the short-lived `buildbot-custom` branch. (cherry picked from commit d3bedf356aca04ed9135a84b08) | 05 June 2017, 00:51:30 UTC |
6636e22 | Zachary Ware | 04 June 2017, 22:19:32 UTC | [3.5] Fix skipping test_UNC_path on AppVeyor due to a different error being raised (GH-1920) We get `ERROR_BAD_NETPATH` (53) on AppVeyor which is translated to ENOENT (2). (cherry picked from commit 7a99625e0d95cd88ed8842d8677b5beea1fde5ae) | 04 June 2017, 22:19:32 UTC |
6d1e52b | Brett Cannon | 03 June 2017, 17:34:15 UTC | [3.5] Turn on macOS builds for Travis (GH-1846) (GH-1930) Initially the macOS builds are allowed to fail until such time that they can be determined to be stable and not add an unacceptable amount of time to the overall Travis-passing process. (cherry picked from commit 21c2dd7cf8414c903f0e83cf1d6b7f02f645f422) | 03 June 2017, 17:34:15 UTC |
cca3d4a | Matthias Bussonnier | 02 June 2017, 03:26:57 UTC | bpo-29660: traceback: Document that etype is ignored in some places. (GH-344) (GH-1914) (cherry picked from commit cdb89cd) | 02 June 2017, 03:26:57 UTC |
e20d226 | Xiang Zhang | 01 June 2017, 14:19:58 UTC | bpo-30378: Fix the problem that SysLogHandler can't handle IPv6 addresses (#1676) (#1902) | 01 June 2017, 14:19:58 UTC |
3419fc2 | Mariatta | 01 June 2017, 14:12:09 UTC | bpo-30499: Remove a deprecated note about sets. (GH-1848) (GH-1906) (cherry picked from commit 0737ee20671d60802a7ef40f653fe449f1921de0) | 01 June 2017, 14:12:09 UTC |
1721b06 | Mariatta | 01 June 2017, 02:48:28 UTC | bpo-22702: Clarify documentation of str.join & bytes.join (GH-156) (GH-1896) The "iterable iterable" phrasing created confusion between the term reference and the parameter name. This simplifies the phrasing to just use the parameter name without linking directly to the term definition. (cherry picked from commit 08e2f355d04d3cbea5751ce1275306ee3f569b32) | 01 June 2017, 02:48:28 UTC |
958e815 | csabella | 01 June 2017, 01:53:08 UTC | bpo-27618: Clarify that threading.Lock is a factory function (GH-1307) (GH-1895) (cherry picked from commit 56ddfd2eea4d98456a9a99bf2a718f21ee6b2be2) | 01 June 2017, 01:53:08 UTC |
ec675d5 | Brett Cannon | 31 May 2017, 22:52:58 UTC | [3.5] Fix Travis config to reinstate test build (GH-1879) (GH-1890) (cherry picked from commit a5aa72ac789052411797c6f079ffff0a9fdbf82c) | 31 May 2017, 22:52:58 UTC |
99424d8 | Mariatta | 31 May 2017, 05:08:12 UTC | [3.5] Fix a trivial typo in global section (GH-1497) (GH-1881) (cherry picked from commit f34c6850203a2406c4950af7a9c8a134145df4ea) | 31 May 2017, 05:08:12 UTC |
32213d2 | Mariatta | 30 May 2017, 22:29:07 UTC | Build docs in parallel (GH-1842) (GH-1871) (cherry picked from commit eba68e2c42e149acecb15bbeb692786e2540157d) | 30 May 2017, 22:29:07 UTC |
75ea91b | csabella | 30 May 2017, 20:47:47 UTC | bpo-30354: Update data model documentation for super() (GH-1561) (GH-1869) The data model section of the language reference was written well before the zero-argument form of super() was added. To avoid giving the impression that they're doing something unusual, this updates the description of `__new__` and `__init__` to use the zero-argument form. Patch by Cheryl Sabella. (cherry picked from commit 12b1c180986fc744331b8f30d3d2f49a0fdb43dd) | 30 May 2017, 20:47:47 UTC |
03c7cfc | Mariatta | 29 May 2017, 22:20:47 UTC | [3.5] bpo-30361: Use better example for mixed-type operands (GH-1701) (#1857) (cherry picked from commit e405d4b8dfb8b497e1c3d1f0f8e28030040c165e) | 29 May 2017, 22:20:47 UTC |
440bc4f | Mariatta | 27 May 2017, 14:19:40 UTC | [3.5] bpo-29960 _random.Random corrupted on exception in setstate(). … (#1288) (cherry picked from commit 9616a82e7802241a4b74cf7ae38d43c37bf66e48) | 27 May 2017, 14:19:40 UTC |
a815b5a | Serhiy Storchaka | 27 May 2017, 13:38:12 UTC | [3.5] bpo-30398: Add a docstring for re.error. (GH-1647) (#1831) Also document that some attributes may be None. (cherry picked from commit 12d6b5d) | 27 May 2017, 13:38:12 UTC |
d78ad17 | Serhiy Storchaka | 27 May 2017, 13:37:25 UTC | [3.5] Fix the signature of JSONDecodeError (no end parameter). (GH-1827) (#1829) Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. (cherry picked from commit 5becf38) | 27 May 2017, 13:37:25 UTC |
89004d7 | Antoine Pitrou | 25 May 2017, 15:19:10 UTC | [3.5] bpo-30414: multiprocessing.Queue._feed do not break from main loop on exc (GH-1683) (#1816) * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. (cherry picked from commit bc50f03db4f58c869b78e98468e374d7e61f1227) | 25 May 2017, 15:19:10 UTC |
aa27f0e | Zachary Ware | 24 May 2017, 21:11:21 UTC | [3.5] bpo-30160: Clarify intended usage of wfile (gh-1300) (GH-1792) The library does not enforce compliance with the HTTP protocol, so violations are not technically disallowed. Extend the stream's description to avoid suggesting that intentional protocol violations are not supported. (cherry picked from commit a083c8e) | 24 May 2017, 21:11:21 UTC |
ebbefae | Stéphane Wirtel | 24 May 2017, 18:49:24 UTC | bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1789) | 24 May 2017, 18:49:24 UTC |
8af0a21 | Kushal Das | 23 May 2017, 16:56:45 UTC | [3.5] bpo-30376: Update outdated WindowObject references (GH-1630) (#1747) (cherry picked from commit 93fc20b73eea3da0b6305aaee951e5dd22d5c408) | 23 May 2017, 16:56:45 UTC |
219ed80 | Łukasz Langa | 23 May 2017, 07:36:18 UTC | [3.5] call remove_done_callback in finally section (GH-1688) (#1758) (cherry picked from commit 21b3e04c13212b29e8c35ffc36eed8603fde08f4) | 23 May 2017, 07:36:18 UTC |
b090349 | Vijay Kumar | 23 May 2017, 06:15:03 UTC | Fix spelling mistakes in tkinter.py (#1752) Ran the docstrings through spell checker, and fixed spelling issues. | 23 May 2017, 06:15:03 UTC |
32dcf42 | Mariatta | 23 May 2017, 05:27:10 UTC | [3.5] bpo-21056: Document return type of next method of csv reader (GH-146) (#1750) (cherry picked from commit d618c8c6d31b9b288f8a070417683974eb98e3ba) | 23 May 2017, 05:27:10 UTC |
1d359b8 | delirious-lettuce | 22 May 2017, 17:16:32 UTC | [3.5] Fix typos in multiple `.rst` files (GH-1668) (#1706) | 22 May 2017, 17:16:32 UTC |
65440f8 | Xiang Zhang | 22 May 2017, 17:02:33 UTC | bpo-30003: Fix handling escape characters in HZ codec (#1556) (#1718) | 22 May 2017, 17:02:33 UTC |
bc75b72 | Serhiy Storchaka | 21 May 2017, 07:35:58 UTC | [3.5] bpo-30415: Add new tests for the fnmatch module. (GH-1684) (#1695) (cherry picked from commit 8175547) | 21 May 2017, 07:35:58 UTC |
a2a8226 | Senthil Kumaran | 21 May 2017, 06:22:55 UTC | bpo-29976: urllib.parse clarify '' in scheme values. (GH-984) (GH-1693) (cherry picked from commit 906f5330b9c9a74cad1cf27fddaf77e99dff9edd) | 21 May 2017, 06:22:55 UTC |
2f7f533 | Serhiy Storchaka | 20 May 2017, 10:06:47 UTC | [3.5] bpo-27945: Fixed various segfaults with dict. (GH-1657) (#1678) Based on patches by Duane Griffin and Tim Mitchell. (cherry picked from commit 753bca3934a7618a4fa96e107ad1c5c18633a683) | 20 May 2017, 10:06:47 UTC |
4a86fe9 | Serhiy Storchaka | 20 May 2017, 07:23:58 UTC | [3.5] bpo-25794: Fix `type.__setattr__()` for non-interned attribute names. (GH-1652) (#1674) Based on patch by Eryk Sun. (cherry picked from commit d896985bb2de49046f9b6879e906d1e4db255e23) | 20 May 2017, 07:23:58 UTC |
9503dd1 | Victor Stinner | 19 May 2017, 05:12:57 UTC | bpo-27103: regrtest disables -W if -R is used (#1660) Workaround for a regrtest bug. | 19 May 2017, 05:12:57 UTC |
f5633e0 | Victor Stinner | 17 May 2017, 21:49:43 UTC | bpo-30387: Fix warning in test_threading (#1634) (#1637) test_is_alive_after_fork() now joins directly the thread to avoid the following warning added by bpo-30357: Warning -- threading_cleanup() failed to cleanup 0 threads after 2 sec (count: 0, dangling: 21) Use also a different exit code to catch generic exit code 1. (cherry picked from commit f8d05b3a24e745ab4a974b891ac1389e2f11ce4d) | 17 May 2017, 21:49:43 UTC |
9081b36 | Xiang Zhang | 17 May 2017, 14:02:55 UTC | bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) (#1627) Under *spawn* and *forkserver* start methods, SimpleQueue.empty() could raise AttributeError due to not setting _poll in __setstate__. | 17 May 2017, 14:02:55 UTC |
f01c0ec | Victor Stinner | 17 May 2017, 00:59:24 UTC | bpo-30273: update distutils.sysconfig for venv's created from Python (#1515) (#1626) compiled out-of-tree (builddir != srcdir). (see also bpo-15366) (cherry picked from commit dbdea629e2e0e4bd8845aa55041e0a0ca4172cf3) | 17 May 2017, 00:59:24 UTC |
aeb6447 | Victor Stinner | 17 May 2017, 00:05:29 UTC | bpo-30357: test_thread now uses threading_cleanup() (#1592) (#1623) test_thread: setUp() now uses support.threading_setup() and support.threading_cleanup() to wait until threads complete to avoid random side effects on following tests. Co-Authored-By: Grzegorz Grzywacz <grzegorz.grzywacz@nazwa.pl> (cherry picked from commit 79ef7f8e88a4972c4aecf95cfc5cd934f1861e08) | 17 May 2017, 00:05:29 UTC |
c9ba45d | Victor Stinner | 16 May 2017, 23:02:35 UTC | bpo-30329: Catch Windows error 10022 on shutdown() (#1538) (#1621) Catch the Windows socket WSAEINVAL error (code 10022) in imaplib and poplib on shutdown(SHUT_RDWR): An invalid operation was attempted This error occurs sometimes on SSL connections. (cherry picked from commit 83a2c2879839da2e10037f5e4af1bd1dafbf1a52) | 16 May 2017, 23:02:35 UTC |
7760695 | Brett Cannon | 16 May 2017, 21:40:33 UTC | bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612) (GH-1618) | 16 May 2017, 21:40:33 UTC |
083f13e | Serhiy Storchaka | 16 May 2017, 21:29:42 UTC | [3.5] bpo-30380: Fix Sphinx 1.6.1 warnings. (GH-1613) (GH-1615) | 16 May 2017, 21:29:42 UTC |
27dfbf0 | Senthil Kumaran | 16 May 2017, 15:36:38 UTC | Remove unused variable in test_urllibnet. (#1598) (#1599) (cherry picked from commit 1bd7d299bd2a91f8267f97a413568ab8fe7fdfbb) | 16 May 2017, 15:36:38 UTC |
24b5ed2 | Serhiy Storchaka | 16 May 2017, 15:16:45 UTC | [3.5] bpo-30375: Correct the stacklevel of regex compiling warnings. (GH-1595) (#1605) Warnings emitted when compile a regular expression now always point to the line in the user code. Previously they could point into inners of the re module if emitted from inside of groups or conditionals.. (cherry picked from commit c7ac7280c321b3c1679fe5f657a6be0f86adf173) | 16 May 2017, 15:16:45 UTC |
72e5aa1 | Senthil Kumaran | 16 May 2017, 05:41:03 UTC | bpo-29651 - Cover edge case of square brackets in urllib docs (#1128) (#1597) (cherry picked from commit f6e863d868a621594df2a8abe072b5d4766e7137) | 16 May 2017, 05:41:03 UTC |
dd2a09c | Xiang Zhang | 15 May 2017, 05:17:41 UTC | bpo-30242: resolve some undefined behaviours in struct (#1418) (#1587) | 15 May 2017, 05:17:41 UTC |
51ab4ad | Xiang Zhang | 15 May 2017, 05:17:13 UTC | bpo-30110: fix resource leak in test_asyncio.test_events (#1413) (#1585) | 15 May 2017, 05:17:13 UTC |
f3291ee | Berker Peksag | 14 May 2017, 15:31:32 UTC | bpo-30358: Document sort argument of profile.runctx() (GH-1566) (cherry picked from commit 99776296230ddd8429ebad2d07854b8c27ea10ab) | 14 May 2017, 15:31:32 UTC |
9b7fe99 | Brett Cannon | 13 May 2017, 20:56:13 UTC | [3.5] Move Codecov's configuration file under .github (GH-1494) (#1575) (cherry picked from commit cbddf58c797f850a5b06f317a4bb7ab69c6e9715) | 13 May 2017, 20:56:13 UTC |
4ee34e1 | Mariatta | 13 May 2017, 16:45:14 UTC | [3.5] bpo-30178: Indent methods and attributes of MimeType class (GH-1306) (#1571) (cherry picked from commit c71168090df435c1eb8c03005b11df764cd7ebd6) | 13 May 2017, 16:45:14 UTC |
5e94ded | INADA Naoki | 12 May 2017, 05:34:40 UTC | bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1547) * bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) when there are no more `await` or `yield (from)` before return in coroutine, cancel was ignored. example: async def coro(): asyncio.Task.current_task().cancel() return 42 ... res = await coro() # should raise CancelledError (cherry picked from commit 991adca012f5e106c2d4040ce619c696ba6f9c46) * fix test | 12 May 2017, 05:34:40 UTC |
dab10f4 | Victor Stinner | 10 May 2017, 12:13:37 UTC | [3.5] bpo-30320, bpo-25277: backport test_eintr enhancements from master to 3.5 (#1532) * bpo-30320: test_eintr now uses pthread_sigmask() (#1523) Rewrite sigwaitinfo() and sigtimedwait() unit tests for EINTR using pthread_sigmask() to fix a race condition between the child and the parent process. Remove the pipe which was used as a weak workaround against the race condition. sigtimedwait() is now tested with a child process sending a signal instead of testing the timeout feature which is more unstable (especially regarding to clock resolution depending on the platform). (cherry picked from commit 211a392cc15f9a7b1b8ce65d8f6c9f8237d1b77f) * test_eintr: Fix ResourceWarning warnings (cherry picked from commit c50cccfcc3b3a9ef3fe7a78b7e7271930dc24aee) * test_eintr: remove unused import * bpo-25277: Add a watchdog to test_eintr Set a timeout of 10 minutes in test_eintr using faulthandler. | 10 May 2017, 12:13:37 UTC |
639e295 | Xiang Zhang | 10 May 2017, 11:11:09 UTC | bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1530) (#1480) | 10 May 2017, 11:11:09 UTC |
9721729 | Victor Stinner | 10 May 2017, 00:38:09 UTC | test_eintr: less verbose, the test is now stable (#1521) Backport the change from the master branch. | 10 May 2017, 00:38:09 UTC |
8489409 | torsava | 09 May 2017, 15:12:35 UTC | [3.5] bpo-29243: Fix Makefile with respect to --enable-optimizations (GH-1478) (#1520) * bpo-29243: Fix Makefile with respect to --enable-optimizations When using the Profile Guided Optimization (./configure --enable-optimizations) Python is built not only during `make` but rebuilt again during `make test`, `make install` and others. This patch fixes the issue. Note that this fix produces no change at all in the Makefile if configure is run witout --enable-optimizations. * !squash. (cherry picked from commit a1054c3b0037d4c2a5492e79fc193f36245366c7) | 09 May 2017, 15:12:35 UTC |
f5f7870 | Xiang Zhang | 09 May 2017, 04:17:09 UTC | bpo-29990: Fix range checking in GB18030 decoder (#1495) (#1508) When decoding a 4-byte GB18030 sequence, the first and third byte cannot exceed 0xFE. | 09 May 2017, 04:17:09 UTC |
c8faabc | Serhiy Storchaka | 06 May 2017, 12:11:20 UTC | [3.5] Revert bpo-26293 for zipfile breakage. See also bpo-29094. (GH-1484). (#1486) (cherry picked from commit 3763ea865cee5bbabcce11cd577811135e0fc747) | 06 May 2017, 12:11:20 UTC |
0c9aa6f | Victor Stinner | 05 May 2017, 08:08:05 UTC | bpo-30264: ExpatParser closes the source on error (#1451) (#1475) ExpatParser.parse() of xml.sax.xmlreader now always closes the source: close the file object or the urllib object if source is a string (not an open file-like object). The change fixes a ResourceWarning on parsing error. Add test_parse_close_source() unit test. (cherry picked from commit ef9c0e732fc50aefbdd7c5a80e04e14b31684e66) | 05 May 2017, 08:08:05 UTC |
ee22948 | Serhiy Storchaka | 05 May 2017, 07:40:47 UTC | [3.5] bpo-30243: Fixed the possibility of a crash in _json. (GH-1420) (#1470) It was possible to get a core dump by using uninitialized _json objects. Now __new__ methods create initialized objects. __init__ methods are removed.. (cherry picked from commit 76a3e51a403bc84ed536921866c86dd7d07aaa7e) | 05 May 2017, 07:40:47 UTC |
ab6b962 | Victor Stinner | 05 May 2017, 00:19:59 UTC | bpo-23404: make touch becomes make regen-all (#1405) (#1461) (#1465) * bpo-23404: make touch becomes make regen-all (#1405) Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python. (cherry picked from commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b) * bpo-30273: Update sysconfig (#1464) The AST_H_DIR variable was removed from Makefile.pre.in by the commit a5c62a8e9f0de6c4133825a5710984a3cd5e102b (bpo-23404). AST_H_DIR was hardcoded to "Include", so replace the removed variable by its content. Remove also ASDLGEN variable from sysconfig example since this variable was also removed. (cherry picked from commit b109a1d3360fc4bb87b9887264e3634632d392ca) (cherry picked from commit 9d02f562961efd12d3c8317a10916db7f77330cc) | 05 May 2017, 00:19:59 UTC |
7299088 | Antoine Pitrou | 04 May 2017, 15:16:48 UTC | [3.5] bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (GH-1319) (#1455) * bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver * Tweak comment. (cherry picked from commit 6dd4d734ed207ba16b017e38f8909de7ef187e29) | 04 May 2017, 15:16:48 UTC |
8a1c710 | Victor Stinner | 04 May 2017, 11:21:16 UTC | bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) (#1450) is_valid_fd() now uses fstat() instead of dup() on macOS to return 0 on a pipe when the other side of the pipe is closed. fstat() fails with EBADF in that case, whereas dup() succeed. (cherry picked from commit 1c4670ea0cc3d208121af11b9b973e6bb268e570) | 04 May 2017, 11:21:16 UTC |