A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-December/058455.html below:

[Python-Dev] os.normpath may change the meaning of the path if it contains symbolic links?

[Python-Dev] os.normpath may change the meaning of the path if it contains symbolic links? [Python-Dev] os.normpath may change the meaning of the path if it contains symbolic links?jepler@unpythonic.net jepler at unpythonic.net
Sat Dec 3 03:53:22 CET 2005
Consider:
    $ mkdir -p d/d/d
    $ echo 1 > d/d/a
    $ echo 2 > a
    $ ln -s d/d/d x
    $ python -c 'import os; print open(os.path.normpath("x/../a")).read(),'
    2
    $ cat x/../a
    1

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20051202/ded58ff7/attachment.pgp
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4