- 22 Mar, 2018 4 kayıt (commit)
-
-
Eric V. Smith yazdı
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192) If a dataclass has a member variable that's of type Field, but it doesn't have a type annotation, raise TypeError.
-
INADA Naoki yazdı
bpo-33018 (GH-5944) fixed bpo-32999 too. So fc7df0e6 is not required anymore. Revert it except test case.
-
jab yazdı
This improves error message for situations when a non-class is checked w.r.t. an abstract base class.
-
Donald Stufft yazdı
-
- 21 Mar, 2018 7 kayıt (commit)
-
-
Eric V. Smith yazdı
- Add missing 'Field' to __all__. - Improve tests to catch this.
-
Thomas Moreau yazdı
-
Thomas Moreau yazdı
-
Zackery Spytz yazdı
-
Eric V. Smith yazdı
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.
-
Xiang Zhang yazdı
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.
-
Cheryl Sabella yazdı
Original patch by Jon Foster and Berker Peksag.
-
- 20 Mar, 2018 3 kayıt (commit)
-
-
Cheryl Sabella yazdı
-
Matt Eaton yazdı
-
Eric V. Smith yazdı
If the class has a member that's a MemberDescriptorType, it's not a default value, it's from that member being in __slots__.
-
- 19 Mar, 2018 2 kayıt (commit)
-
-
aetracht yazdı
-
Eric V. Smith yazdı
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.
-
- 18 Mar, 2018 6 kayıt (commit)
-
-
xdegaye yazdı
-
Jelle Zijlstra yazdı
This reverts commit ac317700. (Reverts only the lib2to3 part.)
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Aviv Palivoda yazdı
It was actually fixed in SQLite 3.8.8, not 3.8.7.
-
- 17 Mar, 2018 2 kayıt (commit)
-
-
Donald Stufft yazdı
-
Marcel Plch yazdı
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.
-
- 14 Mar, 2018 1 kayıt (commit)
-
-
Zackery Spytz yazdı
-
- 13 Mar, 2018 5 kayıt (commit)
-
-
Łukasz Langa yazdı
-
Miro Hrončok yazdı
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.
-
Łukasz Langa yazdı
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).
-
Ned Deily yazdı
-
- 12 Mar, 2018 5 kayıt (commit)
-
-
Ned Deily yazdı
-
Antoine Pietri yazdı
-
Andrew Svetlov yazdı
-
Thomas Moreau yazdı
-
Antoine Pietri yazdı
Co-authored-by: Vajrasky Kok <sky.kok@speaklikeaking.com>
-
- 11 Mar, 2018 5 kayıt (commit)
-
-
Nir Soffer yazdı
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()
-
Antoine Pitrou yazdı
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.
-
Siddhesh Poyarekar yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
consisting of non-constants: `x in [a, b]` and `for x in [a, b]`. The case of all constant elements already was optimized.
-