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

2017年8月24日 07:11:13 -0700

On 2017年8月24日 09:52:47 -0400
Barry Warsaw <[email protected]> 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.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to