[issue11455] issue a warning when populating a CPython type dict with non-string keys

Daniel Stutzbach report at bugs.python.org
Thu Mar 10 16:54:30 CET 2011


Daniel Stutzbach <stutzbach at google.com> added the comment:

For what it's worth, I believe this could be implemented easily by calling _PyDict_HasOnlyStringKeys at the end of the class creation process.

----------
nosy: +stutzbach

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


More information about the Python-bugs-list mailing list