[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2015-01-23 Thread Martin v . Löwis

Martin v. Löwis added the comment:

Ubik: this issue is closed, as we believe that it does not exist anymore. If 
you still think there is a bug surrounding mkdtemp, please make a new full bug 
report. Structure your report as follows:

1. this is what you did
2. this is what happened
3. this is what you expected to happen instead

Be as precise as possible. For example, reporting the exact user name of the 
user might be helpful. If you can, debug the problem, e.g. by arranging to 
display the value of 'path' and 'b' in line 102 of ntpath.py (assuming the 
error still occurs on the same line as it did for Markus).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2015-01-23 Thread STINNER Victor

STINNER Victor added the comment:

The best fix is to use Python 3. In 2015, it's maybe time to use Python 3 which 
has a very good Unicode support.

--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2015-01-23 Thread Ubik

Ubik added the comment:

As detailed in this SO question:

http://stackoverflow.com/questions/28101187/deal-with-unicode-usernames-in-python-mkdtemp

I still see the issue in 2.7.8.

I use a unicode prefix and changing this is not an option (editing legacy code 
which expects unicode everywhere)

Is there some full proof workaround ? Is the one suggested in the OP good 
enough ?

--
nosy: +Ubik

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2013-01-26 Thread Ezio Melotti

Ezio Melotti added the comment:

On Win 7 with a non-ASCII username, this seems to work fine on both 2.7 and 
3.3.  2.7 returns str or unicode depending on the type of the "prefix=", 
whereas 3.3 only accepts str (I think this is expected).

I'm going to close this as out of date, feel free to reopen if you can 
reproduce it on some older but still supported system.

--
nosy: +ezio.melotti
resolution:  -> out of date
stage: test needed -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2010-09-16 Thread Mark Lawrence

Mark Lawrence  added the comment:

I can't reproduce this problem on Windows Vista with any of the current 
maintainance branches of Python using the interactive prompt from the command 
line.

--
nosy: +BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2010-08-06 Thread Tim Golden

Changes by Tim Golden :


--
nosy: +tim.golden

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2009-03-31 Thread Markus Niemistö

Markus Niemistö  added the comment:

Well, it's not me. As I stated in the problem description, Windows (2000
at least) uses path c:\documents and settings\\local
settings\temp as default temp dir, where also python tries to make temp
dirs. Now for example if user name is "niemistö", then the temp dir will
be ...\niemistö\local settings\temp, which won't work.

I'll try do test the latest versions of python soon.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2009-03-31 Thread Georg Brandl

Georg Brandl  added the comment:

Why are you using a unicode string as your temp directory prefix? Does
it raise something different if you don't?

--
assignee:  -> loewis
nosy: +loewis

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1681974] mkdtemp fails on Windows if username has non-ASCII character

2009-03-30 Thread Daniel Diniz

Changes by Daniel Diniz :


--
components: +Windows
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6 -Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com