summaryrefslogtreecommitdiffstats
path: root/Lib/dataclasses.py
Commit message (Expand)AuthorAgeFilesLines
* gh-109870: Dataclasses: batch up exec calls (gh-110851)Eric V. Smith2024-03-251-144/+182
* gh-116647: Fix recursive child in dataclasses (#116790)et-repositories2024-03-191-1/+3
* gh-105866: fix dataclass with slots=True, weakref_slot=True (#105870)Aviel Boag2024-03-191-1/+3
* gh-109653: Just import `recursive_repr` in `dataclasses` (gh-109822)Nikita Sobolev2024-03-051-23/+3
* gh-114087: Speed up dataclasses._asdict_inner (#114088)keithasaurus2024-01-181-45/+55
* gh-114198: Rename dataclass __replace__ argument to 'self' (gh-114251)Phillip Schanely2024-01-181-6/+6
* gh-109409: Fix inheritance of frozen dataclass from non-frozen dataclass mixi...Nikita Sobolev2023-10-121-4/+10
* gh-110273: dataclasses.replace() now raise TypeError for all invalid argument...Serhiy Storchaka2023-10-041-5/+5
* gh-108751: Add copy.replace() function (GH-108752)Serhiy Storchaka2023-09-061-3/+6
* gh-107838: In dataclasses, improve error message when a non-default field fol...Eric V. Smith2023-08-101-3/+3
* Fix typo in comment (gh-107389)Tom Niget2023-07-281-1/+1
* Small speedup for dataclass __eq__ and __repr__ (#104904)Raymond Hettinger2023-05-301-8/+12
* gh-103000: Optimise `dataclasses.asdict` for the common case (#104364)Alex Waygood2023-05-101-5/+12
* gh-104035: Do not ignore user-defined `__{get,set}state__` in slotted frozen ...Nikita Sobolev2023-05-011-2/+4
* gh-103449: Fix a bug in dataclass docstring generation (#103454)Nikita Sobolev2023-04-171-2/+7
* gh-103000: Optimise dataclasses asdict/astuple for common types (#103005)David Ellis2023-04-101-2/+29
* gh-98886: Fix issues with dataclass fields with special underscore names (#10...Shantanu2023-03-251-10/+9
* gh-103027: Update `dataclass.make_dataclass` docstring (gh-103028)Nikita Sobolev2023-03-251-2/+5
* gh-102947: Improve traceback when calling `fields()` on a non-dataclass (#102...Alex Waygood2023-03-231-1/+1
* gh-102069: Fix `__weakref__` descriptor generation for custom dataclasses (#1...Nikita Sobolev2023-03-131-0/+3
* gh-98169 dataclasses.astuple support DefaultDict (#98170)T2023-03-131-9/+16
* gh-88071: Update docstrings of dataclass' astuple and asdict (#101806)Ilya V. Schurov2023-03-111-2/+2
* gh-102103: add `module` argument to `dataclasses.make_dataclass` (#102104)Nikita Sobolev2023-03-111-1/+14
* gh-102578: Optimise setting and deleting mutable attributes on non-dataclass ...Xuehai Pan2023-03-111-6/+4
* gh-102515: Remove unused imports in the `Lib/` directory (#102516)Alex Waygood2023-03-081-1/+0
* gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756)Carl Meyer2023-01-061-21/+21
* gh-96151: Use a private name for passing builtins to dataclass. This now allo...Shantanu2022-10-311-5/+4
* bpo-35540 dataclasses.asdict now supports defaultdict fields (gh-32056)Tiger2022-10-071-0/+8
* gh-96142: add missing params to `dataclass._DataclassParams` (gh-96382)Nikita Sobolev2022-10-041-3/+19
* Add comment to subtle dataclass code (gh-96133)Shantanu2022-10-041-0/+4
* gh-97799: use inspect.get_annotations in dataclass (#97800)larryhastings2022-10-031-5/+2
* Fix minor docstring issues in `dataclasses.py`. (gh-93024)Roman Novak2022-07-261-7/+7
* 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