index
:
cpython.git
2.7
3.3
3.4
3.5
3.6
benjamin-clang
benjamin-iteration-torture
buildbot-custom
master
https://github.com/python/cpython.git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
Lib
/
dataclasses.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
gh-107838: In dataclasses, improve error message when a non-default field fol...
Eric V. Smith
2023-08-10
1
-3/+3
*
Fix typo in comment (gh-107389)
Tom Niget
2023-07-28
1
-1/+1
*
Small speedup for dataclass __eq__ and __repr__ (#104904)
Raymond Hettinger
2023-05-30
1
-8/+12
*
gh-103000: Optimise `dataclasses.asdict` for the common case (#104364)
Alex Waygood
2023-05-10
1
-5/+12
*
gh-104035: Do not ignore user-defined `__{get,set}state__` in slotted frozen ...
Nikita Sobolev
2023-05-01
1
-2/+4
*
gh-103449: Fix a bug in dataclass docstring generation (#103454)
Nikita Sobolev
2023-04-17
1
-2/+7
*
gh-103000: Optimise dataclasses asdict/astuple for common types (#103005)
David Ellis
2023-04-10
1
-2/+29
*
gh-98886: Fix issues with dataclass fields with special underscore names (#10...
Shantanu
2023-03-25
1
-10/+9
*
gh-103027: Update `dataclass.make_dataclass` docstring (gh-103028)
Nikita Sobolev
2023-03-25
1
-2/+5
*
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (#102...
Alex Waygood
2023-03-23
1
-1/+1
*
gh-102069: Fix `__weakref__` descriptor generation for custom dataclasses (#1...
Nikita Sobolev
2023-03-13
1
-0/+3
*
gh-98169 dataclasses.astuple support DefaultDict (#98170)
T
2023-03-13
1
-9/+16
*
gh-88071: Update docstrings of dataclass' astuple and asdict (#101806)
Ilya V. Schurov
2023-03-11
1
-2/+2
*
gh-102103: add `module` argument to `dataclasses.make_dataclass` (#102104)
Nikita Sobolev
2023-03-11
1
-1/+14
*
gh-102578: Optimise setting and deleting mutable attributes on non-dataclass ...
Xuehai Pan
2023-03-11
1
-6/+4
*
gh-102515: Remove unused imports in the `Lib/` directory (#102516)
Alex Waygood
2023-03-08
1
-1/+0
*
gh-90104: avoid RecursionError on recursive dataclass field repr (gh-100756)
Carl Meyer
2023-01-06
1
-21/+21
*
gh-96151: Use a private name for passing builtins to dataclass. This now allo...
Shantanu
2022-10-31
1
-5/+4
*
bpo-35540 dataclasses.asdict now supports defaultdict fields (gh-32056)
Tiger
2022-10-07
1
-0/+8
*
gh-96142: add missing params to `dataclass._DataclassParams` (gh-96382)
Nikita Sobolev
2022-10-04
1
-3/+19
*
Add comment to subtle dataclass code (gh-96133)
Shantanu
2022-10-04
1
-0/+4
*
gh-97799: use inspect.get_annotations in dataclass (#97800)
larryhastings
2022-10-03
1
-5/+2
*
Fix minor docstring issues in `dataclasses.py`. (gh-93024)
Roman Novak
2022-07-26
1
-7/+7
*
Improve dataclass docstring (gh-94686)
Tom Fryers
2022-07-09
1
-9/+8
*
gh-89828: Do not relay the __class__ attribute in GenericAlias (#93754)
Serhiy Storchaka
2022-06-18
1
-2/+2
*
GH-93521: For dataclasses, filter out `__weakref__` slot if present in bases ...
Bluenix
2022-06-08
1
-4/+9
*
Add weakref_slot to dataclass decorator, to allow instances with slots to be ...
Eric V. Smith
2022-05-02
1
-8/+19
*
bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)
Hugo van Kemenade
2022-03-30
1
-1/+1
*
bpo-46382 dataclass(slots=True) now takes inherited slots into account (GH-31...
Arie Bovenberg
2022-03-19
1
-1/+22
*
bpo-44674: Use unhashability as a proxy for mutability for default dataclass ...
Eric V. Smith
2021-12-11
1
-2/+4
*
bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.G...
Serhiy Storchaka
2021-12-05
1
-1/+1
*
bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (G...
Serhiy Storchaka
2021-12-05
1
-1/+1
*
bpo-44649: Fix dataclasses(slots=True) with a field with a default, but init=...
Eric V. Smith
2021-11-22
1
-6/+13
*
Added kw_only parameter to make_dataclasses. (GH-29679)
Eric V. Smith
2021-11-20
1
-2/+2
*
Fix dataclassses spelling (GH-28837)
Landon Yarrington
2021-10-09
1
-1/+1
*
Fix typos in multiple files (GH-26689)
Binbin
2021-06-13
1
-1/+1
*
Fix dataclass comment typo _eq__ -> __eq__ (GH-26433)
Sean Grady
2021-05-28
1
-1/+1
*
bpo-44015: dataclasses should allow KW_ONLY to be specified only once per cla...
Eric V. Smith
2021-05-03
1
-0/+5
*
If using a frozen class with slots, add __getstate__ and __setstate__ to set ...
Eric V. Smith
2021-05-01
1
-2/+21
*
bpo-42269: Add slots parameter to dataclass decorator (GH-24171)
Yurii Karabas
2021-05-01
1
-6/+39
*
Add keyword-only fields to dataclasses. (GH=25608)
Eric V. Smith
2021-04-26
1
-32/+101
*
bpo-38605: Revert making 'from __future__ import annotations' the default (GH...
Pablo Galindo
2021-04-21
1
-10/+3
*
Fix typo in a dataclasses comment. (GH-25454)
Eric V. Smith
2021-04-17
1
-1/+1
*
Remove an unnecessary copy of the 'namespace' parameter to make_dataclass(). ...
Eric V. Smith
2021-04-13
1
-8/+13
*
bpo-43764: Add match_args=False parameter to dataclass decorator and to make_...
Eric V. Smith
2021-04-11
1
-14/+24
*
bpo-43764: Fix `__match_args__` generation logic for dataclasses (GH-25284)
Brandt Bucher
2021-04-08
1
-1/+1
*
bpo-43176: Fix processing of empty dataclasses (GH-24484)
Iurii Kemaev
2021-04-06
1
-1/+1
*
bpo-36470: Allow dataclasses.replace() to handle InitVars with default values...
Zackery Spytz
2021-04-05
1
-1/+1
*
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)
Brandt Bucher
2021-02-26
1
-0/+12
*
bpo-41747: Ensure all dataclass methods uses their parents' qualname (GH-22155)
Batuhan Taskaya
2020-10-21
1
-2/+9
[next]