[PATCH 1 of 8] Add a new function, fspath

Paul Moore p.f.moore at gmail.com
Fri May 2 13:11:11 CDT 2008


2008/5/2 Patrick Mézard <pmezard at gmail.com>:
>  For the record:
>
>  """
>  Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
>  [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
>  Type "help", "copyright", "credits" or "license" for more information.
>  >>> import os
>  >>> os.listdir('')
>  Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>  OSError: [Errno 2] No such file or directory: ''
>  """

Interesting. Thanks for the addition, I'll include it.

Paul.



More information about the Mercurial-devel mailing list