Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Exhaustively test dataclass hashing when no hash= value is provided. This is ↵ | Eric V. Smith | 2018-02-23 | 1 | -0/+73 | |
| | | | | in anticipation of changing how non-default hashing is handled. (#5834) | |||||
* | Fix trivial typo in test_dataclasses.py. (GH-5398) | Eric V. Smith | 2018-01-29 | 1 | -1/+1 | |
| | ||||||
* | bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366) | Eric V. Smith | 2018-01-28 | 1 | -212/+452 | |
| | | | Class authors no longer need to specify repr=False if they want to provide a custom __repr__ for dataclasses. The same thing applies for the other dunder methods that the dataclass decorator adds. If dataclass finds that a dunder methods is defined in the class, it will not overwrite it. | |||||
* | bpo-32279: Add additional params to make_dataclass(), pass through to ↵ | Eric V. Smith | 2018-01-06 | 1 | -0/+17 | |
| | | | | dataclass(). (gh-5117) | |||||
* | bpo-32278: Allow dataclasses.make_dataclass() to omit type information. ↵ | Eric V. Smith | 2018-01-06 | 1 | -0/+14 | |
| | | | | (gh-5115) | |||||
* | bpo-32499: Add dataclasses.is_dataclass(obj), which returns True if obj is a ↵ | Eric V. Smith | 2018-01-06 | 1 | -16/+21 | |
| | | | | dataclass or an instance of one. (#5113) | |||||
* | bpo-32427: Expose dataclasses.MISSING object. (#5045) | Eric V. Smith | 2017-12-29 | 1 | -3/+49 | |
| | ||||||
* | bpo-32259: Make a TypeError message when unpack non-iterable more specific. ↵ | Serhiy Storchaka | 2017-12-26 | 1 | -1/+1 | |
| | | | | (#4903) | |||||
* | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -1/+1 | |
| | | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py | |||||
* | Use raw strings for regex to avoid invalid escape sequences. (GH-4741) | Eric V. Smith | 2017-12-06 | 1 | -2/+2 | |
| | ||||||
* | bpo-32214: Implement PEP 557: Data Classes (#4704) | Eric V. Smith | 2017-12-04 | 1 | -0/+2076 | |