[issue13871] namedtuple does not normalize field names when sanitizing

Raymond Hettinger report at bugs.python.org
Thu Jan 26 08:48:56 CET 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The SyntaxError is fine.  The dupcheck isn't about sanitization anyway; rather, it was part of a suite of tests designed to add a more helpful error messages than the usual ones you get if you had rolled a class by hand.  I would close as "invalid" but want to think it over for a while -- we'll see how all your other normalization "bugs" resolve.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13871>
_______________________________________


More information about the Python-bugs-list mailing list