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/2002-October/029767.html below:

[Python-Dev] Patch to use dict subclasses in eval(), exec

[Python-Dev] Patch to use dict subclasses in eval(), execGuido van Rossum guido@python.org
Tue, 29 Oct 2002 07:43:50 -0500
> I wonder how many reasonable real-life scenarios actually exist for
> this feature?
> 
> My personal use would be for COM, to implement case-insensitive
> namespaces.  In some cases, case-insensitivity is actually part of
> the implementation specification, and I can imagine other scenarios
> where case insensitive namespaces are "reasonable" even in the face
> of Python's excellent decision not to go this route.
> 
> I wonder is this is actually the root of many requests to see this
> feature implemented?  If not, it would be interesting to see what
> the competing desires really are.

Excellent observation.  Perhaps the people who want this can get
together and write a PEP that explains the motivation and why the
alternatives don't work?  (E.g. when you need case-insensitive
variable names, perhaps it's just as easy to preprocess the source
code?)

--Guido van Rossum (home page: http://www.python.org/~guido/)



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