This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients giampaolo.rodola
Date 2016-02-10.15:11:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Python 3.4, Windows 7:

>>> import shutil, os
>>> path = 'psuugxik1s0è'
>>> os.stat(path)
os.stat_result(st_mode=33206, st_ino=6755399441249628, st_dev=3158553679, st_nlink=1, st_uid=0, st_gid=0, st_size=27136, st_atime=1455
116789, st_mtime=1455116789, st_ctime=1455116789)
>>> shutil.disk_usage(path)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\python34\lib\", line 989, in disk_usage
    total, free = nt._getdiskusage(path)
NotADirectoryError: [WinError 267] The directory name is invalid
Date User Action Args
2016-02-10 15:11:17giampaolo.rodolasetrecipients: + giampaolo.rodola
2016-02-10 15:11:17giampaolo.rodolasetmessageid: <>
2016-02-10 15:11:17giampaolo.rodolalinkissue26330 messages
2016-02-10 15:11:16giampaolo.rodolacreate