##// END OF EJS Templates
Fix unintentional skipping of module level doctests...
Fix unintentional skipping of module level doctests Importing `skip_doctest` decorator unintentionally marks for skipping a module level doctest. It happens because doctests discovery only checks whether a variable with name `skip_doctest` is presented without checking the type. I have renamed the 'magic' variable name to `__skip_doctest__` to resolve the name clash, and also made the check actually depend on the variable content. The module level doctest in `core/debugger.py` was previously unintentionally skipped and now is disabled because it contains syntax/name errors.

File last commit:

r26640:38efac31
r26873:17153999
Show More
empty-hist-range.rst
19 lines | 662 B | text/x-rst | RstLexer

Empty History Ranges

A number of magics that take history ranges can now be used with an empty range. These magics are:

  • %save
  • %load
  • %pastebin
  • %pycat

Using them this way will make them take the history of the current session up to the point of the magic call (such that the magic itself will not be included).

Therefore it is now possible to save the whole history to a file using simple %save <filename>, load and edit it using %load (makes for a nice usage when followed with :kbd:`F2`), send it to dpaste.org using %pastebin, or view the whole thing syntax-highlighted with a single %pycat.