Unicode File Names

Mark Tolonen M8R-yfto6h at mailinator.com
Sat Oct 18 21:30:20 CEST 2008


""Martin v. Löwis"" <martin at v.loewis.de> wrote in message 
news:48f9de43$0$5124$9b622d9e at news.freenet.de...
>> Oddly, os.getcwd() and os.getcwdu() both still exist in Python 3.0.
>> Since the behavior is now identical it seems os.getcwdu() should be
>> dropped.
>
> It is dropped, and os.getcwdb() has been added.

Must be changed post 3.0rc1, but I seem to remember reading about that now 
in another thread:

Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit 
(Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> [s for s in dir(os) if 'cwd' in s]
['getcwd', 'getcwdu']

-Mark















































More information about the Python-list mailing list