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