[issue10828] Cannot use nonascii utf8 in names of files imported from

2011-01-08 Thread ingemar
ingemar added the comment: Thanks Victor for the explanation. Py3 is still far better than Py2, letting me use utf-8 as much as it does. I will be able to live with this bug being known. I can understand though, that people in some places of the world may feel more concerned

[issue10828] Cannot use nonascii utf8 in names of files imported from

2011-01-08 Thread ingemar
ingemar added the comment: python.exe -c "import locale; print('ANSI code page: {}'.format(locale.getpreferredencoding()))" ANSI code page: cp1252 python.exe -c "import os; fn=os.fsencode('ä'); print(asci

[issue10828] Cannot use nonascii utf8 in names of files imported from

2011-01-07 Thread ingemar
ingemar added the comment: Terry: Thanks for the hint In a pure ascii path I created files very similar to yours with Swedish "ä" instead of your katakana character. I also got the same result. a.py: print ('something') ä.py: print ('other') c.py: # -*- codin

[issue10828] Cannot use nonascii utf8 in names of files imported from

2011-01-04 Thread ingemar
ingemar added the comment: Have I tried 3.2b2? No. I will have to wait for 3.2, or more exactly for a Windows installer for PyQt for 3.2 to become available. Compiling that on Windows is beyond my resources and experience. I will make a point to tell you then

[issue10828] Cannot use nonascii utf8 in names of files imported from

2011-01-04 Thread ingemar
New submission from ingemar : I have a set of programs written for Python3.1 and running well on Kubuntu. The source files are located on a Samba server on a Kubuntu box. Several of the programs contain Python/PyQt code to start other programs in the set ( QtCore.QProcess().startDetached

[issue9918] Installation "make test", two fails if non-ascii path

2010-09-22 Thread ingemar
New submission from ingemar : I am using Kubuntu 10.4 on a no-brand box with a 64-bit CPU. I use my own download and install of Python 3.1, SIP and PyQt. The default download directory as set up by the Kubuntu install is /home/ingemar/Hämtningar, where "Hämtningar" is Swedish and c

[issue1577] shutil.move() does not use os.rename() if dst is a directory

2007-12-12 Thread Ingemar Nilsson
Ingemar Nilsson added the comment: > If you want a way to do the "mv" semantics, propose > a new API. shutil.mv()? __ Tracker <[EMAIL PROTECTED]> <http://

[issue1577] shutil.move() does not use os.rename() if dst is a directory

2007-12-10 Thread Ingemar Nilsson
Ingemar Nilsson added the comment: Well, if that's what you want, I suggest documenting it in the manual. >From reading the manual, I thought that shutil.move() would behave like mv, and I was surprised that it doesn't. To me the big issue isn't how it is solved, it's r

[issue1577] shutil.move() does not use os.rename() if dst is a directory

2007-12-09 Thread Ingemar Nilsson
New submission from Ingemar Nilsson: If you use shutil.move(src, dst) to move a file src to a directory dst, the file will not be renamed into the dst directory, but rather copied-then-removed, even if src and dst is on the same filesystem. There are several ways to fix this: * (The easiest