[Python-Dev] bug or a feature? (original) (raw)
Frank Wierzbicki fwierzbicki at gmail.com
Fri Jun 13 05:19:15 CEST 2008
- Previous message: [Python-Dev] bug or a feature?
- Next message: [Python-Dev] bug or a feature?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Jun 11, 2008 at 5:50 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
Greg Ewing wrote: Implementations are also permitted to restrict namespace dictionaries to only accept string keys (I believe Jython does this for performance reasons - CPython just optimised the hell out of normal dictionaries that happen to only contain string keys instead). Jython's current version (2.2) and back did indeed restrict these dictionaries to accept string keys only, but future versions will allow non-string keys (the trunk version already does). Many frameworks use non-string keys in these dictionaries.
-Frank
- Previous message: [Python-Dev] bug or a feature?
- Next message: [Python-Dev] bug or a feature?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]