[issue12412] non defined representation for pwd.struct_passwd

R. David Murray report at bugs.python.org
Sat Jun 25 18:15:58 CEST 2011

R. David Murray <rdmurray at bitdance.com> added the comment:

Looks like the difference between a regular tuple and a named tuple.  The correct test is to access the members using the names, and the test suite currently does this.  The repr shouldn't, I think, be required to be identical.

On the other hand, if pypy is implementing named tuples and the repr doesn't include the names, perhaps there is a missing test in the tests of named tuples.

nosy: +r.david.murray

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list