You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
10 lines
342 B
Python
10 lines
342 B
Python
# 2.6.9 asynccore.py
|
|
# Bug in 2.6 was confusing AssertError with an assert statement
|
|
# There is special detect code to sort this out based on whether
|
|
# we have POP_JUMP_IF_TRUE (2.7) / JUMP_IF_TRUE, POP_TOP
|
|
|
|
def compact_traceback(tb):
|
|
if not tb: # Must have a traceback
|
|
raise AssertionError("traceback does not exist")
|
|
return
|