ipython exits when entering non-ASCII characters

Bug #274488 reported by Ilan Schnell
2
Affects Status Importance Assigned to Milestone
IPython
Incomplete
Undecided
Unassigned

Bug Description

The bug is maybe related to bug #264587,
On OSX 10.4, when I start ipython-0.9.1 and I hit ALT +,
which enters some non-ASCII characters and hit return.
I get:
----------------------------------------
In [1]: \342\211\240
WARNING:
********
You or a %run:ed script called sys.stdin.close() or sys.stdout.close()!
Exiting IPython!
---------------------------------------
The CPython behaves differently:
>>> \342\211\240
  File "<stdin>", line 1
    ≠
    ^
SyntaxError: invalid syntax

Revision history for this message
Brian Granger (ellisonbg) wrote :

I can't confirm this on OS X 10.5, Python 2.5. Can anyone else confirm this one?

Changed in ipython:
status: New → Incomplete
Revision history for this message
Roman Alexeev (letit-bee) wrote :

I have the exact same behaviour on OSX 10.6 with python 2.6 фтв ipython 0.10 in virtualenv.
---------

(pyl)bee@i20 ~ $ ipython
Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51)
Type "copyright", "credits" or "license" for more information.

IPython 0.10.1 -- 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]: фыва
WARNING:
********
You or a %run:ed script called sys.stdin.close() or sys.stdout.close()!
Exiting IPython!

Revision history for this message
Fernando Perez (fdo.perez) wrote :

(ipython-0.10.2)amirbar[bin]> ip
Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39)
Type "copyright", "credits" or "license" for more information.

IPython 0.10.2 -- 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]: фыва
------------------------------------------------------------
   File "<ipython console>", line 1
     фыва
     ^
SyntaxError: invalid syntax

I can't confirm it in IPython 0.10.2 nor in 0.11. But this bug tracker is closed, all IPython bugs are now tracked at

https://github.com/ipython/ipython/issues

so if you continue seeing this with the 0.11 series (currently git HEAD), please let us know at github.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.