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-May/119454.html below:

[Python-Dev] sys.implementation

[Python-Dev] sys.implementation [Python-Dev] sys.implementationEric Snow ericsnowcurrently at gmail.com
Sat May 12 19:57:39 CEST 2012
On Sat, May 12, 2012 at 8:35 AM, Barry Warsaw <barry at python.org> wrote:
> I'm okay with dropping immutability for sys.implementation, but I still think
> attribute access is a more useful model.  You can easily support both getattr
> and getitem with a class instance, so I think that's the way to go.
>
> (FWIW, immutability would also be easy to support with an instance.)

Agreed on both counts.  The precedent in sys and elsewhere favors
attribute access for a fixed namespace like sys.implementation.  Also,
item access (a la mappings) implies a more volatile namespace.

-eric
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