[Python-Dev] PEP 550 v4
Eric Snow
ericsnowcurrently at gmail.com
Mon Aug 28 18:19:14 EDT 2017
On Sat, Aug 26, 2017 at 10:31 AM, Yury Selivanov
<yselivanov.ml at gmail.com> wrote:
> On Sat, Aug 26, 2017 at 9:33 AM, Sven R. Kunze <srkunze at mail.de> wrote:
> [..]
>> Why not the same interface as thread-local storage? This has been the
>> question which bothered me from the beginning of PEP550. I don't understand
>> what inventing a new way of access buys us here.
>
> This was covered at length in these threads:
>
> https://mail.python.org/pipermail/python-ideas/2017-August/046888.html
> https://mail.python.org/pipermail/python-ideas/2017-August/046889.html
FWIW, it would still be nice to have a simple replacement for the
following under PEP 550:
class Context(threading.local):
...
Transitioning from there to PEP 550 is non-trivial.
-eric
More information about the Python-Dev
mailing list