A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-March/117410.html below:

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

[Python-Dev] Non-string keys in type dict [Python-Dev] Non-string keys in type dictBenjamin Peterson benjamin at python.org
Thu Mar 8 02:42:31 CET 2012
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4