Message151902
| Author |
pitrou |
| Recipients |
alex, hynek, pitrou |
| Date |
2012年01月24日.13:20:49 |
| SpamBayes Score |
2.942091e-13 |
| Marked as misclassified |
No |
| Message-id |
<1327411250.75.0.464495984273.issue13848@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Yes, fixing the conversion block is probably the right approach.
Apparently posixmodule.c uses PyUnicode_FSConverter, perhaps that would work?
(also make sure that the case where a bytes string is given is fixed too:
>>> open(b"\x00")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: ''
) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月24日 13:20:50 | pitrou | set | recipients:
+ pitrou, alex, hynek |
| 2012年01月24日 13:20:50 | pitrou | set | messageid: <1327411250.75.0.464495984273.issue13848@psf.upfronthosting.co.za> |
| 2012年01月24日 13:20:50 | pitrou | link | issue13848 messages |
| 2012年01月24日 13:20:49 | pitrou | create |
|