Message229544
| Author |
cool-RR |
| Recipients |
barry, brett.cannon, cool-RR, ezio.melotti, georg.brandl, pitrou, r.david.murray, tshepang |
| Date |
2014年10月16日.18:11:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1413483099.22.0.949644851363.issue22570@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I agree with Brett. Making old functions support `Path` sounds trivial to me, and I don't think there are any backward compatibility issues. Having to do str(path) every time you call a function is ugly. So I think that all stdlib functions that currently take a string path should be able to take a `Path` object.
I'll add to that the functions in the `zipfile` module. |
|