On 4/2/12, Walter Bright <[email protected]> wrote:
> http://ftp.digitalmars.com/dmd2beta.zip

curdir and pardir have been deprecated on the basis that "." and ".."
are used for these on all platforms. However I've noticed something in
Python, this is in Lib\macpath.py:

# strings representing various path-related bits and pieces
curdir = ':'
pardir = '::'

So it seems there is a use-case for keeping curdir/pardir in Phobos
and the above should probably be added. Another little use-case is
that removing these breaks user-code for no reason other than saving
two lines of code in Phobos.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to