New submission from Serhiy Storchaka:

$ ./python -3 -We -bb -m test.regrtest -uall -W test___all__ test_threading
[1/2] test___all__
[2/2] test_threading
Unhandled exception in thread started by <bound method Thread.__bootstrap of 
<Thread(Thread-1, stopped -1326462144)>>
Traceback (most recent call last):
  File "/home/serhiy/py/cpython2.7/Lib/threading.py", line 783, in __bootstrap
    self.__bootstrap_inner()
  File "/home/serhiy/py/cpython2.7/Lib/threading.py", line 855, in 
__bootstrap_inner
Unhandled exception in thread started by <bound method Thread.__bootstrap of 
<Thread(Thread-2, stopped -1376818368)>>    
Traceback (most recent call last):
self.__exc_clear()
DeprecationWarning: sys.exc_clear() not supported in 3.x; use except clauses
  File "/home/serhiy/py/cpython2.7/Lib/threading.py", line 783, in __bootstrap
    Unhandled exception in thread started by <bound method Thread.__bootstrap 
of <Thread(Thread-3, stopped -1309676736)>>
Traceback (most recent call last):
  File "/home/serhiy/py/cpython2.7/Lib/threading.py", line 783, in __bootstrap
    self.__bootstrap_inner()
  File "/home/serhiy/py/cpython2.7/Lib/threading.py", line 855, in 
__bootstrap_inner
self.__bootstrap_inner()
    self.__exc_clear()
DeprecationWarning: sys.exc_clear() not supported in 3.x; use except clauses
  File "/home/serhiy/py/cpython2.7/Lib/threading.py", line 855, in 
__bootstrap_inner
Unhandled exception in thread started by <bound method Thread.__bootstrap of 
<Thread(Thread-4, stopped -1326462144)>>

----------
components: Tests
messages: 244553
nosy: amaury.forgeotdarc, jyasskin, pitrou, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Test suite emits many DeprecationWarnings about sys.exc_clear() when -3 
is enabled
type: behavior
versions: Python 2.7

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

Reply via email to