##// END OF EJS Templates
Remove some of the cast_unicode as we can prove they are not bytes....
Remove some of the cast_unicode as we can prove they are not bytes. 1) inspect getdoc impementation return None if docs is not str. 2) if a value is split, joined, or concatenated with str, it must be str, or we woudl get a type error.

File last commit:

r22618:12e05563
r25333:f984edc3
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
]