summaryrefslogtreecommitdiffstats
path: root/Lib/dataclasses.py
Commit message (Expand)AuthorAgeFilesLines
* Improve dataclass docstring (gh-94686)Tom Fryers2022-07-091-9/+8
* gh-89828: Do not relay the __class__ attribute in GenericAlias (#93754)Serhiy Storchaka2022-06-181-2/+2
* GH-93521: For dataclasses, filter out `__weakref__` slot if present in bases ...Bluenix2022-06-081-4/+9
* Add weakref_slot to dataclass decorator, to allow instances with slots to be ...Eric V. Smith2022-05-021-8/+19
* bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)Hugo van Kemenade2022-03-301-1/+1
* bpo-46382 dataclass(slots=True) now takes inherited slots into account (GH-31...Arie Bovenberg2022-03-191-1/+22
* bpo-44674: Use unhashability as a proxy for mutability for default dataclass ...Eric V. Smith2021-12-111-2/+4
* bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.G...Serhiy Storchaka2021-12-051-1/+1
* bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (G...Serhiy Storchaka2021-12-051-1/+1
* bpo-44649: Fix dataclasses(slots=True) with a field with a default, but init=...Eric V. Smith2021-11-221-6/+13
* Added kw_only parameter to make_dataclasses. (GH-29679)Eric V. Smith2021-11-201-2/+2
* Fix dataclassses spelling (GH-28837)Landon Yarrington2021-10-091-1/+1
* Fix typos in multiple files (GH-26689)Binbin2021-06-131-1/+1
* Fix dataclass comment typo _eq__ -> __eq__ (GH-26433)Sean Grady2021-05-281-1/+1
* bpo-44015: dataclasses should allow KW_ONLY to be specified only once per cla...Eric V. Smith2021-05-031-0/+5
* If using a frozen class with slots, add __getstate__ and __setstate__ to set ...Eric V. Smith2021-05-011-2/+21
* bpo-42269: Add slots parameter to dataclass decorator (GH-24171)Yurii Karabas2021-05-011-6/+39
* Add keyword-only fields to dataclasses. (GH=25608)Eric V. Smith2021-04-261-32/+101
* bpo-38605: Revert making 'from __future__ import annotations' the default (GH...Pablo Galindo2021-04-211-10/+3
* Fix typo in a dataclasses comment. (GH-25454)Eric V. Smith2021-04-171-1/+1
* Remove an unnecessary copy of the 'namespace' parameter to make_dataclass(). ...Eric V. Smith2021-04-131-8/+13
* bpo-43764: Add match_args=False parameter to dataclass decorator and to make_...Eric V. Smith2021-04-111-14/+24
* bpo-43764: Fix `__match_args__` generation logic for dataclasses (GH-25284)Brandt Bucher2021-04-081-1/+1
* bpo-43176: Fix processing of empty dataclasses (GH-24484)Iurii Kemaev2021-04-061-1/+1
* bpo-36470: Allow dataclasses.replace() to handle InitVars with default values...Zackery Spytz2021-04-051-1/+1
* bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)Brandt Bucher2021-02-261-0/+12
* bpo-41747: Ensure all dataclass methods uses their parents' qualname (GH-22155)Batuhan Taskaya2020-10-211-2/+9
* bpo-38605: Make 'from __future__ import annotations' the default (GH-20434)Batuhan Taskaya2020-10-061-3/+10
* bpo-41905: Add abc.update_abstractmethods() (GH-22485)Ben Avrahami2020-10-061-0/+3
* Fix typo in dataclasses module (GH-21109)Jürgen Gmach2020-06-241-1/+1
* bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425)Ethan Smith2020-04-141-0/+3
* bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518)Yury Selivanov2019-12-091-34/+53
* bpo-38431: Fix __repr__ method of InitVar to work with typing objects. (GH-16...Samuel Colvin2019-10-131-1/+6
* bpo-38209: Simplify dataclasses.InitVar by using __class_getitem__(). (GH-16255)Serhiy Storchaka2019-09-221-5/+4
* bpo-37868: Improve is_dataclass for instances. (GH-15325)Eric V. Smith2019-08-201-2/+3
* Fix typos in docs, comments and test assert messages (#14872)Min ho Kim2019-07-211-1/+1
* bpo-37163: Make the obj argument of dataclasses.replace() a positional-only. ...Serhiy Storchaka2019-06-261-1/+1
* bpo-33569 Preserve type information with dataclasses.InitVar (GH-8927)Augusto Hack2019-06-031-3/+10
* bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)Serhiy Storchaka2019-06-011-6/+3
* bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)Christopher Hunt2019-02-121-1/+1
* bpo-33947: dataclasses no longer can raise RecursionError in repr (GF9916)Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)2018-10-191-6/+31
* bpo-34363: dataclasses.asdict() and .astuple() now handle fields which are na...Eric V. Smith2018-09-141-2/+38
* bpo-34213: Allow dataclasses to work with a field named 'object'. (GH-8452)Vadim Pushtaev2018-08-121-1/+7
* Fix typo in dataclasses documentation (GH-8102)Artjom2018-07-051-1/+1
* bpo-33805: Improve error message of dataclasses.replace() (GH-7580)Dong-hee Na2018-06-231-0/+3
* bpo-33796: Ignore ClassVar for dataclasses.replace(). (GH-7488)Eric V. Smith2018-06-071-1/+5
* bpo-33536: Validate make_dataclass() field names. (GH-6906)Eric V. Smith2018-05-161-0/+15
* bpo-33534: Remove unneeded test. (GH-6897)Eric V. Smith2018-05-161-6/+5
* Reflow dataclasses comments (GH-6893)Eric V. Smith2018-05-161-170/+176
* bpo-33453: Handle string type annotations in dataclasses. (GH-6768)Eric V. Smith2018-05-161-18/+116