https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
8913311 Version bump to 3.6.2rc2 07 July 2017, 07:16:00 UTC
bdabd76 bpo-30797, bpo-30694: Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2615) (cherry picked from commit 05b72ede95521b2d897cb4c7b034139b5437c592) 07 July 2017, 05:59:14 UTC
d1d6501 [3.6] bpo-30745: Fix compiler warnings introduced in bpo-30730. (GH-2376) (#2378) (cherry picked from commit 0ee32c1) (cherry picked from commit 0e1f9e8d3ea82262cbb9a403b70a884da5e6a6ac) 07 July 2017, 03:51:12 UTC
a9b16cf [3.6] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) (#2360) Prevent passing other invalid environment variables and command arguments.. (cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700) (cherry picked from commit e7135751b8e48af80665e40ac8fa6d0073e5affe) 07 July 2017, 03:48:43 UTC
c794b64 bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) (#2456) Free also co_extra->ce_extras, not only co_extra. (cherry picked from commit 23e7944eba1968bb8432fdc4cc96d4fdd2c1a230) (cherry picked from commit 26daad4ee14693381d84a5235709d22aed1c22ed) 07 July 2017, 03:45:50 UTC
b6012f9 [3.6] bpo-30726: Also fix pyexpat.vcxproj (GH-2375) (#2570) (cherry picked from commit 7526cadd64566725ffc56071a7208828a46ddbd8) (cherry picked from commit d02c8416fe1b29b3322004b73133bf6c8a2e353a) 07 July 2017, 03:42:49 UTC
5777e79 [3.6] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2349) * bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses a winconfig.h configuration file which already defines: * XML_NS * XML_DTD * BYTEORDER=1234 * XML_CONTEXT_BYTES=1024 * HAVE_MEMMOVE Remove these defines from PCbuild/_elementtree.vcxproj to prevent compiler warnings. Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com> (cherry picked from commit c8fb58bd7917151e63398587a7fc2126db7c26de) * bpo-30726: Fix elementtree warnings on Windows due to expat upgrade (#2319) * bpo-30726: Fix elementtree warnings on Windows Caused by usage of `getenv` which should be safe. And a few integer truncations which should also be ok. * bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream (cherry picked from commit 87c65550730a8f85ce339ba197bce4fb7e836619) (cherry picked from commit d32a05953130fb5cc2d3c0c9fcb20ad0859353f3) 07 July 2017, 03:41:35 UTC
ea1ab80 bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2313) New file: Modules/expat/siphash.h. (cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13) (cherry picked from commit 4a66524006852fc982aebafa277f2c043d9ad149) 07 July 2017, 03:37:10 UTC
b0fba88 bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289) The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as ``http://abc/#@def``, that is, the host is ``abc``, the path is ``/``, and the fragment is ``#@def``. (cherry picked from commit 90e01e50ef8a9e6c91f30d965563c378a4ad26de) (cherry picked from commit 536c1f1246f4faa302f9f5613fc3444e7ae09b4a) 07 July 2017, 03:27:01 UTC
00134f6 bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252) (#2280) * Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat Also fixes bdist_wininst.vcxproj to use correct version in generated name. (cherry picked from commit 06d6e3d0bb5b8a3d3105289034953a8014356a0b) 07 July 2017, 03:19:09 UTC
268e1fb Version bump to 3.6.2rc1 17 June 2017, 08:48:35 UTC
8c5483e Update pydoc topics for v3.6.2rc1 17 June 2017, 08:37:19 UTC
4f05ef4 Remove check for git binary in Mac installer build 17 June 2017, 06:58:07 UTC
4da5224 Add option to pass vcs info into Mac installer build 17 June 2017, 06:58:07 UTC
0a794a3 bpo-30038: add Misc/NEWS entry. 17 June 2017, 03:01:09 UTC
b7c59f0 bpo-23894: add Misc/NEWS entry. (#2255) 17 June 2017, 02:30:50 UTC
304a96e bpo-30176: Add missing curses cell attributes constants (GH-1302). (GH-2241) (cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440) 16 June 2017, 14:19:56 UTC
e9f4d8d [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy (GH-595) (GH-2233) If max_line_length=None is specified while using the Compat32 policy, it is no longer ignored.. (cherry picked from commit b459f7482612d340b88b62edc024628595ec6337) 16 June 2017, 14:18:58 UTC
2eca5b4 [3.6] bpo-30682: Removed a too-strict assertion that failed for certain f-strings. (GH-2232) (#2242) This caused a segfault on eval("f'\\\n'") and eval("f'\\\r'") in debug build.. (cherry picked from commit 11e97f2f80bf65cc828c127eafc95229df35d403) 16 June 2017, 13:29:42 UTC
a0ccc54 Synchronize libregrtest from master to 3.6 (#2244) * bpo-30523: regrtest: Add --list-cases option (#2238) * bpo-30284: Fix regrtest for out of tree build (#1481) * bpo-30540: regrtest: add --matchfile option (#1909) * bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479) * bpo-30263: regrtest: log system load (#1452) 16 June 2017, 12:39:09 UTC
085a57a Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246) This reverts commit e064d4dfeda09fd206653697b70b434e98cc1b57. 16 June 2017, 12:38:32 UTC
0a4bcf1 [3.6]Add IDLE items to NEWS and idlelib/NEWS.txt (#2239) (#2240) 16 June 2017, 06:11:31 UTC
04431c9 bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783) (GH-2237) The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio. Also fixes an outdated note about _lzma in PCbuild/readme.txt (cherry-picked from commit 51599e2bdd10ab77212a7cbb41a13ea70ee13da8) 16 June 2017, 06:06:36 UTC
292b421 bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] (GH-24) (GH-2235) (cherry picked from commit 93b4b47e3a720171d67f3b608de406aef462835c) 16 June 2017, 02:56:52 UTC
9cead06 Check that Python is 64-bit before enabling BLAKE2_USE_SSE. (GH-1332) (GH-2042) (cherry picked from commit 6c991bdee7ec4bedd8c1b8d3812dc884b654b57c) 16 June 2017, 02:12:46 UTC
6a90a12 bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2230) `PyModule_New()` now refers to `PyModule_NewObject()` (cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd) 16 June 2017, 01:49:43 UTC
50dbf57 bpo-23890: Fix ref cycle in TestCase.assertRaises (#858) unittest.TestCase.assertRaises() now manually breaks a reference cycle to not keep objects alive longer than expected. (cherry picked from commit bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5) 15 June 2017, 22:18:15 UTC
e064d4d bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225) (cherry picked from commit 258bfc462b1e58689b43f662a10e44ece3a10bef) 15 June 2017, 22:14:35 UTC
fab05de [3.6] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2221) In rare circumstances PyImport_Import() could return NULL without raising an error. (cherry picked from commit 145541c) 15 June 2017, 18:15:11 UTC
e45ea37 bpo-30149: Fix partialmethod without explicit self parameter (#1308) (#1662) 15 June 2017, 14:41:57 UTC
cf58dfb [3.6] bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (GH-879) (#2217) 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:38 UTC
f75f6ed [3.6] bpo-30650: Fixed a syntax error: missed right parentheses (GH-2154) (#2215) (cherry picked from commit 0d32218) 15 June 2017, 13:57:53 UTC
523a243 [3.6] bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. (GH-2016) (#2214) Running our unit tests with `-bb` enabled triggered this failure.. (cherry picked from commit 171b9a354e816eebc6d4c3a8553303942e9c5025) 15 June 2017, 13:55:22 UTC
86b9537 bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2200) * 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) 14 June 2017, 23:26:16 UTC
8a39af9 bpo-30231: Remove skipped test_imaplib tests (#1419) (#2192) 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. Write a new test_certfile_arg_warn() unit test for the certfile deprecation warning. (cherry picked from commit b18563da8803433509e9a0e29718e0271014659f) 14 June 2017, 20:43:01 UTC
6628006 [3.6]bpo-15786: Fix IDLE autocomplete return problem. (#2198) (#2199) Before, Enter would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted. Now it does. Before, '\n' was inserted into text, which in Shell meant compile() and possibly execute. Now cursor is left after completion. (cherry picked from commit 32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02) 14 June 2017, 20:10:10 UTC
789f47e bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) (GH-2195) (cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb) 14 June 2017, 18:59:37 UTC
dd47b19 Fix trivial typo in Python Setup documentation (GH-2185) (GH-2188) Replace platform with platforms. (cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee) 14 June 2017, 16:26:41 UTC
3280579 bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811) (#2187) Patch by Louie Lu. (cherry picked from commit 778b484145edfd0d9b65129322d3295bed8eb71a) 14 June 2017, 15:43:49 UTC
c2a506e [3.6] bpo-30649: test_os tolerates 50 ms delta for utime (#2156) (#2175) * bpo-30649: test_os tolerates 50 ms delta for utime (#2156) On Windows, tolerate a delta of 50 ms instead of 20 ms in test_utime_current() and test_utime_current_old() of test_os. On other platforms, reduce the delta from 20 ms to 10 ms. (cherry picked from commit c94caca65cd38802243b5279cf85ee44ffb2abb8) * bpo-30649: Revert utime delta in test_os (#2176) PPC64 Fedora 3.x buildbot requires at least a delta of 14 ms: revert the utime delta to 20 ms. I tried 10 ms, but test_os failed on the PPC64 Fedora 3.x buildbot. (cherry picked from commit 3402f7268897db15053866e1e68404cfa0e02706) 14 June 2017, 12:26:52 UTC
22d909f [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178) When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies. (cherry picked from commit 188aedf8bb623d41302e10503268b0852ea91134) 14 June 2017, 02:13:15 UTC
d92ee3e [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172) For unknown reasons, this does not work when running leak tests. (cherry picked from commit 049cf2bb44038351e1b2eed4fc7b1b522329e550) 13 June 2017, 19:40:59 UTC
b0efd49 [3.6]bpo-30642: Fix ref leak in idle_test.test_macosx (#2163) (#2165) (cherry picked from commit 8323189ff1a19566f923c04b95e4d17fa57d1f56) 13 June 2017, 15:52:08 UTC
6fd0345 [3.6] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) (#2166) * 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:51:26 UTC
2bfb45d bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161) Patch by Louie Lu. (cherry picked from commit b070fd275b68df5c5ba9f6f43197b8d7066f0b18) 13 June 2017, 14:11:02 UTC
92e9e35 [3.6] bpo-29514: Check magic number for bugfix releases (#2157) 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:46 UTC
932946c bpo-30604: Fix __PyCodeExtraState_Get() prototype (#2152) Replace __PyCodeExtraState_Get() with __PyCodeExtraState_Get(void) to fix the following GCC warning: ./Include/pystate.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] __PyCodeExtraState* __PyCodeExtraState_Get(); 13 June 2017, 08:39:30 UTC
d0d63dc [3.6] Mention how to disable signal fd wakeup (GH-2140) (#2149) (cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78) 13 June 2017, 08:23:13 UTC
81c05cc bpo-6519: Improve Python Input Output Tutorial (GH-2143) (GH-2145) Move up the discussion about 'with' keyword, so it appears earlier in the document. (cherry picked from commit bd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18) 13 June 2017, 05:40:18 UTC
2997fec [3.6] bpo-30604: Move co_extra_freefuncs to interpreter state to avoid crashes in threads (#2015) * Move co_extra_freefuncs to interpreter state to avoid crashes in multi-threaded scenarios involving deletion of code objects * Don't require that extra be zero initialized * Build test list instead of defining empty test class * Ensure extra is always assigned on success * Keep the old fields in the thread state object, just don't use them Add new linked list of code extra objects on a per-interpreter basis so that interpreter state size isn't changed * Rename __PyCodeExtraState_Get and add comment about it going away in 3.7 Fix sort order of import's in test_code.py * Remove an extraneous space * Remove docstrings for comments * Touch up formatting * Fix casing of coextra local * Fix casing of another variable * Prefix PyCodeExtraState with __ to match C API for getting it * Update NEWS file for bpo-30604 13 June 2017, 01:46:35 UTC
f59cac4 bpo-30217: add the operators ~ and | to the index (GH-1502) (GH-2136) (cherry picked from commit dc980dfbcfce4695ccde056c3983160ba97b5a36) 12 June 2017, 19:41:42 UTC
8399a17 [3.6] bpo-30177: add NEWS entry (#2134) 12 June 2017, 16:23:24 UTC
e1b6903 bpo-23404: `make regen-all` What's New entry (#2128) While the build changes won't affect most users, they may affect redistributors and folks building their own Python binaries from source. 12 June 2017, 12:28:12 UTC
d89dc84 [3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) (#2121) The traceback no longer displayed for SystemExit raised in a callback registered by atexit.. (cherry picked from commit 3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4) 12 June 2017, 06:02:13 UTC
47c9dec bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2118) import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16) 12 June 2017, 01:59:05 UTC
2737291 backport ssl doc fixes (#2117) * clarify recv() and send() on SSLObject (#2100) SSLObject has recv() and send(), but they don't do any network io. * remove extra word (#2101) 11 June 2017, 18:53:14 UTC
57d8de8 [3.6]bpo-20185: Adjust IDLE test to 3.7 Clinic change [GH-542] (#2116) Synchronize 3.6/3.7 test_calltips to the extent possible. Part of patch by Serhiy Storchaka. (cherry-pick from fdd42c4) 11 June 2017, 18:29:38 UTC
a895f91 [3.6]bpo-29995: Adjust IDLE test for 3.7 re.escape change [GH-1007] (#2114) 11 June 2017, 17:50:51 UTC
f57e34b [3.6] Use Travis to make sure all generated files are up to date (GH-2080) (GH-2092) (cherry picked from commit 0afbabe245) Also fixes some line endings missed in GH-840 backport. 11 June 2017, 16:30:57 UTC
83d30bd Revert "[3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2062)" (#2112) This reverts commit 6e14fd2a14cef6ea0709ad234ab41198c2195591. 11 June 2017, 14:46:45 UTC
176f2eb bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. (#2109) 11 June 2017, 14:00:14 UTC
59422a2 [3.6]bpo-30022: idlelib.run IOError -> OSError [GH-1051] (#2107) Part of patch by Serhiy Storchaka. (cherry-pick from 55fe1ae9708d81b902b6fe8f6590e2a24b1bd4b0) 11 June 2017, 10:26:25 UTC
a13225e [3.6]bpo-30144: change idlelib abc import [GH-1263] (#2106) Part of patch by Serhiy Storchaka. (cherry-pick from 2e576f5) 11 June 2017, 10:12:31 UTC
c6696fe [3.6] bpo-29919 Remove unused imports from idlelib [GH-137] (#2105) Part of patch by Victor Stinner. (cherry-pick from d6debb24e06152a827769b0cac24c47deccdeac1) 11 June 2017, 09:53:46 UTC
d755d19 [3.6] Remove unused imports (#2104) Part of patch by Serhiy Strochaka, 2016-12-16 (no bpo issue) (cherry-pick of 70d28a184c42d107cc8c69a95aa52a4469e7929c) 11 June 2017, 08:45:35 UTC
ccccf31 bpo-30495: IDLE: Modernize textview.py with docstrings and PEP8 names (#1839) (#2102) Patch by Cheryl Sabella. (cherry picked from commit 0aa0a06e8b719533aefd175a5716f1698f474052) 11 June 2017, 08:16:55 UTC
c0ef607 [3.6] bpo-30166: backport pyshell changes (GH 1293) (#2098) (cherry-pick IDLE pyshell change from 7e4db2f) 11 June 2017, 04:34:20 UTC
556cddb [3.6] Update idlelib NEWS for 3.6 (GH-2089) (#2097) (cherry-picked from 503bc63) 11 June 2017, 03:48:00 UTC
82e6067 [3.6] Add IDLE news items (GH-2090) (#2096) (cherry-pick from c94c41c) 11 June 2017, 03:15:08 UTC
8d15b19 bpo-28556: Updates to typing module (GH-2076) (GH-2087) 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:00 UTC
964c261 [3.6] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2083) Also updates checked-in line endings on some files 10 June 2017, 20:39:29 UTC
865ed9e bpo-30312: Small correction in datastructures set code sample (GH-2081) (GH-2085) (cherry picked from commit ca816153445cba3baec15f7e890c71abfe495340) 10 June 2017, 20:33:57 UTC
76eabd3 bpo-25409: Clarify fnmatch and fnmatchcase documentation (GH-1535) (GH-2065) Mention that fnmatchcase does not call normcase, and fnmatch does. (cherry picked from commit e5f6e86c48c7b2eb9e1d6a0e72867b4d8b4720f3) 10 June 2017, 14:25:33 UTC
6e14fd2 [3.6] bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (GH-409) (#2062) * bpo-29406: asyncio SSL contexts leak sockets after calling close with certain servers (#409) (cherry picked from commit a608d2d5a7f1aabe9bcbfc220135c5e126189390) * [3.6] 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:00:45 UTC
911068e [3.6] Regenerate Argument Clinic code for bpo-19180. (GH-2073). (#2077) (cherry picked from commit 5f31d5cf6efa8c304d352e34f9f2a1ed0074298e) 10 June 2017, 10:48:53 UTC
0b7629c bpo-30038: fix race condition in signal delivery + wakeup fd (#1082) (#2075) Before, it was possible to get the following sequence of events (especially on Windows, where the C-level signal handler for SIGINT is run in a separate thread): - SIGINT arrives - trip_signal is called - trip_signal writes to the wakeup fd - the main thread wakes up from select()-or-equivalent - the main thread checks for pending signals, but doesn't see any - the main thread drains the wakeup fd - the main thread goes back to sleep - trip_signal sets is_tripped=1 and calls Py_AddPendingCall to notify the main thread the it should run the Python-level signal handler - the main thread doesn't notice because it's asleep This has been causing repeated failures in the Trio test suite: https://github.com/python-trio/trio/issues/119 (cherry picked from commit 4ae01496971624c75080431806ed1c08e00f22c7) 10 June 2017, 09:20:03 UTC
12cbd87 [3.6] bpo-30290: IDLE - pep8 names and tests for help-about (#2070) (cherry picked from commit 054e09147aaa6f61aca6cd40c7bf7ce6dc54a04b) * bpo-30290: IDLE: Refactor help_about to PEP8 names (#1714) Patch by Cheryl Sabella. (cherry picked from commit 5a346d5dbc1f0f70eca706a8ba19f7645bf17837) * IDLE test_help_about: edit and add test. (#1838) Coverage is now 100% (cherry picked from commit eca7da0f13c78013b924fe7306f3e2e59c0af40b) 10 June 2017, 06:53:19 UTC
361362f [3.6] Fix TypeError is asyncio/proactor_events (GH-993) (#2061) (cherry picked from commit 34792d25ab7329241ea24595286d65d54c266274) 10 June 2017, 04:15:28 UTC
753422f bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) (GH-2054) contextlib.AbstractContextManager now supports anti-registration by setting __enter__ = None or __exit__ = None, following the pattern introduced in bpo-25958.. (cherry picked from commit 57161aac5eb9bcb0b43e551a1937ff0a84c1ec52) 10 June 2017, 03:36:28 UTC
e380c19 [3.6] bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951) (cherry picked from commit 42e3acda86829def9adc354fbee77597b849bf9e) 10 June 2017, 03:26:31 UTC
10c9a09 [3.6] bpo-30335: Add deprecation alias entry for assertNotRegexpMatches (GH-1536) (GH-2055) Document that assertNotRegexpMatches is a deprecated alias for assertNotRegex. (cherry picked from commit 74921ed8941fce14c2a53dc7280f43eb01fe4ed8) 10 June 2017, 01:33:31 UTC
fe796ef [3.6] Make codecov config on master the only config used (GH-2041) (GH-2052) 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:04 UTC
fe9c7a0 Break circular references when closing SSLTransport objects (#981) (#2049) 09 June 2017, 23:14:35 UTC
7a16a45 Closing transport during handshake process leaks socket (#480) (#2044) 09 June 2017, 22:33:31 UTC
d24429a [3.6] Clarify what --enable-optimizations does (GH-1847) (GH-2039) (cherry picked from commit b4e5fee6f5bcc50500ea6261a22021db58955b55) 09 June 2017, 21:34:32 UTC
fa7f519 Fix waiter cancellation in asyncio.Lock (#1031) (#2037) Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585 09 June 2017, 21:07:48 UTC
e89f95b [3.6] bpo-30039: Don't run signal handlers while resuming a yield from stack (GH-1081) (#1640) If we have a chain of generators/coroutines that are 'yield from'ing each other, then resuming the stack works like: - call send() on the outermost generator - this enters _PyEval_EvalFrameDefault, which re-executes the YIELD_FROM opcode - which calls send() on the next generator - which enters _PyEval_EvalFrameDefault, which re-executes the YIELD_FROM opcode - ...etc. However, every time we enter _PyEval_EvalFrameDefault, the first thing we do is to check for pending signals, and if there are any then we run the signal handler. And if it raises an exception, then we immediately propagate that exception *instead* of starting to execute bytecode. This means that e.g. a SIGINT at the wrong moment can "break the chain" – it can be raised in the middle of our yield from chain, with the bottom part of the stack abandoned for the garbage collector. The fix is pretty simple: there's already a special case in _PyEval_EvalFrameEx where it skips running signal handlers if the next opcode is SETUP_FINALLY. (I don't see how this accomplishes anything useful, but that's another story.) If we extend this check to also skip running signal handlers when the next opcode is YIELD_FROM, then that closes the hole – now the exception can only be raised at the innermost stack frame. This shouldn't have any performance implications, because the opcode check happens inside the "slow path" after we've already determined that there's a pending signal or something similar for us to process; the vast majority of the time this isn't true and the new check doesn't run at all.. (cherry picked from commit ab4413a7e9bda95b6fcd517073e2a51dafaa1624) 09 June 2017, 21:06:39 UTC
b757745 bpo-30524: Write unit tests for FASTCALL (#2022) (#2030) Test C functions: * _PyObject_FastCall() * _PyObject_FastCallDict() * _PyObject_FastCallKeywords() (cherry picked from commit 3b5cf85edc188345668f987c824a2acb338a7816) 09 June 2017, 20:28:32 UTC
bbeaccc [3.6] IDLE test_textview: add comments and test, increase coverage to 100% (GH-1641) (#2018) (cherry picked from commit 295304d412700cc6621bb592109fa42249a9dcdb) 09 June 2017, 19:59:31 UTC
af609a0 bpo-24755: Document asyncio.wrap_future (GH-603) (GH-2019) (cherry picked from commit 824f6879121413e09439fffef54580413e44bf46) 09 June 2017, 14:32:46 UTC
c422959 [3.6] bpo-19180: Updated references for RFC 1750, RFC 3280 & RFC 4366 * RFC 1750 has been been obsoleted by RFC 4086. * RFC 3280 has been obsoleted by RFC 5280. * RFC 4366 has been obsoleted by RFC 6066. (cherry picked from commit 63c2c8ac17750ba2be2cfc4e339cae1f4edee54f) 09 June 2017, 12:37:53 UTC
f0ff849 bpo-30524: Fix _PyStack_UnpackDict() (#1886) * bpo-29259: Remove unused func parameter of _PyStack_UnpackDict() * bpo-29286: Change _PyStack_UnpackDict() prototype to be able to notify of failure when args is NULL. _PyStack_UnpackDict() now returns -1 on error. 09 June 2017, 11:24:53 UTC
570b1c9 [3.6] bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (GH-1888) (#2013) 'invalid character in identifier' now is raised instead of 'f-string: empty expression not allowed' if a subexpression contains only whitespaces and they are not accepted by Python parser. (cherry picked from commit 2e9cd58) 08 June 2017, 21:38:06 UTC
b319d09 bpo-30418: Popen.communicate() always ignore EINVAL (#2002) (#2004) 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, 21:14:07 UTC
31b950a bpo-30601: Fix a refleak in WindowsConsoleIO (#2003) (#2008) Fix a reference leak in _io._WindowsConsoleIO: PyUnicode_FSDecoder() always initialize decodedname when it succeed and it doesn't clear input decodedname object. (cherry picked from commit 29adc13bd797d9c9e7fcb893a7c49ce7f7ad388c) 08 June 2017, 21:13:12 UTC
ca1b66f [3.6] bpo-30584: Fix test_os fails on non-English Windows (GH-1980) (#1999) * 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:02:05 UTC
854f7ba [3.6] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992) (#1994) 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:40 UTC
2c7f927 [3.6] trivial: update config.{guess,sub} from gnu.org. (GH-1987) (#1990) * Update config.{guess,sub} from gnu.org. (cherry picked from commit 6f46683a6257f22f25d136ed080d58d0c060a43b) 08 June 2017, 01:07:41 UTC
ceabf9a bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893) (#1985) 07 June 2017, 17:18:56 UTC
09b6c0c [3.6] bpo-29822: make inspect.isabstract() work during __init_subclass__ (#1979) At the time when an abstract base class' __init_subclass__ runs, ABCMeta.__new__ has not yet finished running, so in the presence of __init_subclass__, inspect.isabstract() can no longer depend only on TPFLAGS_IS_ABSTRACT. (cherry picked from commit fcfe80ec2592fed8b3941c79056a8737abef7d3b) 07 June 2017, 04:21:34 UTC
back to top