[IPython-dev] Better reporting for non-ascii home dir names

Ville M. Vainio vivainio@gmail....
Mon Apr 30 07:27:54 CDT 2007


On 4/30/07, Stefan van der Walt <stefan@sun.ac.za> wrote:

> > Here's a snippit that "works" for me:
> >
> > [D:\ipython]|25> p = pickleshare.Pic
> > pickleshare.PickleShareDB   pickleshare.PickleShareLink
> > [D:\ipython]|25> p = pickleshare.PickleShareDB('/tmp/äqäqäq')
>
> It works for me under r2235.  First I thought it was a Python 2.5 vs
> 2.4 thing, but seems to run fine under 2.4 as well.  Isn't there a
> workaround, such as encoding the string properly, that doesn't limit
> the functionality?

Well, now at least the user is informed how to get around the problem.

I'm afraid I don't know enough about unicode to guess how the string
should be decoded to unicode properly. If it was easy, it would
probably have been done in the path.py module.

I wouldn't mind enforcing 7 bit file & directory names myself.


-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-dev mailing list