Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Marking as closed for the reasons listed above. Other thoughts: * In the class form with types.NamedTuple, no error is raised. * In the function form with collections.namedtuple, the various TypeErrors and ValueErrors are just courtesy checks intended to provide slightly nicer error messages when possible. It wasn't the goal to upstage all possible syntax errors. ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33880> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com