[New-bugs-announce] [issue37282] os problems on absolute paths containing unicode characters on windows

Jonatã Bolzan Loss report at bugs.python.org
Fri Jun 14 07:01:44 EDT 2019


New submission from Jonatã Bolzan Loss <jbopen at gmail.com>:

If a absolute path is provided for some function on os module, it returns "WinError 3".

Example (considering you are on C:\Users\username):

import os                                                                                                           os.mkdir(u'Examşplü')
os.listdir(u'C:\\Users\username\Examşplü')

Result:

Traceback (most recent call last):                                                                                        File "<stdin>", line 1, in <module>                                                                                   FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\username\\Examşplü'

----------
components: Windows
messages: 345580
nosy: Jonatã Bolzan Loss, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os problems on absolute paths containing unicode characters on windows
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37282>
_______________________________________


More information about the New-bugs-announce mailing list