On 11/6/2017 1:40 PM, Barry Warsaw wrote: > On Nov 6, 2017, at 08:02, Victor Stinner <victor.stinner at gmail.com> wrote: >> >> While discussions on the typing module are still hot, what do you >> think of allowing annotations in the standard libraries, but limited >> to a few basic types: > > I’m still -1 on adding annotations to the stdlib, despite their increasing use out in the wild, for the reasons that Steve and David have pointed out. (Let’s let Eric be the one that breaks the mold with data classes. Then we can blame him!) Thanks for volunteering me! Note that dataclasses completely ignores the annotations (they could all be None, for all I care), except for the one specific case of ClassVar. And that's still up for discussion, see https://github.com/ericvsmith/dataclasses/issues/61. 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