##// END OF EJS Templates
Fix bug where 'if 1:' was being added to comment-only code....
Fix bug where 'if 1:' was being added to comment-only code. Found by trying to paste and run this example: http://matplotlib.sourceforge.net/examples/api/collections_demo.html that happened to have indented, comment-only lines of the type: code() # comment code() In these cases, we should *not* try to prepend 'if 1:' to the user's code since that comment by itself isn't executable, and it will cause a compiler IndentationError.

File last commit:

r1261:a818e11a merge
r2979:63d38bdf
Show More
api_changes.txt
34 lines | 860 B | text/plain | TextLexer
=============
API Changes
=============
.. contents::
..
1 Purpose
2 Version 0.8.2
Purpose
=======
This file documents backwards-incompatible changes to the IPython API,
including user-visible changes of commands, magics, etc.
It should be filled in reverse chronological order, with one section for each
release (which means changes since the previous release).
Version 0.8.2
=============
Changes made since version 0.8.1 was released:
* %pushd/%popd behave differently; now "pushd /foo" pushes CURRENT directory
and jumps to /foo. The current behaviour is closer to the documented
behaviour, and should not trip anyone.
Version 0.8.3
=============
* pydb is now disabled by default (due to %run -d problems). You can enable
it by passing -pydb command line argument to IPython. Note that setting
it in config file won't work.