##// END OF EJS Templates
PERF: Don't compute unicode names until they're needed....
PERF: Don't compute unicode names until they're needed. This commit renames `IPCompleter._names` to ``_unicode_names`` and uses traitlets default machinery to defer its initialization until first access. Previously, initialization was deferred until the first call to fwd_unicode_names, but that was still called on the first completion attempt, which caused about a .5 second lag on the first completion attempt on my (relatively powerful) machine.

File last commit:

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