summaryrefslogtreecommitdiff
path: root/Lib/dataclasses.py
AgeCommit message (Expand)AuthorLines
2021-04-17Fix typo in a dataclasses comment. (GH-25454)Miss Islington (bot)-1/+1
2021-04-05bpo-43176: Fix processing of empty dataclasses (GH-24484)Miss Islington (bot)-1/+1
2021-04-05bpo-36470: Allow dataclasses.replace() to handle InitVars with default values...Miss Islington (bot)-1/+1
2020-06-24Fix typo in dataclasses module (GH-21109) (#21111)Miss Islington (bot)-1/+1
2019-12-09bpo-34776: Fix dataclasses to support __future__ "annotations" mode (GH-9518)...Miss Islington (bot)-34/+53
2019-10-13bpo-38431: Fix __repr__ method of InitVar to work with typing objects. (GH-16...Miss Islington (bot)-1/+6
2019-08-19bpo-37868: Improve is_dataclass for instances. (GH-15325)Miss Islington (bot)-2/+3
2019-07-21[3.8] Fix typos in docs, comments and test assert messages (GH-14872). (#14900)Kyle Stanley-1/+1
2019-06-19bpo-37163: Deprecate passing argument obj of dataclasses.replace() by keyword...Serhiy Storchaka-1/+13
2019-06-02bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927)Augusto Hack-3/+10
2019-06-01bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka-6/+3
2019-02-12 bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)Christopher Hunt-1/+1
2018-10-19bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)-6/+31
2018-09-14bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are na...Eric V. Smith-2/+38
2018-08-12bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452)Vadim Pushtaev-1/+7
2018-07-05Fix typo in dataclasses documentation (GH-8102)Artjom-1/+1
2018-06-23bpo-33805: Improve error message of dataclasses.replace() (GH-7580)Dong-hee Na-0/+3
2018-06-07bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)Eric V. Smith-1/+5
2018-05-16bpo-33536: Validate make_dataclass() field names. (GH-6906)Eric V. Smith-0/+15
2018-05-16bpo-33534: Remove unneeded test. (GH-6897)Eric V. Smith-6/+5
2018-05-16Reflow dataclasses comments (GH-6893)Eric V. Smith-170/+176
2018-05-15bpo-33453: Handle string type annotations in dataclasses. (GH-6768)Eric V. Smith-18/+116
2018-05-15bpo-33517: dataclasses: Add the field type to Field repr (GH-6858)Eric V. Smith-4/+10
2018-05-14bpo-33502: dataclass._Dataclassparams repr: use repr of each member. (GH-6812)Eric V. Smith-6/+6
2018-05-14bpo-33494: Change dataclasses.Fields repr to use the repr of each of its memb...Eric V. Smith-8/+8
2018-03-31Allow dynamic creation of generic dataclasses (GH-6319)Ivan Levkivskyi-1/+3
2018-03-29bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH...Eric V. Smith-2/+2
2018-03-26bpo-33141: Have dataclasses.Field pass through __set_name__ to any default ar...Eric V. Smith-0/+14
2018-03-24bpo-33134: dataclasses: use function dispatch table for hash, instead of a st...Eric V. Smith-40/+36
2018-03-24Trivial dataclass cleanups: (GH-6218)Eric V. Smith-23/+26
2018-03-22bpo-32505: dataclasses: raise TypeError if a member variable is of type Field...Eric V. Smith-17/+21
2018-03-21Add 'Field' to dataclasses.__all__. (GH-6182)Eric V. Smith-1/+2
2018-03-20bpo-32896: Fix error when subclassing a dataclass with a field that uses a de...Eric V. Smith-10/+11
2018-03-19bpo-33100: Dataclasses now handles __slots__ and default values correctly. (G...Eric V. Smith-0/+3
2018-03-18bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass deri...Eric V. Smith-31/+89
2018-03-01Fixed incorrect default value for dataclass unsafe_hash. (GH-5949)Eric V. Smith-2/+2
2018-02-26bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classe...Eric V. Smith-6/+13
2018-02-25bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean un...Eric V. Smith-79/+105
2018-01-27bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366)Eric V. Smith-82/+224
2018-01-20bpo-32226: PEP 560: improve typing module (#4906)Ivan Levkivskyi-1/+2
2018-01-10Fix obvious typos in docstrings (#5151)Raymond Hettinger-6/+7
2018-01-07bpo-32506: Change dataclasses from OrderedDict to plain dict. (gh-5131)Eric V. Smith-8/+8
2018-01-07Fix dataclasses docstring typo. (gh-5118)Eric V. Smith-2/+2
2018-01-06 bpo-32279: Add additional params to make_dataclass(), pass through to datacl...Eric V. Smith-3/+7
2018-01-06bpo-32278: Allow dataclasses.make_dataclass() to omit type information. (gh-5...Eric V. Smith-6/+14
2018-01-06bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a ...Eric V. Smith-6/+13
2017-12-29bpo-32427: Expose dataclasses.MISSING object. (#5045)Eric V. Smith-20/+21
2017-12-04bpo-32214: Implement PEP 557: Data Classes (#4704)Eric V. Smith-0/+776