summaryrefslogtreecommitdiffstats
path: root/Lib/dataclasses.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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