##// END OF EJS Templates
Important changes to simplify traitlets....
Important changes to simplify traitlets. Some aspect of traitlets were a bit too magical for us. Thus, we have simplified certain things to make it more straitforward: * Default values are always validated, but now, this is done when the HasTraitlets.__new__ is called. We used to do this the first time __get__ was called. * The klass argument of Type and Instance traitlets must be a class. Unlike enthought.traits, we are no longer accepting class names as str or instances. * The args and kw arguments to Instance.__init__ are now handled in better manner, but that is quite different from enthought.traits. * More tests of edge cases.

File last commit:

r2064:a2e46ebb
r2182:4cfda302
Show More
ipy_stock_completers.py
17 lines | 529 B | text/x-python | PythonLexer
/ IPython / extensions / ipy_stock_completers.py
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 """ Install various IPython completers
vivainio
merge all from 0.7.3 branch to trunk
r503
vivainio
create app_completes, move non-core completers there, install stock completers as default, ipy_signals in sh profile
r681 IPython extension that installs completers related to core ipython behaviour.
vivainio
merge all from 0.7.3 branch to trunk
r503
Brian Granger
Renaming Extensions=>extensions in code and imports.
r2064 The actual implementations are in extensions/ipy_completers.py
vivainio
merge all from 0.7.3 branch to trunk
r503
"""
Brian Granger
ipapi.py => core/ipapi.py and imports updated.
r2027 from IPython.core import ipapi
vivainio
merge all from 0.7.3 branch to trunk
r503
Brian Granger
ipapi.py => core/ipapi.py and imports updated.
r2027 ip = ipapi.get()
vivainio
merge all from 0.7.3 branch to trunk
r503
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 from ipy_completers import *
vivainio
merge all from 0.7.3 branch to trunk
r503
ip.set_hook('complete_command', module_completer, str_key = 'import')
ip.set_hook('complete_command', module_completer, str_key = 'from')
ip.set_hook('complete_command', runlistpy, str_key = '%run')
ip.set_hook('complete_command', cd_completer, str_key = '%cd')