Re: Unicode File Names

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?UTF-8?B?Ik1hcnRpbiB2LiBMw7Z3aXMi?=

    Re: Unicode File Names

    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.

    Regards,
    Martin
  • Mark Tolonen

    #2
    Re: Unicode File Names


    ""Martin v. Löwis"" <martin@v.loewi s.dewrote in message
    news:48f9de43$0 $5124$9b622d9e@ 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












































    Comment

    Working...