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/2017-August/148918.html below:

[Python-Dev] Scope, not context? (was Re: PEP 550 v3 naming)

[Python-Dev] Scope, not context? (was Re: PEP 550 v3 naming)Antoine Pitrou solipsis at pitrou.net
Thu Aug 24 10:02:29 EDT 2017
On Thu, 24 Aug 2017 09:52:47 -0400
Barry Warsaw <barry at python.org> wrote:
> 
> To me, the functionality proposed in PEP 550 feels more like a "scope"
> than a "context".

I would call it "environment" myself, but that risks confusion with
environment variables.

Perhaps "dynamic environment" would remove the confusion.

> One other suggestion: maybe we shouldn't put these new functions in sys,
> but instead put them in their own module?  It feels analogous to the gc
> module; all those functions could have gone in sys since they query and
> effect the Python runtime system, but it makes more sense (and improves
> the naming) by putting them in their own module.  It also segregates the
> functionality so that sys doesn't become a catchall that overloads you
> when you're reading through the sys module documentation.

+1 from me.

Regards

Antoine.


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