On 12/15/2017 5:56 AM, Steve Holden wrote: > On Mon, Dec 11, 2017 at 5:10 PM, Chris Barker - NOAA Federal > <chris.barker at noaa.gov <mailto:chris.barker at noaa.gov>> wrote: ... >> However, typing is not currently imported by dataclasses.py. > > And there you have an actual reason besides my uneasiness :-) > > - CHB > > hmm... [Agreed with Antoine on the MUA and quoting being confusing.] The only reason typing isn't imported is performance. I hope that once PEP 560 is complete this will no longer be an issue, and dataclasses will always import typing. But of course typing will still not be needed for most uses of @dataclass or make_dataclass(). This is explained in the PEP. Eric.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4