[issue11455] issue a warning when populating a CPython type dict with non-string keys
Daniel Urban
report at bugs.python.org
Thu Mar 24 22:24:33 CET 2011
Daniel Urban <urban.dani+py at gmail.com> added the comment:
> I would prefer an explicit PyExc_RuntimeWarning to not have to read the
> source of PyErr_WarnFormat() or its documentation.
The patch at issue11470 adds a new warning type, CompatibilityWarning. I think probably that should be used here too.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11455>
_______________________________________
More information about the Python-bugs-list
mailing list