You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support default values for collections.namedtuple? #4788
The short form of collections.namedtuple is very popular (ask @rhettinger) and I think we should make it as easy as possible to translate its use to typing.NamedTuple. So I think we should support it.
Activity
gvanrossum commentedon Mar 25, 2018
The short form of
collections.namedtupleis very popular (ask @rhettinger) and I think we should make it as easy as possible to translate its use totyping.NamedTuple. So I think we should support it.JukkaL commentedon Mar 26, 2018
I agree with @gvanrossum. Also, this doesn't look like a lot of work to implement. Tagging as high priority since 3.7 release date is pretty close.
JelleZijlstra commentedon Aug 3, 2018
Fixed by #5215.