Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
bd979b2d2b30ff2bfa44bdbbaba9d7a30900102c
/
Lib
/
test
/
test_dataclasses.py
32e58fc
bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452)
by Miss Islington (bot)
· 7 years ago
6353382
bpo-34184: Fix running Lib/test/test_dataclasses.py as a script. (GH-8382) (GH-8421)
by Miss Islington (bot)
· 7 years ago
bbef7ab
bpo-33805: Improve error message of dataclasses.replace() (GH-7580)
by Miss Islington (bot)
· 7 years ago
0aee3be
bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)
by Miss Islington (bot)
· 7 years ago
6409e75
bpo-33536: Validate make_dataclass() field names. (GH-6906)
by Miss Islington (bot)
· 7 years ago
c73268a
bpo-33453: Handle string type annotations in dataclasses. (GH-6768)
by Miss Islington (bot)
· 7 years ago
83f564f
Clean up and enhance frozen dataclass tests. (GH-6380)
by Miss Islington (bot)
· 7 years ago
d063ad8
Allow dynamic creation of generic dataclasses (GH-6319) (GH-6320)
by Miss Islington (bot)
· 7 years ago
faa6f5c
bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305)
by Miss Islington (bot)
· 7 years ago
c6147ac
bpo-33141: Have dataclasses.Field pass through __set_name__ to any default argument. (GH-6260)
by Miss Islington (bot)
· 7 years ago
5fc6fc8
Minor fixes to dataclass tests. (GH-6243)
by Miss Islington (bot)
· 7 years ago
5666a55
Trivial improvements to dataclasses tests. (GH-6234)
by Miss Islington (bot)
· 7 years ago
5729b9c
Fix invalid escape sequence: use raw string. (GH-6225)
by Miss Islington (bot)
· 7 years ago
3b4c6b1
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192)
by Miss Islington (bot)
· 7 years ago
4ddc99d
bpo-33116: Add 'Field' to dataclasses.__all__. (GH-6182) (GH-6183)
by Miss Islington (bot)
· 7 years ago
22136c9
bpo-32896: Fix error when subclassing a dataclass with a field that uses a default_factory (GH-6170) (GH-6171)
by Miss Islington (bot)
· 7 years ago
3d41f48
bpo-33100: Dataclasses now handles __slots__ and default values correctly. (GH-6152) (GH-6153)
by Miss Islington (bot)
· 7 years ago
4564831
bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass derived classes (GH-6147) (GH-6148)
by Miss Islington (bot)
· 7 years ago
a93e3dc
bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and vice-versa, (GH-5919) (GH-5920)
by Miss Islington (bot)
· 7 years ago
4cffe2f
bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean unsafe_hash. (GH-5891) (GH-5902)
by Miss Islington (bot)
· 7 years ago
1a57906
Fix 'deecorator' typo in test/test_dataclasses (GH-5899)
by Miss Islington (bot)
· 7 years ago
b6b6669
Exhaustively test dataclass hashing when no hash= value is provided. This is in anticipation of changing how non-default hashing is handled. (GH-5834) (GH-5889)
by Miss Islington (bot)
· 7 years ago
7c99e93
Fix trivial typo in test_dataclasses.py. (GH-5398)
by Eric V. Smith
· 8 years ago
ea8fc52
bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366)
by Eric V. Smith
· 8 years ago
d80b443
bpo-32279: Add additional params to make_dataclass(), pass through to dataclass(). (gh-5117)
by Eric V. Smith
· 8 years ago
ed7d429
bpo-32278: Allow dataclasses.make_dataclass() to omit type information. (gh-5115)
by Eric V. Smith
· 8 years ago
e7ba013
bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a dataclass or an instance of one. (#5113)
by Eric V. Smith
· 8 years ago
03220fd
bpo-32427: Expose dataclasses.MISSING object. (#5045)
by Eric V. Smith
· 8 years ago
13a6c09
bpo-32259: Make a TypeError message when unpack non-iterable more specific. (#4903)
by Serhiy Storchaka
· 8 years ago
53f7a7c
bpo-32297: Few misspellings found in Python source code comments. (#4803)
by Mike
· 8 years ago
24e77f9
Use raw strings for regex to avoid invalid escape sequences. (GH-4741)
by Eric V. Smith
· 8 years ago
f0db54a
bpo-32214: Implement PEP 557: Data Classes (#4704)
by Eric V. Smith
· 8 years ago