Message274782
| Author |
eryksun |
| Recipients |
benhoyt, eryksun, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware |
| Date |
2016年09月07日.09:07:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1473239261.77.0.366075084804.issue27998@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is implemented in Steve's latest patch in issue 27781. For example:
>>> sys.platform
'win32'
>>> os.mkdir('test')
>>> f = open('test/\U00010000.txt', 'w')
>>> next(os.scandir(b'test')).name
b'\xf0\x90\x80\x80.txt'
>>> next(os.scandir(b'test')).path
b'test\\\xf0\x90\x80\x80.txt' |
|