Author giampaolo.rodola
Recipients docs@python, giampaolo.rodola, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-02-10.15:41:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455118908.82.0.872288424412.issue26330@psf.upfronthosting.co.za>
In-reply-to
Content
Different but kind of related, disk_usage() is not able to accept bytes:

>>> shutil.disk_usage(b'.')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\python34\lib\shutil.py", line 989, in disk
    total, free = nt._getdiskusage(path)
TypeError: must be str, not bytes
>>>
History
Date User Action Args
2016-02-10 15:41:49giampaolo.rodolasetrecipients: + giampaolo.rodola, paul.moore, vstinner, tim.golden, docs@python, zach.ware, steve.dower
2016-02-10 15:41:48giampaolo.rodolasetmessageid: <1455118908.82.0.872288424412.issue26330@psf.upfronthosting.co.za>
2016-02-10 15:41:48giampaolo.rodolalinkissue26330 messages
2016-02-10 15:41:48giampaolo.rodolacreate