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

Michael Foord report at bugs.python.org
Wed Mar 9 21:53:48 CET 2011


New submission from Michael Foord <michael at voidspace.org.uk>:

It is valid in CPython to create a new type with non-string keys in the dict. This is a problem for other implementations (neither pypy nor jython support it).

This should raise a warning.

----------
components: Interpreter Core
messages: 130462
nosy: michael.foord
priority: normal
severity: normal
status: open
title: issue a warning when populating a CPython type dict with non-string keys
type: behavior
versions: Python 3.3

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


More information about the Python-bugs-list mailing list