Author vstinner
Recipients Arfrever, ezio.melotti, gregory.p.smith, lemburg, loewis, pitrou, vstinner
Date 2010-05-06.23:13:23
SpamBayes Score 0.00207075
Marked as misclassified No
Message-id <1273187605.58.0.765067146298.issue8514@psf.upfronthosting.co.za>
In-reply-to
Content
New short, simple and clean path: add os.fsencode() for Unix only.

--

Don't create it for Windows to encourage the usage of unicode on Windows (and use MBCS is a bad idea). fsdecode() was a also bad idea: it's better to keep bytes unchanged on Unix, and it's now possible thanks to os.environb and os.getenvb().
History
Date User Action Args
2010-05-06 23:13:25vstinnersetrecipients: + vstinner, lemburg, loewis, gregory.p.smith, pitrou, ezio.melotti, Arfrever
2010-05-06 23:13:25vstinnersetmessageid: <1273187605.58.0.765067146298.issue8514@psf.upfronthosting.co.za>
2010-05-06 23:13:24vstinnerlinkissue8514 messages
2010-05-06 23:13:23vstinnercreate