New submission from Matt Joiner <anacro...@gmail.com>:

_threading.RLock is optional, and threading._CRLock is set to None if it isn't 
available. If this happens, the test_threading unittests crash.

Some implementations don't provide _thread.RLock.

Patch attached.

----------
components: Library (Lib)
files: skip-crlock-tests-if-not-implemented.patch
keywords: patch
messages: 152151
nosy: anacrolix
priority: normal
severity: normal
status: open
title: threading._CRLock should not be tested if _thread.RLock isn't implemented
type: behavior
versions: Python 3.3
Added file: 
http://bugs.python.org/file24345/skip-crlock-tests-if-not-implemented.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13894>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to