<div class="gmail_quote">On 8 September 2010 07:41,  <span dir="ltr"><<a href="mailto:ipython-dev-request@scipy.org">ipython-dev-request@scipy.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div id=":5k">In python3, unicode *source* is valid, so eventually we'll have to<br>
deal with it, like it or not.</div></blockquote></div><br>For information, in making it run on python3, I stripped out one piece of code that checks if identifiers are pure ascii:<br><a href="http://github.com/takowl/ipython/commit/0636636f5da692f198f3d4cbf3f04fc4e2b131bf#diff-2">http://github.com/takowl/ipython/commit/0636636f5da692f198f3d4cbf3f04fc4e2b131bf#diff-2</a><br>

<br>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 design.<br><br>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.<br>

<br>Thomas<br>