summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Version bump to 3.6.2finalv3.6.2Ned Deily2017-07-083-5/+13
|
* Version bump to 3.6.2rc2v3.6.2rc2Ned Deily2017-07-073-6/+6
|
* bpo-30797, bpo-30694: Avoid _GNU_SOURCE redefined warning in xmlparse.c (#2615)Ned Deily2017-07-071-1/+1
| | | | (cherry picked from commit 05b72ede95521b2d897cb4c7b034139b5437c592)
* [3.6] bpo-30745: Fix compiler warnings introduced in bpo-30730. (GH-2376) ↵Serhiy Storchaka2017-07-071-2/+1
| | | | | | | (#2378) (cherry picked from commit 0ee32c1) (cherry picked from commit 0e1f9e8d3ea82262cbb9a403b70a884da5e6a6ac)
* [3.6] bpo-30730: Prevent environment variables injection in subprocess on ↵Serhiy Storchaka2017-07-075-9/+72
| | | | | | | | Windows. (GH-2325) (#2360) Prevent passing other invalid environment variables and command arguments.. (cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700) (cherry picked from commit e7135751b8e48af80665e40ac8fa6d0073e5affe)
* bpo-30704, bpo-30604: Fix memleak in code_dealloc() (#2455) (#2456)Victor Stinner2017-07-071-1/+2
| | | | | | Free also co_extra->ce_extras, not only co_extra. (cherry picked from commit 23e7944eba1968bb8432fdc4cc96d4fdd2c1a230) (cherry picked from commit 26daad4ee14693381d84a5235709d22aed1c22ed)
* [3.6] bpo-30726: Also fix pyexpat.vcxproj (GH-2375) (#2570)Segev Finer2017-07-071-1/+1
| | | | | (cherry picked from commit 7526cadd64566725ffc56071a7208828a46ddbd8) (cherry picked from commit d02c8416fe1b29b3322004b73133bf6c8a2e353a)
* [3.6] bpo-30726: PCbuild _elementtree: remove duplicate defines (#2348) (#2349)Victor Stinner2017-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
* bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2313)Victor Stinner2017-07-079-158/+887
| | | | | | New file: Modules/expat/siphash.h. (cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13) (cherry picked from commit 4a66524006852fc982aebafa277f2c043d9ad149)
* bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289)Victor Stinner2017-07-074-13/+58
| | | | | | | | | | | 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)
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-07-0710-51/+102
| | | | | | | | | 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)
* Version bump to 3.6.2rc1v3.6.2rc1Ned Deily2017-06-173-7/+7
|
* Update pydoc topics for v3.6.2rc1Ned Deily2017-06-171-110/+122
|
* Remove check for git binary in Mac installer buildNed Deily2017-06-171-5/+4
|
* Add option to pass vcs info into Mac installer buildNed Deily2017-06-171-2/+19
|
* bpo-30038: add Misc/NEWS entry.Ned Deily2017-06-171-0/+3
|
* bpo-23894: add Misc/NEWS entry. (#2255)Ned Deily2017-06-171-0/+2
|
* bpo-30176: Add missing curses cell attributes constants (GH-1302). (GH-2241)Mariatta2017-06-162-9/+47
| | | (cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440)
* [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy ↵Mariatta2017-06-164-2/+17
| | | | | | | (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)
* [3.6] bpo-30682: Removed a too-strict assertion that failed for certain ↵Serhiy Storchaka2017-06-163-2/+11
| | | | | | 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)
* Synchronize libregrtest from master to 3.6 (#2244)Victor Stinner2017-06-167-58/+228
| | | | | | | * 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)
* Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246)Victor Stinner2017-06-161-11/+2
| | | This reverts commit e064d4dfeda09fd206653697b70b434e98cc1b57.
* [3.6]Add IDLE items to NEWS and idlelib/NEWS.txt (#2239) (#2240)terryjreedy2017-06-162-1/+29
|
* bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783) ↵Zachary Ware2017-06-165-88/+250
| | | | | | | | | (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)
* bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a ↵Mariatta2017-06-165-26/+110
| | | | | 'trailer', e.g. zip()[x] (GH-24) (GH-2235) (cherry picked from commit 93b4b47e3a720171d67f3b608de406aef462835c)
* Check that Python is 64-bit before enabling BLAKE2_USE_SSE. (GH-1332) (GH-2042)Neil Schemenauer2017-06-161-2/+5
| | | (cherry picked from commit 6c991bdee7ec4bedd8c1b8d3812dc884b654b57c)
* bpo-30656: Fix Python C API Module Objects documentation (GH-2170) (GH-2230)Mariatta2017-06-161-1/+1
| | | | `PyModule_New()` now refers to `PyModule_NewObject()` (cherry picked from commit 2d0afef82a07afdb666f2ca0c533aac5d39155cd)
* bpo-23890: Fix ref cycle in TestCase.assertRaises (#858)Victor Stinner2017-06-153-22/+46
| | | | | unittest.TestCase.assertRaises() now manually breaks a reference cycle to not keep objects alive longer than expected. (cherry picked from commit bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5)
* bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)Victor Stinner2017-06-151-2/+11
| | | (cherry picked from commit 258bfc462b1e58689b43f662a10e44ece3a10bef)
* [3.6] bpo-30626: Fix error handling in PyImport_Import(). (GH-2103) (#2221)Serhiy Storchaka2017-06-151-2/+6
| | | | | In rare circumstances PyImport_Import() could return NULL without raising an error. (cherry picked from commit 145541c)
* bpo-30149: Fix partialmethod without explicit self parameter (#1308) (#1662)Dong-hee Na2017-06-153-4/+48
|
* [3.6] bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and ↵Serhiy Storchaka2017-06-153-10/+36
| | | | | | | | | | 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)
* [3.6] bpo-30650: Fixed a syntax error: missed right parentheses (GH-2154) ↵Serhiy Storchaka2017-06-151-1/+1
| | | | | (#2215) (cherry picked from commit 0d32218)
* [3.6] bpo-30605: Fix compiling binary regexs with BytesWarnings enabled. ↵Serhiy Storchaka2017-06-154-3/+19
| | | | | | (GH-2016) (#2214) Running our unit tests with `-bb` enabled triggered this failure.. (cherry picked from commit 171b9a354e816eebc6d4c3a8553303942e9c5025)
* bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) (#2200)Victor Stinner2017-06-1414-476/+527
| | | | | | | | | | | | | | | | | | | | | | * 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)
* bpo-30231: Remove skipped test_imaplib tests (#1419) (#2192)Victor Stinner2017-06-141-20/+10
| | | | | | | | | 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)
* [3.6]bpo-15786: Fix IDLE autocomplete return problem. (#2198) (#2199)terryjreedy2017-06-141-1/+2
| | | | 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)
* bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) ↵Mariatta2017-06-141-1/+1
| | | | | (GH-2195) (cherry picked from commit 184bd82ba8106785ba22f0d2477dbd08bef821fb)
* Fix trivial typo in Python Setup documentation (GH-2185) (GH-2188)csabella2017-06-141-1/+1
| | | | Replace platform with platforms. (cherry picked from commit 4ebf03d109f827c91a23256a447c1d74a203dfee)
* bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811) (#2187)terryjreedy2017-06-141-8/+50
| | | | Patch by Louie Lu. (cherry picked from commit 778b484145edfd0d9b65129322d3295bed8eb71a)
* [3.6] bpo-30649: test_os tolerates 50 ms delta for utime (#2156) (#2175)Victor Stinner2017-06-141-1/+6
| | | | | | | | | | | | | | | | | | * 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)
* [3.6]bpo-25514: Improve IDLE's connection refused message (#2177) (#2178)terryjreedy2017-06-144-35/+119
| | | | 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)
* [3.6]bpo-27922: Stop gui flash from idle_test.test_parenmatch (#2171) (#2172)terryjreedy2017-06-131-0/+1
| | | | For unknown reasons, this does not work when running leak tests. (cherry picked from commit 049cf2bb44038351e1b2eed4fc7b1b522329e550)
* [3.6]bpo-30642: Fix ref leak in idle_test.test_macosx (#2163) (#2165)terryjreedy2017-06-131-0/+4
| | | (cherry picked from commit 8323189ff1a19566f923c04b95e4d17fa57d1f56)
* [3.6] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) ↵Antoine Pitrou2017-06-133-13/+86
| | | | | | | | | | | | | (#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)
* bpo-30642: IDLE: Fix test_query refleak (#2147) (#2161)terryjreedy2017-06-131-0/+1
| | | | Patch by Louie Lu. (cherry picked from commit b070fd275b68df5c5ba9f6f43197b8d7066f0b18)
* [3.6] bpo-29514: Check magic number for bugfix releases (#2157)Nick Coghlan2017-06-131-0/+44
| | | | | | | | | | | | 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.
* bpo-30604: Fix __PyCodeExtraState_Get() prototype (#2152)Victor Stinner2017-06-132-3/+3
| | | | | | | 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();
* [3.6] Mention how to disable signal fd wakeup (GH-2140) (#2149)Antoine Pitrou2017-06-131-2/+4
| | | (cherry picked from commit d79c1d4a9406384f10a37f26a7515ce79f9fdd78)
* bpo-6519: Improve Python Input Output Tutorial (GH-2143) (GH-2145)Mariatta2017-06-131-21/+29
| | | | Move up the discussion about 'with' keyword, so it appears earlier in the document. (cherry picked from commit bd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18)