index
:
delta/cpython-git.git
2.7
3.10
3.11
3.4
3.5
3.6
3.7
3.7-readme-update
3.8
3.9
Mariatta-patch-1
Mariatta-patch-2
alex-patch-1
ast-new-type-comment-null-check
backport-0613c1e-3.7
backport-10654c1-3.7
backport-109d966-3.9
backport-24bcefc-3.6
backport-24bcefc-3.7
backport-24bcefc-3.8
backport-24bd50b-2.7
backport-24bd50b-3.6
backport-283f9a2-3.6
backport-51c3e28-3.10
backport-51c3e28-3.8
backport-52d1b86-3.6
backport-52f9842-3.9
backport-5a88d50-3.8
backport-5a8d121-3.5
backport-5bdab64-3.7
backport-6ec0dec-3.9
backport-704e2d3-2.7
backport-731ff68-3.6
backport-73d6002-3.7
backport-74ae50e-2.7
backport-74ae50e-3.7
backport-76b5d71-3.9
backport-8acd0e0-3.9
backport-8ed6503-3.8
backport-916610e-3.6
backport-916610e-3.7
backport-95da310-3.8
backport-adf24bd-3.8
backport-adf24bd-3.9
backport-cd16661-2.7
backport-eeab510-2.7
backport-eeab510-3.6
backport-eeab510-3.7
backport-f7955a8-3.10
backport-f7955a8-3.9
backport-ff023ed-3.8
benjamin-eval-loop-edit
benjamin-expat-2.2.6
benjamin-external-zip
benjamin-interp-initialize
benjamin-keyword-restriction
benjamin-musl-z-workaround
benjamin-pickle-overflow
benjamin-prlimit-permission-test
benjamin-pyapi
benjamin-tanh-zero
benjamin-traceback-obo
berkerpeksag-update-codeowners
bind-socket
bpo-37741-importlib-metadata-docs-visible
bpo-39107
bpo-39235-genexp-endloc
bpo-41855-backport-fix
bpo-42057
bpo-43428/importlib-metadata-3.7
bpo-43569/man-as-machine
bpo-43780/importlib_metadata-3.10
bpo-43856/importlib-metadata-new
bpo-43926/importlib-metadata-4
bpo-45419
bpo-45514/deprecate-importlib-resources-legacy
bpo-45765/metadata-distribution-empty-path
bpo-46118/resources-package
bpo-46124/zoneinfo-resources
bpo-46125/importlib-resources-test-traversable
bpo-46126/bad-error-message
bpo-46425/restore-simple-importlib-tests
bpo-46474/entrypoint-regex
bpo-46474/entrypoint-regex-fix
branch-v3.10.0
branch-v3.9.0
bugfix/16396-linux-wintypes-importable
buildbot-custom
cjw296-patch-1
constant-kind
datetime_backport_test
dependabot/github_actions/actions/cache-2.1.7
dependabot/github_actions/actions/cache-v2.1.3
dependabot/github_actions/actions/cache-v2.1.4
dependabot/github_actions/actions/cache-v2.1.5
dependabot/github_actions/actions/upload-artifact-2.3.1
dependabot/github_actions/actions/upload-artifact-v2.2.1
dependabot/github_actions/actions/upload-artifact-v2.2.2
dependabot/github_actions/actions/upload-artifact-v2.2.3
descr-howto-feedback
enum-lost-fixes
enum-private-310
ethanfurman-acks
faster-bytes-iter
feature-version
feature/42129-resources-namespace-packages
feature/putrequest-hooks
fedora-2.7
find_module-deprecation-windows
fix-cf-feature-versiob
fix-cf-feature-version
fix-cf-feature-version-38
fix-cf-feature-version-39
fix-misc-acks
fix-misc-acks-38
fix-misc-acks-sort
fix-namedexpr-comment
fix-req-type
fix-segfaults
fix-time_ns-link
fix-tok-type-comments-flag
fix-traceback-syntax-error
fixup-bpo-34003
importlib_metadata-3.3
main
master
misc-acks-comment
mp-manager-tests
ncoghlan-bpo-33499-whats-new
ncoghlan-clarify-U-mode-deprecation
ncoghlan-fix-versionchanged-note
ncoghlan-whatsnew-38-placeholder-notes
orphaned-comment
pep572
pipelines-badge-3.6
pipelines-readme-3.7
pr_18370
pr_27789
pr_4170
print-statement
readme-update
refactor-lambda-parameters
revert-10245-msix
revert-10341-patch-7
revert-11293-bpo35565
revert-11318-fast-enum
revert-11341-bpo35603
revert-11477-backport-cbb1645-3.6
revert-11482-backport-cbb1645-2.7
revert-13569-undo-ea2b76bdc5f97f49701213d105b8ec2387ea2fa5
revert-13599-codeowner
revert-13893-fix-issue-37193
revert-14522-remove_unused_imports37
revert-15687-backport-87bd207-3.7
revert-15895-named_tuple_concept
revert-16839-backport-5a88d50-3.8
revert-17659-utf8-buffer
revert-17774-issue27973-win-fix
revert-19108-remove-cElementTree
revert-22049-bpo-1635741-signalmodule
revert-22513-update_test_codecs
revert-22997-tempfile-overhead
revert-23107-revert-13893-fix-issue-37193
revert-23398-bpo-1635741-struct
revert-23827-backport-dcc997c-3.9
revert-23828-backport-dcc997c-3.8
revert-23917-enum-prepare_kwds
revert-24821-fix/bigint_freelist
revert-25103-binary-locale
revert-25134-regen_stable_abi
revert-28650-revert-28615-test-datetime-discover
revert-28660-revert-gh28645
revert-29124-bpo-44019
revert-30472-issue-46301
revert-6121-is_integer
revert-7960-backport-2cc9d21-3.7
revert-9703-master
soft-keywords
suspcious
sync-39-whatsnew
travis-3.5
travis-3.6
travis-macOS
type-comments
unixdeepfreeze
v3.8.4
whatsnew-617
windeepfreeze
zhangyangyu-patch-1
zooba-patch-1
github.com: python/cpython.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
Lib
/
test
/
test_dataclasses.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
gh-104035: Do not ignore user-defined `__{get,set}state__` in slotted frozen ...
Nikita Sobolev
2023-05-01
1
-0
/
+68
*
gh-104015: Fix direct invocation of `test_dataclasses` (#104017)
Nikita Sobolev
2023-04-30
1
-1
/
+1
*
GH-103805: Lib test f541 linting issue fix (#103812)
Rodolfo M. Pereira
2023-04-24
1
-2
/
+2
*
gh-103449: Fix a bug in dataclass docstring generation (#103454)
Nikita Sobolev
2023-04-17
1
-0
/
+13
*
gh-98886: Fix issues with dataclass fields with special underscore names (#10...
Shantanu
2023-03-25
1
-0
/
+17
*
gh-102947: Improve traceback when calling `fields()` on a non-dataclass (#102...
Alex Waygood
2023-03-23
1
-0
/
+12
*
gh-102069: Fix `__weakref__` descriptor generation for custom dataclasses (#1...
Nikita Sobolev
2023-03-13
1
-4
/
+11
*
gh-98169 dataclasses.astuple support DefaultDict (#98170)
T
2023-03-13
1
-4
/
+17
*
gh-102103: add `module` argument to `dataclasses.make_dataclass` (#102104)
Nikita Sobolev
2023-03-10
1
-0
/
+39
*
gh-102578: Optimise setting and deleting mutable attributes on non-dataclass ...
Xuehai Pan
2023-03-10
1
-0
/
+44
*
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-05
1
-0
/
+18
*
gh-98284: better error message for undefined abstractmethod (#97971)
Kaushik Kulkarni
2022-11-05
1
-1
/
+1
*
gh-96151: Use a private name for passing builtins to dataclass. This now allo...
Shantanu
2022-10-31
1
-0
/
+8
*
bpo-35540 dataclasses.asdict now supports defaultdict fields (gh-32056)
Tiger
2022-10-06
1
-2
/
+19
*
gh-96142: add missing params to `dataclass._DataclassParams` (gh-96382)
Nikita Sobolev
2022-10-04
1
-0
/
+26
*
Fix typo in test_dataclasses.py (gh-95735)
da-woods
2022-08-06
1
-2
/
+2
*
gh-91330: Tests and docs for dataclass descriptor-typed fields (GH-94424)
Erik De Bonte
2022-07-05
1
-0
/
+109
*
GH-93521: For dataclasses, filter out `__weakref__` slot if present in bases ...
Bluenix
2022-06-07
1
-0
/
+48
*
gh-91578: improved error message when trying to instantiate an abstract class...
ravi140222
2022-05-12
1
-1
/
+1
*
Add weakref_slot to dataclass decorator, to allow instances with slots to be ...
Eric V. Smith
2022-05-02
1
-0
/
+72
*
bpo-46382 dataclass(slots=True) now takes inherited slots into account (GH-31...
Arie Bovenberg
2022-03-19
1
-8
/
+43
*
bpo-46757: Add a test to verify dataclass's __post_init__ isn't being automat...
Eric V. Smith
2022-02-23
1
-0
/
+59
*
bpo-44674: Use unhashability as a proxy for mutability for default dataclass ...
Eric V. Smith
2021-12-11
1
-0
/
+26
*
bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of types.G...
Serhiy Storchaka
2021-12-05
1
-0
/
+12
*
bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (G...
Serhiy Storchaka
2021-12-05
1
-0
/
+4
*
bpo-44649: Fix dataclasses(slots=True) with a field with a default, but init=...
Eric V. Smith
2021-11-22
1
-0
/
+22
*
Added kw_only parameter to make_dataclasses. (GH-29679)
Eric V. Smith
2021-11-20
1
-0
/
+11
*
bpo-45566: `test_frozen_pickle` checks all `pickle` protocols (GH-29150)
Nikita Sobolev
2021-10-24
1
-4
/
+17
*
Fix dataclassses spelling (GH-28837)
Landon Yarrington
2021-10-09
1
-1
/
+1
*
Fix typos in the Lib directory (GH-28775)
Christian Clauss
2021-10-06
1
-1
/
+1
*
bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-2...
Yurii Karabas
2021-09-02
1
-1
/
+21
*
bpo-44015: dataclasses should allow KW_ONLY to be specified only once per cla...
Eric V. Smith
2021-05-03
1
-0
/
+77
*
If using a frozen class with slots, add __getstate__ and __setstate__ to set ...
Eric V. Smith
2021-05-01
1
-0
/
+13
*
bpo-42269: Add slots parameter to dataclass decorator (GH-24171)
Yurii Karabas
2021-04-30
1
-0
/
+53
*
Add additional keyword-only tests. (GH-25633)
Eric V. Smith
2021-04-26
1
-1
/
+29
*
Add keyword-only fields to dataclasses. (GH=25608)
Eric V. Smith
2021-04-25
1
-0
/
+159
*
bpo-38605: Revert making 'from __future__ import annotations' the default (GH...
Pablo Galindo
2021-04-21
1
-29
/
+48
*
bpo-43764: Add match_args=False parameter to dataclass decorator and to make_...
Eric V. Smith
2021-04-10
1
-0
/
+41
*
bpo-43764: Fix `__match_args__` generation logic for dataclasses (GH-25284)
Brandt Bucher
2021-04-08
1
-0
/
+8
*
bpo-43176: Fix processing of empty dataclasses (GH-24484)
Iurii Kemaev
2021-04-05
1
-0
/
+24
*
bpo-42128: __match_args__ can't be a list anymore (GH-25203)
Brandt Bucher
2021-04-05
1
-1
/
+1
*
bpo-36470: Allow dataclasses.replace() to handle InitVars with default values...
Zackery Spytz
2021-04-05
1
-0
/
+18
*
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)
Brandt Bucher
2021-02-26
1
-0
/
+16
*
bpo-41747: Ensure all dataclass methods uses their parents' qualname (GH-22155)
Batuhan Taskaya
2020-10-21
1
-0
/
+24
*
bpo-38605: Make 'from __future__ import annotations' the default (GH-20434)
Batuhan Taskaya
2020-10-06
1
-49
/
+30
*
bpo-41905: Add abc.update_abstractmethods() (GH-22485)
Ben Avrahami
2020-10-06
1
-0
/
+37
*
bpo-40389: Improve repr of typing.Optional (#19714)
Vlad Serebrennikov
2020-04-29
1
-1
/
+1
*
Add test cases for dataclasses. (#17909)
Karthikeyan Singaravelan
2020-01-09
1
-0
/
+19
*
bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518)
Yury Selivanov
2019-12-09
1
-0
/
+12
[next]