Nadeem Vawda <nadeem.va...@gmail.com> added the comment: As Georg suggested, it would be better to use dummy_threading.RLock, rather than providing our own implementation.
The test in the patch fails when I try to run it on a no-thread build. support.import_fresh_module seems to treat the absence of the threading module as an error, and returns None instead of allowing the bz2 module to recover from the ImportError. We needn't worry about 3.2. It still uses the old all-C implementation, which has its threading dependencies protected by #ifdefs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13809> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com