[issue13793] hasattr, delattr, getattr fail with unnormalized names
Jim Jewett
report at bugs.python.org
Mon Jan 16 21:14:14 CET 2012
Jim Jewett <jimjjewett at gmail.com> added the comment:
Why is normalization in getattr unacceptable? I won't pretend to *like* it, but the difference between two canonically equal strings really is (by definition) just a representational issue.
Would it be OK to normalize in object's own implementation, so that custom classes could avoid the normalization, but it would happen by default?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13793>
_______________________________________
More information about the Python-bugs-list
mailing list