This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Test suite emits many DeprecationWarnings about sys.exc_clear() when -3 is enabled
Type: behavior Stage: resolved
Components: Tests Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, ZackerySpytz, amaury.forgeotdarc, jyasskin, pitrou, serhiy.storchaka, xtreak
Priority: normal Keywords:

Created on 2015-05-31 18:51 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg244553 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-05-31 18:51
$ ./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)>>
msg366246 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2020-04-12 13:18
Python 2 is EOL.
msg370483 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2020-05-31 15:20
Python 2.7 is no longer supported.
History
Date User Action Args
2022-04-11 14:58:17adminsetgithub: 68529
2020-05-31 15:20:17serhiy.storchakasetstatus: open -> closed
resolution: out of date
messages: + msg370483

stage: resolved
2020-04-12 13:18:55ZackerySpytzsetnosy: + ZackerySpytz
messages: + msg366246
2018-09-22 16:23:15xtreaksetnosy: + xtreak
2015-06-01 18:09:30Arfreversetnosy: + Arfrever
2015-05-31 18:51:30serhiy.storchakacreate