Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Further notes for posterity:

* Anything written using collections.NamedTuple would instantly lose its 
backwards compatibility.  

* The casing of NamedTuple is more in line with the typing module:  List, 
Deque, NamedTuple and doesn't fit well with the deque, namedtuple, and ChainMap 
in the collections module. 

* Nothing in the collections module currently requires typing, but NamedTuple 
can only be used with typing.  

* We really don't want to increase import times for collections. This proposal 
would defeat the entire purpose of having moved _collections_abc to a separate 
module outside of the collections package.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37809>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to