Author rhettinger
Recipients levkivskyi, rhettinger
Date 2019-03-16.20:10:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552767001.87.0.278808375525.issue36320@roundup.psfhosted.org>
In-reply-to
Content
Suggestions:
* Deprecate _field_types in favor of __annotations__.
* Convert __annotations__ from OrderedDict to a regular dict.

This will make the API cleaner. The first one will also remove a difference between NamedTuple and namedtuple().  The second is consistent with the decision to convert _asdict() to a regular dictionary since OrderedDict is no longer necessary or desirable. The second will also make the signature of __annotations__ match that from other classes.
History
Date User Action Args
2019-03-16 20:10:01rhettingersetrecipients: + rhettinger, levkivskyi
2019-03-16 20:10:01rhettingersetmessageid: <1552767001.87.0.278808375525.issue36320@roundup.psfhosted.org>
2019-03-16 20:10:01rhettingerlinkissue36320 messages
2019-03-16 20:10:01rhettingercreate