[dmd-beta] D 1.074 and 2.059 betas
Andrej Mitrovic
andrej.mitrovich at gmail.com
Mon Apr 2 09:51:50 PDT 2012
On 4/2/12, Walter Bright <walter at digitalmars.com> 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.
More information about the dmd-beta
mailing list