Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

crash on invalid print #135

poelzi opened this Issue Jul 17, 2010 · 3 comments


None yet
2 participants

poelzi commented Jul 17, 2010

This causes a crash here (i know it's invalid ;-))

'\x%x%x' %(0xda,0x07)


tomspur commented Jul 18, 2010

Hmm, I get no crash here...
$ ./ipython.py
/usr/lib/python2.6/site-packages/argparse.py:1576: DeprecationWarning: The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" instead
"""instead""", DeprecationWarning)
Python 2.6.4 (r264:75706, Jun 4 2010, 18:20:31)
Type "copyright", "credits" or "license" for more information.

IPython 0.11.alpha1.git -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: '\x%x%x' %(0xda,0x07)
ValueError: invalid \x escape

In [2]:

Or what crash do you get?
(I tested with the last commit: e12bada)


poelzi commented Jul 21, 2010

ok. i get it only on one machine and only with not trunk :-)


tomspur commented Jul 25, 2010

-> solution: invalid? ;-)

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment