[Python-Dev] Non-string keys in type dict (original) (raw)
Benjamin Peterson benjamin at python.org
Thu Mar 8 02:42:31 CET 2012
- Previous message: [Python-Dev] Non-string keys in type dict
- Next message: [Python-Dev] Non-string keys in type dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2012/3/7 Victor Stinner <victor.stinner at gmail.com>:
So my question is: what is the use case of such dict? Why do we still support it?
Probably a side-effect of implementation.
Can't we simply raise an error if the dict contains non-string keys?
Sounds okay to me.
-- Regards, Benjamin
- Previous message: [Python-Dev] Non-string keys in type dict
- Next message: [Python-Dev] Non-string keys in type dict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]