[IPython-dev] Pasting fix, unicode woes

Thomas Kluyver takowl at gmail.com
Wed Sep 8 05:24:04 EDT 2010

On 8 September 2010 07:41, <ipython-dev-request at scipy.org> wrote:

> In python3, unicode *source* is valid, so eventually we'll have to
> deal with it, like it or not.

For information, in making it run on python3, I stripped out one piece of
code that checks if identifiers are pure ascii:

This works, at least in my simple tests. Only script characters (not symbols
and punctuation) can be used as identifiers, but I imagine that this is by

I've just tested, and the python3 version can handle unicode filenames with
zero fuss (including tab completion), though I think this is down to Python
3 itself rather than anything I can take credit for.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20100908/dbe7e1f0/attachment.html>

More information about the IPython-dev mailing list