##// END OF EJS Templates
Merge pull request #9955 from takluyver/i9954...
Merge pull request #9955 from takluyver/i9954 Catch UnicodeDecodeError from file lying about its encoding

File last commit:

r22618:12e05563
r22881:45f490a9 merge
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
]