Thomas Moreau
e2f33add63
bpo-33078 - Fix queue size on pickling error (GH-6119)
2018-03-21 16:50:28 +01:00
Zackery Spytz
9308dea3e1
Fix typos in mmap() error messages (GH-6173)
2018-03-21 14:02:37 +08:00
Eric V. Smith
8f6eccdc64
bpo-32896: Fix error when subclassing a dataclass with a field that uses a default_factory (GH-6170)
...
Fix the way that new annotations in a class are detected.
2018-03-20 22:00:23 -04:00
Xiang Zhang
10b134a07c
bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016)
...
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.
2018-03-21 08:25:13 +08:00
Cheryl Sabella
5609b78392
bpo-18802: Add more details to ipaddress documentation (GH-6083)
...
Original patch by Jon Foster and Berker Peksag.
2018-03-21 08:09:15 +08:00
Cheryl Sabella
4be79f2946
bpo-28247: Document Windows executable creation in zipapp (GH-6158)
2018-03-20 22:23:19 +00:00
Matt Eaton
2cb4661707
bpo-33034: Improve exception message when cast fails for {Parse,Split}Result.port (GH-6078)
2018-03-20 09:41:37 +03:00
Eric V. Smith
7389fd935c
bpo-33100: Dataclasses now handles __slots__ and default values correctly. (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__.
2018-03-19 21:07:51 -04:00
aetracht
4573820d2a
bpo-33061: Add missing 'NoReturn' to __all__ in typing.py (GH-6127)
2018-03-19 18:41:32 +00:00
Eric V. Smith
f199bc655e
bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass 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.
2018-03-18 20:40:34 -04:00
xdegaye
3fe33043ee
bpo-19417: Add test_bdb.py (GH-5217)
2018-03-18 13:02:47 -07:00
Jelle Zijlstra
f64aae46da
Revert "bpo-30406: Make async and await proper keywords ( #1669 )" (GH-6143)
...
This reverts commit ac317700ce .
(Reverts only the lib2to3 part.)
2018-03-18 09:54:33 -07:00
Serhiy Storchaka
fe2bbb1869
bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)
2018-03-18 09:56:52 +02:00
Serhiy Storchaka
134cb01cda
bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951)
2018-03-18 09:55:53 +02:00
Serhiy Storchaka
bc300ce205
bpo-33041: Add tests for jumps in/out of 'async with' blocks. ( #6110 )
2018-03-18 09:53:08 +02:00
Aviv Palivoda
bbf7bb7a63
bpo-27645: Fix version number in 'database in transaction' fallback (GH-6131)
...
It was actually fixed in SQLite 3.8.8, not 3.8.7.
2018-03-18 03:48:55 +03:00
Donald Stufft
7f81bb2add
Update pip to 9.0.2 and setuptools to 38.6.1 ( #6133 )
2018-03-17 11:13:48 -04:00
Marcel Plch
c2b0b12d1a
bpo-32374: m_traverse may be called with m_state=NULL (GH-5140)
...
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.
2018-03-17 15:41:20 +10:00
Zackery Spytz
d6e1404661
bpo-33021: Fix GCC 7 warning (-Wmaybe-uninitialized) in mmapmodule.c ( #6117 )
2018-03-14 21:08:01 +01:00
Łukasz Langa
74f56878cd
lib2to3: Add more tests ( #6101 )
2018-03-13 10:53:22 -07:00
xdegaye
b8e9d6c5cd
bpo-17288: Prevent jumps from 'return' and 'exception' trace events. (GH-6107)
...
(cherry picked from commit e32bbaf376 )
2018-03-13 19:31:31 +02:00
Miro Hrončok
5affd5c29e
bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ ( #5772 )
...
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.
2018-03-13 05:56:43 -04:00
Łukasz Langa
b51f5de711
bpo-33064: lib2to3: support trailing comma after *args and **kwargs ( #6096 )
...
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).
2018-03-13 00:44:49 -07:00
Ned Deily
a34510a4c5
bpo-29719: Remove Date and Release field in whatsnew/3.7 and 8 (GH-6093)
2018-03-12 21:16:08 -04:00
Ned Deily
37ed6dfbbc
Add macOS installer Conclusion file
2018-03-12 16:49:59 -04:00