Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade pip to v9.0.3 and setuptools to v39.0.1 (#6184) | Donald Stufft | 2018-03-22 | 3 | -2/+2 |
| | |||||
* | Add 'Field' to dataclasses.__all__. (GH-6182) | Eric V. Smith | 2018-03-21 | 3 | -5/+8 |
| | | | | - Add missing 'Field' to __all__. - Improve tests to catch this. | ||||
* | FIX failure on OSX sem_getvalue (#6180) | Thomas Moreau | 2018-03-21 | 2 | -2/+8 |
| | |||||
* | bpo-33078 - Fix queue size on pickling error (GH-6119) | Thomas Moreau | 2018-03-21 | 3 | -2/+23 |
| | |||||
* | Fix typos in mmap() error messages (GH-6173) | Zackery Spytz | 2018-03-21 | 1 | -2/+2 |
| | |||||
* | bpo-32896: Fix error when subclassing a dataclass with a field that uses a ↵ | Eric V. Smith | 2018-03-21 | 3 | -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 Zhang | 2018-03-21 | 4 | -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 Sabella | 2018-03-21 | 3 | -16/+51 |
| | | | | Original patch by Jon Foster and Berker Peksag. | ||||
* | bpo-28247: Document Windows executable creation in zipapp (GH-6158) | Cheryl Sabella | 2018-03-20 | 2 | -0/+171 |
| | |||||
* | bpo-33034: Improve exception message when cast fails for ↵ | Matt Eaton | 2018-03-20 | 3 | -1/+18 |
| | | | | {Parse,Split}Result.port (GH-6078) | ||||
* | bpo-33100: Dataclasses now handles __slots__ and default values correctly. ↵ | Eric V. Smith | 2018-03-20 | 3 | -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) | aetracht | 2018-03-19 | 2 | -0/+2 |
| | |||||
* | bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass ↵ | Eric V. Smith | 2018-03-19 | 3 | -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) | xdegaye | 2018-03-18 | 3 | -1/+1153 |
| | |||||
* | Revert "bpo-30406: Make async and await proper keywords (#1669)" (GH-6143) | Jelle Zijlstra | 2018-03-18 | 4 | -20/+94 |
| | | | | | This reverts commit ac317700ce7439e38a8b420218d9a5035bba92ed. (Reverts only the lib2to3 part.) | ||||
* | bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822) | Serhiy Storchaka | 2018-03-18 | 10 | -70/+97 |
| | |||||
* | bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) | Serhiy Storchaka | 2018-03-18 | 7 | -7/+150 |
| | |||||
* | bpo-33041: Add tests for jumps in/out of 'async with' blocks. (#6110) | Serhiy Storchaka | 2018-03-18 | 1 | -0/+117 |
| | |||||
* | bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131) | Aviv Palivoda | 2018-03-18 | 2 | -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 Stufft | 2018-03-17 | 3 | -2/+2 |
| | |||||
* | bpo-32374: m_traverse may be called with m_state=NULL (GH-5140) | Marcel Plch | 2018-03-17 | 5 | -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 Spytz | 2018-03-14 | 1 | -1/+1 |
| | |||||
* | lib2to3: Add more tests (#6101) | Łukasz Langa | 2018-03-13 | 1 | -0/+108 |
| | |||||
* | bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6107) | xdegaye | 2018-03-13 | 3 | -15/+93 |
| | | | (cherry picked from commit e32bbaf376a09c149fa7c7f2919d7c9ce4e2a055) | ||||
* | bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ (#5772) | Miro Hrončok | 2018-03-13 | 3 | -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 Langa | 2018-03-13 | 3 | -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 Deily | 2018-03-13 | 2 | -6/+0 |
| | |||||
* | Add macOS installer Conclusion file | Ned Deily | 2018-03-12 | 1 | -0/+20 |
| | |||||
* | bpo-22674: fix test_strsignal on OSX (GH-6085) | Antoine Pietri | 2018-03-12 | 1 | -2/+2 |
| | |||||
* | Fix docs markup for asyncio current_task() and all_tasks() (#6089) | Andrew Svetlov | 2018-03-12 | 1 | -2/+2 |
| | |||||
* | bpo-33056 FIX leaking fd in concurrent.futures.ProcessPoolExecutor (#6084) | Thomas Moreau | 2018-03-12 | 2 | -2/+10 |
| | |||||
* | signal: add strsignal() (#6017) | Antoine Pietri | 2018-03-12 | 5 | -1/+109 |
| | | | Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com> | ||||
* | bpo-33021: Release the GIL during fstat() calls (GH-6019) | Nir Soffer | 2018-03-11 | 3 | -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 Pitrou | 2018-03-11 | 5 | -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 Poyarekar | 2018-03-11 | 1 | -2/+0 |
| | |||||
* | bpo-32970: Improve disassembly of the MAKE_FUNCTION instruction. (GH-5937) | Serhiy Storchaka | 2018-03-11 | 3 | -6/+19 |
| | |||||
* | bpo-32925: Optimized iterating and containing test for literal lists (GH-5842) | Serhiy Storchaka | 2018-03-11 | 3 | -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 Storchaka | 2018-03-11 | 4 | -288/+302 |
| | |||||
* | bpo-32338: OrderedDict import is no longer needed in re. (#4891) | Serhiy Storchaka | 2018-03-11 | 1 | -9/+4 |
| | |||||
* | bpo-33026: Fix jumping out of "with" block by setting f_lineno. (#6026) | Serhiy Storchaka | 2018-03-11 | 3 | -9/+44 |
| | |||||
* | bpo-32996: Improve What's New in 3.7. (#5983) | Serhiy Storchaka | 2018-03-11 | 2 | -123/+131 |
| | |||||
* | bpo-33045: Fix typos in SSL documentation (GH-6065) | Matt Eaton | 2018-03-11 | 1 | -2/+2 |
| | |||||
* | bpo-27645: Skip test_bad_target_in_transaction if SQLite == 3.8.7.1 (GH-6067) | Berker Peksag | 2018-03-11 | 1 | -0/+2 |
| | |||||
* | bpo-27645: Add support for native backup facility of SQLite (GH-4238) | Emanuele Gaifas | 2018-03-10 | 7 | -2/+369 |
| | |||||
* | bpo-30249: Improve struct.unpack_from() error messages (GH-6059) | Xiang Zhang | 2018-03-10 | 5 | -15/+67 |
| | |||||
* | bpo-33041: Add missed error checks when compile "async for" (#6053) | Serhiy Storchaka | 2018-03-10 | 1 | -14/+7 |
| | | | and remove redundant code. | ||||
* | bpo-33041: Fixed bytecode generation for "async for" with a complex target. ↵ | Serhiy Storchaka | 2018-03-10 | 3 | -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 Svetlov | 2018-03-10 | 3 | -21/+43 |
| | | | | * Skip write()/data_received() if sslpipe is destroyed | ||||
* | bpo-26701: Improve documentation for the rounding special methods. (#6054) | Serhiy Storchaka | 2018-03-10 | 1 | -12/+18 |
| | |||||
* | bpo-26701: Add documentation for __trunc__ (GH-6022) | Eric Appelt | 2018-03-10 | 3 | -3/+15 |
| | | | | `int` fails back to `__trunc__` is `__int__` isn't defined, so cover that in the docs. |