summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade pip to v9.0.3 and setuptools to v39.0.1 (#6184)Donald Stufft2018-03-223-2/+2
|
* Add 'Field' to dataclasses.__all__. (GH-6182)Eric V. Smith2018-03-213-5/+8
| | | | - Add missing 'Field' to __all__. - Improve tests to catch this.
* FIX failure on OSX sem_getvalue (#6180)Thomas Moreau2018-03-212-2/+8
|
* bpo-33078 - Fix queue size on pickling error (GH-6119)Thomas Moreau2018-03-213-2/+23
|
* Fix typos in mmap() error messages (GH-6173)Zackery Spytz2018-03-211-2/+2
|
* bpo-32896: Fix error when subclassing a dataclass with a field that uses a ↵Eric V. Smith2018-03-213-11/+63
| | | | | default_factory (GH-6170) Fix the way that new annotations in a class are detected.
* bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)Xiang Zhang2018-03-214-75/+75
| | | | | | The result of host() was not empty when the network is constructed by a tuple containing an integer mask and only 1 bit left for addresses.
* bpo-18802: Add more details to ipaddress documentation (GH-6083)Cheryl Sabella2018-03-213-16/+51
| | | | Original patch by Jon Foster and Berker Peksag.
* bpo-28247: Document Windows executable creation in zipapp (GH-6158)Cheryl Sabella2018-03-202-0/+171
|
* bpo-33034: Improve exception message when cast fails for ↵Matt Eaton2018-03-203-1/+18
| | | | {Parse,Split}Result.port (GH-6078)
* bpo-33100: Dataclasses now handles __slots__ and default values correctly. ↵Eric V. Smith2018-03-203-0/+47
| | | | | (GH-6152) If the class has a member that's a MemberDescriptorType, it's not a default value, it's from that member being in __slots__.
* bpo-33061: Add missing 'NoReturn' to __all__ in typing.py (GH-6127)aetracht2018-03-192-0/+2
|
* bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass ↵Eric V. Smith2018-03-193-55/+168
| | | | | | | derived classes (#6147) If a non-dataclass derives from a frozen dataclass, allow attributes to be set. Require either all of the dataclasses in a class hierarchy to be frozen, or all non-frozen. Store `@dataclass` parameters on the class object under `__dataclass_params__`. This is needed to detect frozen base classes.
* bpo-19417: Add test_bdb.py (GH-5217)xdegaye2018-03-183-1/+1153
|
* Revert "bpo-30406: Make async and await proper keywords (#1669)" (GH-6143)Jelle Zijlstra2018-03-184-20/+94
| | | | | This reverts commit ac317700ce7439e38a8b420218d9a5035bba92ed. (Reverts only the lib2to3 part.)
* 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.