New submission from Antoine Pitrou <pit...@free.fr>: This is a reworked reference implementation of _threading_local without the __del__ quirks. The _patch() ugliness is unfortunately still needed because of a doctest checking that derived __slots__ attributes aren't actually thread-local.
Note that users are unlikely to ever use this code in the real world, except perhaps with non-CPython implementations. ---------- components: Library (Lib) files: threadlocal.patch keywords: patch messages: 115170 nosy: gregory.p.smith, pitrou priority: normal severity: normal stage: patch review status: open title: Reworked threading.local reference implementation type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file18669/threadlocal.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9707> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com