##// END OF EJS Templates
Handle changed exception type from inspect.getabsfile (bpo-44648)...
Handle changed exception type from inspect.getabsfile (bpo-44648) https://bugs.python.org/issue44648 (Python 3.10+)

File last commit:

r22618:12e05563
r27058:fc57ec91
Show More
bad_all.py
14 lines | 206 B | text/x-python | PythonLexer
Thomas Kluyver
Handle bad __all__ for module completions...
r22618 """Module with bad __all__
To test https://github.com/ipython/ipython/issues/9678
"""
def evil():
pass
def puppies():
pass
__all__ = [evil, # Bad
'puppies', # Good
]