[issue13894] threading._CRLock should not be tested if _thread.RLock isn't implemented

2012-01-28 Thread Charles-François Natali
Charles-François Natali added the comment: Committed, thanks! -- components: +Tests -Library (Lib) nosy: +neologix resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2 ___ Python tracker

[issue13894] threading._CRLock should not be tested if _thread.RLock isn't implemented

2012-01-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5cf181df7bea by Charles-François Natali in branch '3.2': Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch http://hg.python.org/cpython/rev/5cf181df7bea New changeset 279b6d778663 by Charles-François Natali in branch '

[issue13894] threading._CRLock should not be tested if _thread.RLock isn't implemented

2012-01-28 Thread Matt Joiner
New submission from Matt Joiner : _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-c