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-December/151240.html below:

[Python-Dev] PEP 567 -- Context Variables

[Python-Dev] PEP 567 -- Context Variables [Python-Dev] PEP 567 -- Context VariablesEric Snow ericsnowcurrently at gmail.com
Wed Dec 13 16:03:59 EST 2017
On Tue, Dec 12, 2017 at 4:49 PM, Victor Stinner
<victor.stinner at gmail.com> wrote:
>> The ``Token`` API exists to make the current proposal forward
>> compatible with :pep:`550`, in case there is demand to support
>> context variables in generators and asynchronous generators in the
>> future.
>
> Cool. I like the idea of starting with something simple in Python 3.7.
> Then extend it in Python 3.8 or later (support generators), if it
> becomes popular, once the first simple (but "incomplete", without
> generators) implementation is battle-tested.

+1 for starting with a basic API and building on that.

-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