Re: [Python-Dev] PEP 539 v3: A new C API for Thread-Local Storage in CPython

2017-09-09 Thread Erik Bray
On Fri, Sep 8, 2017 at 4:37 PM, Nick Coghlan wrote: > On 8 September 2017 at 00:30, Masayuki YAMAMOTO > wrote: >> Hi folks, >> >> I submit PEP 539 third draft for the finish. Thank you for all the advice >> and the help! > > Thank you Erik & Yamamoto-san for all of your work on this PEP! > > The

Re: [Python-Dev] PEP 539 v3: A new C API for Thread-Local Storage in CPython

2017-09-09 Thread Masayuki YAMAMOTO
2017-09-09 2:09 GMT+09:00 Nick Coghlan : > [...] > No, we genuinely want to consolidate that state into a single shared > location. However, the struct definition can be adjusted as needed as > part of the PEP 539 implementation (and we'll get Eric Snow to be one > of the PR reviewers). > I see. I

Re: [Python-Dev] PEP 539 v3: A new C API for Thread-Local Storage in CPython

2017-09-08 Thread Nick Coghlan
On 8 September 2017 at 08:58, Masayuki YAMAMOTO wrote: > Awesome! Thank you for accepting the PEP :) > The only thing missing is a reference implementation, I'm going to complete. > > BTW, one of TSS keys is going to move to the runtime struct by bpo-30860 > "Consolidate stateful C globals under a

Re: [Python-Dev] PEP 539 v3: A new C API for Thread-Local Storage in CPython

2017-09-08 Thread Masayuki YAMAMOTO
Awesome! Thank you for accepting the PEP :) The only thing missing is a reference implementation, I'm going to complete. BTW, one of TSS keys is going to move to the runtime struct by bpo-30860 "Consolidate stateful C globals under a single struct". Although that's PR was merged, the issue status

Re: [Python-Dev] PEP 539 v3: A new C API for Thread-Local Storage in CPython

2017-09-08 Thread Nick Coghlan
On 8 September 2017 at 00:30, Masayuki YAMAMOTO wrote: > Hi folks, > > I submit PEP 539 third draft for the finish. Thank you for all the advice > and the help! Thank you Erik & Yamamoto-san for all of your work on this PEP! The updates look good, so I'm happy to say as BDFL-Delegate that this p

[Python-Dev] PEP 539 v3: A new C API for Thread-Local Storage in CPython

2017-09-08 Thread Masayuki YAMAMOTO
Hi folks, I submit PEP 539 third draft for the finish. Thank you for all the advice and the help! Summary of technical changes: * Don't use `bool` types in the implementation, per discussion at python/cpython#1362 [1] * Update for removal of --without-threads Best regards, Masayuki [1]: https: