Remove tuple auto unpack in function definition
This is for 2to3 compatibility., and also deactivate the application of
the corresponding 2to3 fix when using python3 and setup.py.
python 2 and 3 compatibility without 2to3
apply some fixes :
- apply (deactivated in setup.py now)
- repr (deactivated in setup.py now)
- print (only in modules with print >>)
- raise (partially)
don't touch deathrow and quarantine.
Skip notebook 'static' dir in test suite.
There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).
Closes#2075
There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).
brutally replace all `exeption <type>, <name>:` by
`exception <type> as <name> :`
`exception <type>, <type> :` should not be present anywhere in the code
anymore, or should be present with explicit tuple as
`exception (<type>, <type>)`
this improve the current css of the print page and add css to the
classical notebook with print as target to get a better print view ant
the ability to directly print a notebook without going through the print
view
example notebooks
Specific content changes from #1570:
* no longer reference left panel
* no longer suggest starting the notebook with `--pylab`, instead favoring `%pylab inline`
* use IPython.display imports
closes#1570
Increase auto-scroll threshold to 100 lines.
It is more important that we not be surprising or annoying than we auto-hide moderately long output. The manual toggle is always available for intermediate outputs.
Also explicitly ignore shift keydown in our keycode handler, which prevented the sequence:
<ctrl> M <shift> o
from being recognized, as the shift keypress would reset the control-key state.
For Windows installation, remove `ipython-qtconsole` gui-script and simply use `ipython qtconsole`.
QtConsole entry in the Windows Start Menu is updated appropriately.
Closes#1516.