[ python-Bugs-1009263 ] non-ascii readline input crashes python

SourceForge.net noreply at sourceforge.net
Sat Aug 14 20:19:09 CEST 2004


Bugs item #1009263, was opened at 2004-08-14 18:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1009263&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: paul rubin (phr)
Assigned to: Nobody/Anonymous (nobody)
Summary: non-ascii readline input crashes python

Initial Comment:
Start Python 2.3.4 on Linux command line:

$ python
Python 2.3.4 (#1, Jul 24 2004, 19:45:58)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>>

Enter the string "2×3" (2 times 3, the symbol between 2
and 3 is a multiplication sign, I think Unicode c397 or
maybe 97c3 if I have it byte swapped) and hit return. 
Python reports a syntax error.  Hit Ctrl-P to edit the
line with readline.  Use ctrl-D to delete the first
character of the input line, and Python instantly
crashes with a seg fault.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1009263&group_id=5470


More information about the Python-bugs-list mailing list