summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dataclasses.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-44015: dataclasses should allow KW_ONLY to be specified only once per cla...Eric V. Smith2021-05-031-0/+77
* If using a frozen class with slots, add __getstate__ and __setstate__ to set ...Eric V. Smith2021-05-011-0/+13
* bpo-42269: Add slots parameter to dataclass decorator (GH-24171)Yurii Karabas2021-05-011-0/+53
* Add additional keyword-only tests. (GH-25633)Eric V. Smith2021-04-261-1/+29
* Add keyword-only fields to dataclasses. (GH=25608)Eric V. Smith2021-04-261-0/+159
* bpo-38605: Revert making 'from __future__ import annotations' the default (GH...Pablo Galindo2021-04-211-29/+48
* bpo-43764: Add match_args=False parameter to dataclass decorator and to make_...Eric V. Smith2021-04-111-0/+41
* bpo-43764: Fix `__match_args__` generation logic for dataclasses (GH-25284)Brandt Bucher2021-04-081-0/+8
* bpo-43176: Fix processing of empty dataclasses (GH-24484)Iurii Kemaev2021-04-061-0/+24
* bpo-42128: __match_args__ can't be a list anymore (GH-25203)Brandt Bucher2021-04-061-1/+1
* bpo-36470: Allow dataclasses.replace() to handle InitVars with default values...Zackery Spytz2021-04-051-0/+18
* bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)Brandt Bucher2021-02-261-0/+16
* bpo-41747: Ensure all dataclass methods uses their parents' qualname (GH-22155)Batuhan Taskaya2020-10-211-0/+24
* bpo-38605: Make 'from __future__ import annotations' the default (GH-20434)Batuhan Taskaya2020-10-061-49/+30
* bpo-41905: Add abc.update_abstractmethods() (GH-22485)Ben Avrahami2020-10-061-0/+37
* bpo-40389: Improve repr of typing.Optional (#19714)Vlad Serebrennikov2020-04-301-1/+1
* Add test cases for dataclasses. (#17909)Karthikeyan Singaravelan2020-01-091-0/+19
* bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518)Yury Selivanov2019-12-091-0/+12
* bpo-38431: Fix __repr__ method of InitVar to work with typing objects. (GH-16...Samuel Colvin2019-10-131-0/+2
* Unmark files as executable that can't actually be executed. (GH-15353)Greg Price2019-08-211-0/+0
* bpo-37868: Improve is_dataclass for instances. (GH-15325)Eric V. Smith2019-08-201-0/+26
* Fix typos in docs, comments and test assert messages (#14872)Min ho Kim2019-07-211-3/+3
* bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927)Augusto Hack2019-06-031-0/+6
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-061-1/+1
* bpo-36678: Rename duplicate tests in test_dataclasses (GH-12899)Windson yang2019-04-221-15/+3
* bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)Christopher Hunt2019-02-121-2/+12
* bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)2018-10-191-0/+86
* bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are na...Eric V. Smith2018-09-141-0/+79
* bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452)Vadim Pushtaev2018-08-121-0/+50
* bpo-34184: Fix running Lib/test/test_dataclasses.py as a script. (GH-8382)Serhiy Storchaka2018-07-231-5/+5
* bpo-33805: Improve error message of dataclasses.replace() (GH-7580)Dong-hee Na2018-06-231-0/+16
* bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)Eric V. Smith2018-06-071-85/+120
* bpo-33536: Validate make_dataclass() field names. (GH-6906)Eric V. Smith2018-05-161-108/+165
* bpo-33453: Handle string type annotations in dataclasses. (GH-6768)Eric V. Smith2018-05-161-2/+151
* Clean up and enhance frozen dataclass tests. (GH-6380)Eric V. Smith2018-04-051-27/+38
* Allow dynamic creation of generic dataclasses (GH-6319)Ivan Levkivskyi2018-03-311-1/+18
* bpo-33175: dataclasses should look up __set_name__ on class, not instance (GH...Eric V. Smith2018-03-291-5/+34
* bpo-33141: Have dataclasses.Field pass through __set_name__ to any default ar...Eric V. Smith2018-03-261-0/+42
* Minor fixes to dataclass tests. (GH-6243)Eric V. Smith2018-03-261-42/+41
* Trivial improvements to dataclasses tests. (GH-6234)Eric V. Smith2018-03-251-2/+3
* Fix invalid escape sequence: use raw string. (GH-6225)Eric V. Smith2018-03-251-1/+1
* bpo-32505: dataclasses: raise TypeError if a member variable is of type Field...Eric V. Smith2018-03-221-0/+43
* Add 'Field' to dataclasses.__all__. (GH-6182)Eric V. Smith2018-03-211-4/+5
* bpo-32896: Fix error when subclassing a dataclass with a field that uses a de...Eric V. Smith2018-03-211-0/+49
* bpo-33100: Dataclasses now handles __slots__ and default values correctly. (G...Eric V. Smith2018-03-201-0/+42
* bpo-32953: Dataclasses: frozen should not be inherited for non-dataclass deri...Eric V. Smith2018-03-191-24/+75
* bpo-32960: For dataclasses, disallow inheriting frozen from non-frozen classe...Eric V. Smith2018-02-271-23/+61
* Fix 'deecorator' typo in test/test_dataclasses (GH-5899)Terry Jan Reedy2018-02-261-1/+1
* bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean un...Eric V. Smith2018-02-261-116/+124
* Exhaustively test dataclass hashing when no hash= value is provided. This is ...Eric V. Smith2018-02-231-0/+73