fixes issue #1522237, bad init check in _threading_local
2 files changed