Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
2ea8099523581cf2ecc060831a53debb57ff98ee
/
Lib
/
dataclasses.py
b01786c
bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)
by Christopher Hunt
· 6 years ago
dd13c88
bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916)
by Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
· 6 years ago
9b9d97d
bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are namedtuples. (GH-9151)
by Eric V. Smith
· 6 years ago
4d12e4d
bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452)
by Vadim Pushtaev
· 6 years ago
e55ca3f
Fix typo in dataclasses documentation (GH-8102)
by Artjom
· 6 years ago
3d70f7a
bpo-33805: Improve error message of dataclasses.replace() (GH-7580)
by Dong-hee Na
· 6 years ago
e7adf2b
bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)
by Eric V. Smith
· 6 years ago
4e81296
bpo-33536: Validate make_dataclass() field names. (GH-6906)
by Eric V. Smith
· 6 years ago
9285835
bpo-33534: Remove unneeded test. (GH-6897)
by Eric V. Smith
· 6 years ago
f8e7549
Reflow dataclasses comments (GH-6893)
by Eric V. Smith
· 6 years ago
2a7bacb
bpo-33453: Handle string type annotations in dataclasses. (GH-6768)
by Eric V. Smith
· 6 years ago
01abc6e
bpo-33517: dataclasses: Add the field type to Field repr (GH-6858)
by Eric V. Smith
· 6 years ago
3059042
bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)
by Eric V. Smith
· 6 years ago
2473eea
bpo-33494: Change dataclasses.Fields repr to use the repr of each of its members (GH-6798)
by Eric V. Smith
· 6 years ago
5a7092d
Allow dynamic creation of generic dataclasses (GH-6319)
by Ivan Levkivskyi
· 7 years ago
5219952
bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH-6305)
by Eric V. Smith
· 7 years ago
de7a2f0
bpo-33141: Have dataclasses.Field pass through __set_name__ to any default argument. (GH-6260)
by Eric V. Smith
· 7 years ago
01d618c
bpo-33134: dataclasses: use function dispatch table for hash, instead of a string lookup which then is tested with if tests. (GH-6222)
by Eric V. Smith
· 7 years ago
f96ddad
Trivial dataclass cleanups: (GH-6218)
by Eric V. Smith
· 7 years ago
56970b8
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192)
by Eric V. Smith
· 7 years ago
8e4560a
Add 'Field' to dataclasses.__all__. (GH-6182)
by Eric V. Smith
· 7 years ago
8f6eccd
bpo-32896: Fix error when subclassing a dataclass with a field that uses a default_factory (GH-6170)
by Eric V. Smith
· 7 years ago
7389fd9
bpo-33100: Dataclasses now handles __slots__ and default values correctly. (GH-6152)
by Eric V. Smith
· 7 years ago
f199bc6
bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass derived classes (#6147)
by Eric V. Smith
· 7 years ago
5da8cfb
Fixed incorrect default value for dataclass unsafe_hash. (GH-5949)
by Eric V. Smith
· 7 years ago
2fa6b9e
bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classes and vice-versa, (GH-5919)
by Eric V. Smith
· 7 years ago
dbf9cff
bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean unsafe_hash. (#5891)
by Eric V. Smith
· 7 years ago
ea8fc52
bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366)
by Eric V. Smith
· 7 years ago
d911e40
bpo-32226: PEP 560: improve typing module (#4906)
by Ivan Levkivskyi
· 7 years ago
d55209d
Fix obvious typos in docstrings (#5151)
by Raymond Hettinger
· 7 years ago
d138892
bpo-32506: Change dataclasses from OrderedDict to plain dict. (gh-5131)
by Eric V. Smith
· 7 years ago
d327ae6
Fix dataclasses docstring typo. (gh-5118)
by Eric V. Smith
· 7 years ago
d80b443
bpo-32279: Add additional params to make_dataclass(), pass through to dataclass(). (gh-5117)
by Eric V. Smith
· 7 years ago
ed7d429
bpo-32278: Allow dataclasses.make_dataclass() to omit type information. (gh-5115)
by Eric V. Smith
· 7 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
· 7 years ago
03220fd
bpo-32427: Expose dataclasses.MISSING object. (#5045)
by Eric V. Smith
· 7 years ago
f0db54a
bpo-32214: Implement PEP 557: Data Classes (#4704)
by Eric V. Smith
· 7 years ago