##// END OF EJS Templates
Merge pull request #3162 from ivanov/output-stream-kwarg...
Merge pull request #3162 from ivanov/output-stream-kwarg adding stream kwarg to current.new_output This was missing, and made unnecessarily clunky to create output cells of stream type using the nbformat API. Before this commit, you had to do something like from IPython.nbformat import current as c output = c.new_output('stream', the_text) output['stream'] = 'stdout' after this commit from IPython.nbformat import current as c output = c.new_output('stream', the_text, stream='stdout') and actually, that stream= argument defaults to 'stdout' if it isn't given. I modified a test that will break if this functionality is ever removed.

File last commit:

r4872:34c10438
r10190:c3b429bd merge
Show More
ipy_system_conf.py
24 lines | 533 B | text/x-python | PythonLexer
vivainio
config changes
r130 """ System wide configuration file for IPython.
This will be imported by ipython for all users.
After this ipy_user_conf.py is imported, user specific configuration
Bernardo B. Marques
remove all trailling spaces
r4872 should reside there.
vivainio
config changes
r130
"""
Brian Granger
ipapi.py => core/ipapi.py and imports updated.
r2027 from IPython.core import ipapi
ip = ipapi.get()
vivainio
config changes
r130
# add system wide configuration information, import extensions etc. here.
Bernardo B. Marques
remove all trailling spaces
r4872 # nothing here is essential
vivainio
config changes
r130
import sys
vivainio
a = !ls, a = %alias now work (captures output or gets ret val for aliases)...
r151 import ext_rescapture # var = !ls and var = %magic
vivainio
Fix %upgrade, and suggest using it.
r226 import pspersistence # %store magic
vivainio
%clear magic added. fix CachedOutput.flush to flush data properly
r242 import clearcmd # %clear
vivainio
Fix %upgrade, and suggest using it.
r226
vivainio
create app_completes, move non-core completers there, install stock completers as default, ipy_signals in sh profile
r681 import ipy_stock_completers
vivainio
added %rep, factored %hist to maghistory, added examples/extension.py template for new magics
r689
Brian Granger
history.py => core/history.py and imports updated.py
r2025 ip.load('IPython.core.history')