[Python-Dev] Non-string keys in type dict

fwierzbicki at gmail.com fwierzbicki at gmail.com
Thu Mar 8 18:20:52 CET 2012


On Wed, Mar 7, 2012 at 5:39 PM, Victor Stinner <victor.stinner at gmail.com> wrote:
> Hi,
>
> During the Language Summit 2011 (*), it was discussed that PyPy and
> Jython don't support non-string key in type dict. An issue was open to
> emit a warning on such dict, but the patch has not been commited yet.
It should be noted that Jython started supporting non-string dict keys
in version 2.5. IIRC this was done to get Django running, but in
general we decided to go with compatibility.

-Frank


More information about the Python-Dev mailing list