Author vstinner
Recipients giampaolo.rodola, vstinner
Date 2016-02-10.15:15:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455117354.04.0.837074784344.issue26330@psf.upfronthosting.co.za>
In-reply-to
Content
>    total, free = nt._getdiskusage(path)
> NotADirectoryError: [WinError 267] The directory name is invalid

The underlying C function is GetDiskFreeSpaceEx():
https://msdn.microsoft.com/fr-fr/library/windows/desktop/aa364937%28v=vs.85%29.aspx

It takes a lpDirectoryName parameter: "A directory on the disk."

Is psuugxik1s0รจ a directory?

It looks more like a shutil.disk_usage() documentation issue than an Unicode issue.
History
Date User Action Args
2016-02-10 15:15:54vstinnersetrecipients: + vstinner, giampaolo.rodola
2016-02-10 15:15:54vstinnersetmessageid: <1455117354.04.0.837074784344.issue26330@psf.upfronthosting.co.za>
2016-02-10 15:15:54vstinnerlinkissue26330 messages
2016-02-10 15:15:53vstinnercreate