This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients HWJ, amaury.forgeotdarc, benjamin.peterson, dlitz, gvanrossum, loewis, pitrou, vstinner, zegreek
Date 2008-09-29.12:51:31
SpamBayes Score 4.0444343e-07
Marked as misclassified No
Message-id <1222692717.35.0.599304244398.issue3187@psf.upfronthosting.co.za>
In-reply-to
Content
About os.getcwd(), another solution is merge_os_getcwd_getcwdu.patch: 
os.getcwd() always return unicode string and raise an error on unicode 
decode error. Wheras os.getcwd(bytes=True) always return bytes. 

The old function os.getcwdu() is removed since os.getcwd() already 
return unicode string.

Note: current version of os.getcwd() uses the wrong encoding to 
conversion bytes to unicode: it uses PyUnicode_FromString() instead of 
PyUnicode_Decode(..., Py_FileSystemDefaultEncoding, "strict") (as does 
getcwdu()).
History
Date User Action Args
2008-09-29 12:51:57vstinnersetrecipients: + vstinner, gvanrossum, loewis, amaury.forgeotdarc, pitrou, benjamin.peterson, HWJ, dlitz, zegreek
2008-09-29 12:51:57vstinnersetmessageid: <1222692717.35.0.599304244398.issue3187@psf.upfronthosting.co.za>
2008-09-29 12:51:32vstinnerlinkissue3187 messages
2008-09-29 12:51:32vstinnercreate