summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)Serhiy Storchaka2018-03-1810-70/+97
|
* bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951)Serhiy Storchaka2018-03-187-7/+150
|
* bpo-33041: Add tests for jumps in/out of 'async with' blocks. (#6110)Serhiy Storchaka2018-03-181-0/+117
|
* bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131)Aviv Palivoda2018-03-182-5/+3
| | | It was actually fixed in SQLite 3.8.8, not 3.8.7.
* Update pip to 9.0.2 and setuptools to 38.6.1 (#6133)Donald Stufft2018-03-173-2/+2
|
* bpo-32374: m_traverse may be called with m_state=NULL (GH-5140)Marcel Plch2018-03-175-7/+96
| | | | | Multi-phase initialized modules allow m_traverse to be called while the module is still being initialized, so module authors may need to account for that.
* bpo-33021: Fix GCC 7 warning (-Wmaybe-uninitialized) in mmapmodule.c (#6117)Zackery Spytz2018-03-141-1/+1
|
* lib2to3: Add more tests (#6101)Łukasz Langa2018-03-131-0/+108
|
* bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6107)xdegaye2018-03-133-15/+93
| | | (cherry picked from commit e32bbaf376a09c149fa7c7f2919d7c9ce4e2a055)
* bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (#5772)Miro Hrončok2018-03-133-8/+23
| | | | | | | Creating backup files with ~ suffix can be undesirable in some environment, such as when building RPM packages. Instead of requiring the user to remove those files manually, option -n was added, that simply disables this feature. -n was selected because 2to3 has the same option with this behavior.
* bpo-33064: lib2to3: support trailing comma after *args and **kwargs (#6096)Łukasz Langa2018-03-133-26/+39
| | | | | | | New tests also added. I also made the comments in line with the builtin Grammar/Grammar. PEP 306 was withdrawn, Kees Blom's railroad program has been lost to the sands of time for at least 16 years now (I found a python-dev post from people looking for it).
* bpo-29719: Remove Date and Release field in whatsnew/3.7 and 8 (GH-6093)Ned Deily2018-03-132-6/+0
|
* Add macOS installer Conclusion fileNed Deily2018-03-121-0/+20
|
* bpo-22674: fix test_strsignal on OSX (GH-6085)Antoine Pietri2018-03-121-2/+2
|
* Fix docs markup for asyncio current_task() and all_tasks() (#6089)Andrew Svetlov2018-03-121-2/+2
|
* bpo-33056 FIX leaking fd in concurrent.futures.ProcessPoolExecutor (#6084)Thomas Moreau2018-03-122-2/+10
|
* signal: add strsignal() (#6017)Antoine Pietri2018-03-125-1/+109
| | | Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com>
* bpo-33021: Release the GIL during fstat() calls (GH-6019)Nir Soffer2018-03-113-3/+17
| | | | | | | | | | | | | | fstat may block for long time if the file descriptor is on a non-responsive NFS server, hanging all threads. Most fstat() calls are handled by _Py_fstat(), releasing the GIL internally, but but _Py_fstat_noraise() does not release the GIL, and most calls release the GIL explicitly around it. This patch fixes last 2 calls to _Py_fstat_no_raise(), avoiding hangs when calling: - mmap.mmap() - os.urandom() - random.seed()
* bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079)Antoine Pitrou2018-03-115-12/+47
| | | | | In some conditions the standard streams will be None or closed in the child process (for example if using "pythonw" instead of "python" on Windows). Avoid failing with a non-0 exit code in those conditions. Report and initial patch by poxthegreat.
* Drop confusing commented out code in pystrtod.c (GH-6072)Siddhesh Poyarekar2018-03-111-2/+0
|
* bpo-32970: Improve disassembly of the MAKE_FUNCTION instruction. (GH-5937)Serhiy Storchaka2018-03-113-6/+19
|
* bpo-32925: Optimized iterating and containing test for literal lists (GH-5842)Serhiy Storchaka2018-03-113-2/+44
| | | | | consisting of non-constants: `x in [a, b]` and `for x in [a, b]`. The case of all constant elements already was optimized.
* bpo-32946: Speed up "from ... import ..." from non-packages. (GH-5873)Serhiy Storchaka2018-03-114-288/+302
|
* bpo-32338: OrderedDict import is no longer needed in re. (#4891)Serhiy Storchaka2018-03-111-9/+4
|
* bpo-33026: Fix jumping out of "with" block by setting f_lineno. (#6026)Serhiy Storchaka2018-03-113-9/+44
|
* bpo-32996: Improve What's New in 3.7. (#5983)Serhiy Storchaka2018-03-112-123/+131
|
* bpo-33045: Fix typos in SSL documentation (GH-6065)Matt Eaton2018-03-111-2/+2
|
* bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067)Berker Peksag2018-03-111-0/+2
|
* bpo-27645: Add support for native backup facility of SQLite (GH-4238)Emanuele Gaifas2018-03-107-2/+369
|
* bpo-30249: Improve struct.unpack_from() error messages (GH-6059)Xiang Zhang2018-03-105-15/+67
|
* bpo-33041: Add missed error checks when compile "async for" (#6053)Serhiy Storchaka2018-03-101-14/+7
| | | and remove redundant code.
* bpo-33041: Fixed bytecode generation for "async for" with a complex target. ↵Serhiy Storchaka2018-03-103-2/+70
| | | | | | (#6052) A StopAsyncIteration raised on assigning or unpacking will be now propagated instead of stopping the iteration.
* bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044)Andrew Svetlov2018-03-103-21/+43
| | | | * Skip write()/data_received() if sslpipe is destroyed
* bpo-26701: Improve documentation for the rounding special methods. (#6054)Serhiy Storchaka2018-03-101-12/+18
|
* bpo-26701: Add documentation for __trunc__ (GH-6022)Eric Appelt2018-03-103-3/+15
| | | | `int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs.
* Warn that dbm.dumb.open() can crash Python (GH-6047)Brett Cannon2018-03-091-0/+5
|
* Warn that compile() can crash when compiling to an AST object (GH-6043)Brett Cannon2018-03-091-0/+6
|
* bpo-32758: Warn that ast.parse() and ast.literal_eval() can segfault the ↵Brett Cannon2018-03-091-0/+10
| | | | interpreter (GH-5960)
* controlflow: Use full example for "5 through 9" (GH-5907)Steven M. Vascellaro2018-03-091-1/+1
| | | | Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9". This format is more consistent with the surrounding examples.
* bpo-33016: Fix potential use of uninitialized memory in nt._getfinalpathname ↵Alexey Izbyshev2018-03-082-42/+33
| | | | (#6010)
* Add two missing error checks in hamt.c (GH-5851)Xiang Zhang2018-03-081-1/+7
|
* Fix some ipaddress documentation errors (GH-6021)Xiang Zhang2018-03-081-8/+12
| | | | | | | * fix a typo: documention -> documentation * fix the type of IPv?Network.hostmask * add documentation about IPv?Network.netmask * fix IPv6Network constructor doc that extended netmasks are not supported
* bpo-32999: Fix ABC.__subclasscheck__ crash (GH-6002)INADA Naoki2018-03-073-12/+45
|
* bpo-32969: Expose some missing constants in zlib and fix the doc (GH-5988)Xiang Zhang2018-03-074-23/+44
|
* bpo-33009: Fix inspect.signature() for single-parameter partialmethods. ↵Yury Selivanov2018-03-063-1/+13
| | | | (GH-6004)
* bpo-33005: Fix _PyGILState_Reinit() (#6001)Victor Stinner2018-03-062-4/+27
| | | | | | | | Fix a crash on fork when using a custom memory allocator (ex: using PYTHONMALLOC env var). _PyGILState_Reinit() and _PyInterpreterState_Enable() now use the default RAW memory allocator to allocate a new interpreters mutex on fork.
* Fix strncpy warning with gcc 8 (#5840)Siddhesh Poyarekar2018-03-061-2/+2
| | | | | The length in strncpy is one char too short and as a result it leads to a build warning with gcc 8. Comment out the strncpy since the interpreter aborts immediately after anyway.
* bpo-32991: Restore expectation that inspect.getfile raises TypeError on ↵Jason R. Coombs2018-03-052-3/+20
| | | | | | | | | | namespace package (GH-5980) * bpo-32991: Add test capturing expectation. DocTestFinder.find should return an empty list for doctests in a namespace package. * bpo-32991: Restore expectation that inspect.getfile on a namespace package raises TypeError.
* bpo-33001: Prevent buffer overrun in os.symlink (GH-5989)Steve Dower2018-03-053-28/+73
|
* Add What's New for issues 32303 and 32305 (GH-5994)Barry Warsaw2018-03-051-0/+8
|