summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.6] bpo-30828: Fix out of bounds write in ↵Yury Selivanov2017-07-051-0/+1
| | | | | `asyncio.CFuture.remove_done_callback() (GH-2569) (#2590) (cherry picked from commit 833a3b0d3707200daeaccdd218e8f18a190284aa)
* [3.6] bpo-30854: Fix compile error when --without-threads (GH-2581) (#2583)Masayuki Yamamoto2017-07-051-0/+2
| | | | | | * bpo-30854: Fix compile error when --without-threads * bpo-30854: fix news (cherry picked from commit 0c3116309307ad2c7f8e2d2096612f4ab33cbb62)
* [3.6] NEWS for 30777 (GH-2576) (#2579)terryjreedy2017-07-051-0/+2
| | | (cherry picked from commit aaa917f)
* bpo-30319: socket.close() now ignores ECONNRESET (#2565) (#2566)Victor Stinner2017-07-041-0/+1
| | | | | socket.close() was modified in Python 3.6 to raise OSError on failure: see bpo-26685. (cherry picked from commit 67e1478dba6efe60b8e1890192014b8b06dd6bd9)
* [3.6] bpo-30441: Fix bug when modifying os.environ while iterating over it ↵Serhiy Storchaka2017-07-042-0/+2
| | | | | (GH-2409). (#2556) (cherry picked from commit 8a8d28501fc8ce25926d168f1c657656c809fd4c)
* [3.6] bpo-30597: Show expected input in custom 'print' error message. (GH-2531)Nick Coghlan2017-07-031-0/+3
| | | (cherry picked from commit 3a7f03584ab75afbf5507970711c87042e423bb4)
* [3.6] bpo-30703: Improve signal delivery (GH-2415) (#2527)Antoine Pitrou2017-07-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [3.6] bpo-30703: Improve signal delivery (GH-2415) * Improve signal delivery Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions. * Remove unused function * Improve comments * Add stress test * Adapt for --without-threads * Add second stress test * Add NEWS blurb * Address comments @haypo. (cherry picked from commit c08177a1ccad2ed0d50898c2731b518c631aed14) * bpo-30796: Fix failures in signal delivery stress test (#2488) * bpo-30796: Fix failures in signal delivery stress test setitimer() can have a poor minimum resolution on some machines, this would make the test reach its deadline (and a stray signal could then kill a subsequent test). * Make sure to clear the itimer after the test
* [3.6] bpo-30807: signal.setitimer() may disable the timer by mistake ↵Antoine Pitrou2017-06-301-0/+6
| | | | | | | | (GH-2493) (#2497) * bpo-30807: signal.setitimer() may disable the timer by mistake * Add NEWS blurb (cherry picked from commit 729780a810bbcb12b245a1b652302a601fc9f6fd)
* [3.6] bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more ↵terryjreedy2017-06-291-0/+2
| | | | | | | | tests. (GH-2283) (#2496) Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances of the latter two can be placed with other widgets within a multiframe window. Patch by Cheryl Sabella. (cherry picked from commit 42bc8be)
* [3.6] bpo-30723: IDLE -- Enhance parenmatch; add style, flash, and help ↵terryjreedy2017-06-282-0/+6
| | | | | | | | | | | (GH-2306) (#2460) * Add 'parens' style to highlight both opener and closer. * Make 'default' style, which is not default, a synonym for 'opener'. * Make time-delay work the same with all styles. * Add help for config dialog extensions tab, including parenmatch. * Add new tests. Original patch by Charles Wohlganger. (cherry picked from commit fae2c35)
* [3.6] bpo-30674: IDLE: add docstrings to grep.py (GH-2213) (#2434)terryjreedy2017-06-271-0/+1
| | | | Patch by Cheryl Sabella (cherry picked from commit 65474b9)
* [3.6] bpo-21519: IDLE basic custom key entry better detects duplicates. ↵terryjreedy2017-06-271-0/+2
| | | | | | (GH-2428) (#2433) Original patch by Saimadhav Heblikar. (cherry picked from commit 44913e5)
* [3.6] bpo-29910: IDLE no longer deletes a character after commenting out a ↵terryjreedy2017-06-271-0/+3
| | | | | | | | | | | region (GH-825) (#2429) This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS (cherry picked from commit 213ce12)
* [3.6] bpo-30769: Fix reference leak introduced in 77703942c59 (GH-2416) (#2425)Emily Morehouse2017-06-271-0/+1
| | | | | | | | New error condition paths were introduced, which did not decrement `key2` and `val2` objects. Therefore, decrement references before jumping to the error label. Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com> (cherry picked from commit a7874c73c0c729bbec2fd4b077bd0eec276cfff4)
* [3.6] bpo-30728: IDLE: Refactor configdialog to PEP8 names (GH-2307) (#2421)terryjreedy2017-06-271-0/+4
| | | | | Also, change '*' in the tkinter import to an explicit list of names. Patch by Cheryl Sabella. (cherry picked from commit bac7d33)
* [3.6] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to ↵Antoine Pitrou2017-06-261-0/+2
| | | | | | | | | | | | | (GH-2403) (#2418) * bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock This is especially important if PyThread_acquire_lock() is called reentrantly (for example from a signal handler). * Update 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst * Avoid core logic when taking the mutex failed (cherry picked from commit f84ac420c2af98339678744953869cad3c253281)
* [3.6] bpo-6739: IDLE: Check for valid keybinding in config_keys (GH-2377) ↵terryjreedy2017-06-261-0/+3
| | | | | | | | (#2397) Verify user-entered key sequences by trying to bind them with tk. Add tests for all 3 validation functions. Original patch by G Polo. Tests added by Cheryl Sabella. (cherry picked from commit 8c78aa7)
* [3.6] bpo-30746: Prohibited the '=' character in environment variable names ↵Serhiy Storchaka2017-06-251-0/+3
| | | | | | | (GH-2382) (#2391) in `os.putenv()` and `os.spawn*()`.. (cherry picked from commit 77703942c5997dff00c48f10df1b29b11645624c)
* [3.6] bpo-30616: Functional API of enum allows to create empty enums. ↵Dong-hee Na2017-06-241-0/+3
| | | | (#2304) (#2324)
* [3.6] bpo-30645: don't append to an inner loop path in imp.load_package() ↵Brett Cannon2017-06-232-0/+5
| | | | | | | | | (GH-2268) (#2364) Bug didn't manifest itself when importing a module with source as .py files are always the first on the search path. The issue only showed up in bytecode-only packages where the calculated file path would be ``__init__.py/__init__.pyc``. Patch by Alexandru Ardelean. (cherry picked from commit c38e32a10061a7c6d54e7e53ffabf7af7998f045)
* [3.6] bpo-30730: Prevent environment variables injection in subprocess on ↵Serhiy Storchaka2017-06-231-0/+3
| | | | | | Windows. (GH-2325) (#2360) Prevent passing other invalid environment variables and command arguments.. (cherry picked from commit d174d24a5d37d1516b885dc7c82f71ecd5930700)
* Add "Misc/NEWS.d" directory tree for "blurb". GH-2329larryhastings2017-06-2311-0/+11
| | | | | | | | | | CPython workflow is changing! We're going to start using "blurb" to manage Misc/NEWS entries: https://github.com/python/core-workflow (This will be a big win for release managers, honest.) This checkin simply populates the "Misc/NEWS.d" subdirectory tree so that people can start putting their news entries in there. No other changes (yet).
* bpo-30694: Upgrade Modules/expat/ to libexpat 2.2.1 (#2300) (#2313)Victor Stinner2017-06-211-0/+9
| | | | New file: Modules/expat/siphash.h. (cherry picked from commit 5ff7132313eb651107b179d20218dfe5d4e47f13)
* [3.6] bpo-29755: Fixed the lgettext() family of functions in the gettext ↵Serhiy Storchaka2017-06-201-0/+3
| | | | | | | | module. (GH-2266) (#2297) They now always return bytes. Updated the gettext documentation.. (cherry picked from commit 26cb4657bcc9a7adffa95798ececb588dddfeadb)
* bpo-30500: Fix the NEWS entry (#2296)Victor Stinner2017-06-201-1/+1
| | | splithost() expects an URL starting with "//" not with "http://".
* bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289)Victor Stinner2017-06-202-0/+6
| | | | | | | | | 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)
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-191-0/+3
| | | | | | 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.
* Bump version for post 3.6.2rc1Ned Deily2017-06-181-1/+13
|
* Version bump to 3.6.2rc1v3.6.2rc1Ned Deily2017-06-171-1/+1
|
* 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-161-0/+2
| | | (cherry picked from commit 116dd5eba60a940b35db6aaf4e8c998ac30ad440)
* [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy ↵Mariatta2017-06-162-0/+4
| | | | | | | (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-161-0/+3
| | | | | | 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)
* [3.6]Add IDLE items to NEWS and idlelib/NEWS.txt (#2239) (#2240)terryjreedy2017-06-161-0/+14
|
* bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783) ↵Zachary Ware2017-06-161-1/+9
| | | | | | | | | (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-161-0/+1
| | | | | 'trailer', e.g. zip()[x] (GH-24) (GH-2235) (cherry picked from commit 93b4b47e3a720171d67f3b608de406aef462835c)
* bpo-23890: Fix ref cycle in TestCase.assertRaises (#858)Victor Stinner2017-06-151-0/+3
| | | | | unittest.TestCase.assertRaises() now manually breaks a reference cycle to not keep objects alive longer than expected. (cherry picked from commit bbd3cf8f1ef1e91a8d6dac6411e18b4b9084abf5)
* bpo-30149: Fix partialmethod without explicit self parameter (#1308) (#1662)Dong-hee Na2017-06-151-0/+4
|
* [3.6] bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and ↵Serhiy Storchaka2017-06-151-0/+3
| | | | | | | | | | 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-30605: Fix compiling binary regexs with BytesWarnings enabled. ↵Serhiy Storchaka2017-06-152-0/+4
| | | | | | (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-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | * 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)
* [3.6] bpo-24484: Avoid race condition in multiprocessing cleanup (GH-2159) ↵Antoine Pitrou2017-06-131-0/+2
| | | | | | | | | | | | | (#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)
* [3.6] bpo-30604: Move co_extra_freefuncs to interpreter state to avoid ↵Dino Viehland2017-06-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [3.6] bpo-30177: add NEWS entry (#2134)Antoine Pietri2017-06-121-0/+3
|
* [3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) ↵Serhiy Storchaka2017-06-121-0/+3
| | | | | | (#2121) The traceback no longer displayed for SystemExit raised in a callback registered by atexit.. (cherry picked from commit 3fd54d4a7e604067e2bc0f8cfd58bdbdc09fa7f4)
* Revert "[3.6] bpo-29406: asyncio SSL contexts leak sockets after calling ↵Yury Selivanov2017-06-111-4/+0
| | | | | close with certain servers (GH-409) (#2062)" (#2112) This reverts commit 6e14fd2a14cef6ea0709ad234ab41198c2195591.
* bpo-30508: Don't log exceptions if Task/Future "cancel()" method was called. ↵Yury Selivanov2017-06-111-0/+3
| | | | (#2109)
* [3.6] Add IDLE news items (GH-2090) (#2096)terryjreedy2017-06-111-0/+19
| | | (cherry-pick from c94c41c)
* bpo-28556: Updates to typing module (GH-2076) (GH-2087)Mariatta2017-06-101-0/+4
| | | | | | | 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)