Re: [Python-Dev] Procedure for adding new public C API

2018-05-21 Thread Masayuki YAMAMOTO
Thanks Serhiy, I missed adding PyThread_tss_* to Doc/data/refcounts.dat. I opened a PR to fix it. https://github.com/python/cpython/pull/7038 Regards, Masayuki 2018-05-21 21:41 GMT+09:00 Serhiy Storchaka : > Please don't forgot to perform the following steps when add a new

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

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

2017-09-08 Thread Masayuki YAMAMOTO
sue status is still open yet. Is there a chance for rollback? Masayuki 2017-09-08 23:37 GMT+09:00 Nick Coghlan <ncogh...@gmail.com>: > On 8 September 2017 at 00:30, Masayuki YAMAMOTO > <ma3yuki.8mam...@gmail.com> wrote: > > Hi folks, > > > > I submit PEP 539

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

2017-09-08 Thread Masayuki YAMAMOTO
PEP: 539 Title: A New C-API for Thread-Local Storage in CPython Version: $Revision$ Last-Modified: $Date$ Author: Erik M. Bray, Masayuki Yamamoto BDFL-Delegate: Nick Coghlan Status: Draft Type: Informational Content-Type: text/x-rst Created: 20-Dec-2016 Post

Re: [Python-Dev] PEP 539 (second round): A new C API for Thread-Local Storage in CPython

2017-09-01 Thread Masayuki YAMAMOTO
2017-08-31 19:40 GMT+09:00 Erik Bray : > [...] > the changes is nice. I just have a few minor changes to suggest > (typos and such) that I'll make in a pull request. > Steve Dower points out which avoids the use of bool in header declarations [*]. I'd change

Re: [Python-Dev] PEP 539 (second round): A new C API for Thread-Local Storage in CPython

2017-08-31 Thread Masayuki YAMAMOTO
Because I couldn't go to there by myself, I'm really grateful to you and your first draft. Masayuki 2017-08-31 19:40 GMT+09:00 Erik Bray <erik.m.b...@gmail.com>: > On Thu, Aug 31, 2017 at 10:16 AM, Masayuki YAMAMOTO > <ma3yuki.8mam...@gmail.com> wrote: > > Hi python

Re: [Python-Dev] PEP 539 (second round): A new C API for Thread-Local Storage in CPython

2017-08-31 Thread Masayuki YAMAMOTO
2017-08-31 18:51 GMT+09:00 Nick Coghlan : > [...] > I think that's just a bug in the startup refactoring - we don't > currently test the "Py_Initialize()/Py_Initialize()/Py_Finalize()" > sequence anywhere, and I'd missed that it's explicitly documented as > being permitted.

[Python-Dev] PEP 539 (second round): A new C API for Thread-Local Storage in CPython

2017-08-31 Thread Masayuki YAMAMOTO
reference implementation (work in progress): https://github.com/python/cpython/pull/1362 PEP: 539 Title: A New C-API for Thread-Local Storage in CPython Version: $Revision$ Last-Modified: $Date$ Author: Erik M. Bray, Masayuki Yamamoto BDFL-Delegate: Nick Cogh

[Python-Dev] Remove own implementation for thread-local storage

2017-07-03 Thread Masayuki YAMAMOTO
Hi, python-dev. I'd propose removing code which I think out-of-date. CPython has provided the own implementation for thread-local storage (TLS) on Python/thread.c, it's used in the case which a platform has not supplied native TLS. However, currently all supported platforms (NT and pthreads)

[Python-Dev] Removing Python/thread_foobar.h

2017-05-03 Thread Masayuki YAMAMOTO
Hi, python-dev. I'm reading the part of threading feature to replace TLS API with TSS API (PEP 539). Python/thread_foobar.h hasn't be included to Python/thread.c (its include directive is comment out) and anywhere. This looks like dead code and we want to delete it, does anyone have a reason we