gevent-on-pypy/pypycore — pull request #3 by nanonyme (2013-05-12 07:49:27+00:00)
Title: Refcount in thread-locals

Simplistic solution is to add a new namespace tls with threading.local and put _refcount there.Are there any related tests that this commit needs to pass? Does not work on implementations that do not have _threading_local but threading documentation does not mention it would be platform-independent.
http://docs.python.org/2/library/threading.html#threading.local