You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 09:22:40 +08:00
3.4 tryifelse bug
This commit is contained in:
11
test/simple_source/exception/06_tryifelse.py
Normal file
11
test/simple_source/exception/06_tryifelse.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# Bug from 3.4 in asyncore.py
|
||||
def accept():
|
||||
try:
|
||||
conn = 5
|
||||
except TypeError:
|
||||
return None
|
||||
except OSError as why:
|
||||
if why == 6:
|
||||
raise
|
||||
else:
|
||||
return conn
|
Reference in New Issue
Block a user