[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Committed fixes in r85689(py3k), r85693(release31-maint), r85694(release27-maint). (This should work because I simply ported already working fix in ntpath.relpath) -- resolution: - fixed stage: commit review -

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Stephen Hansen
Stephen Hansen me+pyt...@ixokai.io added the comment: FYI, this fix broke some buildbots: http://www.python.org/dev/buildbot/all/builders/x86%20Snow%20Leopard%202.7/builds/50 for instance. Gentoo too. -- nosy: +ixokai ___ Python tracker

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117 ___ ___ Python-bugs-list

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Broke bunches of 2.7 buildbots. But why are we running test_ntpath on OS X, anyway? Shouldn't this be skipped everywhere except win32 platforms? -- nosy: +janssen ___ Python tracker

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No - the posixpath/ntpath routines are meant to be usable for path manipulation for posix/NT paths on any platform. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Bill Janssen
Bill Janssen bill.jans...@gmail.com added the comment: Then we need to revert this patch and find one that works. -- resolution: fixed - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Sorry, I've commit the fix in r85717(release27-maint). I'll sit and watch buildbot. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117

[issue5117] os.path.relpath problem with root directory

2010-10-18 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I confirmed test runs fine on x86 Snow Leopard 2.7. So I'm closing this issue -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5117] os.path.relpath problem with root directory

2010-10-08 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117 ___

[issue5117] os.path.relpath problem with root directory

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: In py3k, ntpath is almost fixed. but posixpath is not fixed yet. ntpath has another problem about case sensitivity. I'll attach the patch to fix ntpath's case issue and posixpath. In Py27, ntpath has whole issue still there.

[issue5117] os.path.relpath problem with root directory

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I'll create the patch for it. -- versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117 ___

[issue5117] os.path.relpath problem with root directory

2010-10-02 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Well, I said msg80877 past, and I think so too, but os.path module of python2.x seems not to support UNC correctly, and I'm not sure if the behavior change is allowed here. Probably UNC support is new feature, so I'll attach the

[issue5117] os.path.relpath problem with root directory

2010-09-29 Thread Ulrich Eckhardt
Changes by Ulrich Eckhardt eckha...@satorlaser.com: -- nosy: +eckhardt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117 ___ ___ Python-bugs-list

[issue5117] os.path.relpath problem with root directory

2010-07-20 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: msg90061 refers to #5799 which is closed, fixed. Will the attached patch need reworking as a result of the #5799 change? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org

[issue5117] os.path.relpath problem with root directory

2009-07-03 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Maybe this patch should be updated because os.path functions changed their behaviors for UNC in py3k. (#5799) -- dependencies: +Change ntpath functions to implicitly support UNC paths

[issue5117] os.path.relpath problem with root directory

2009-07-03 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117 ___

[issue5117] os.path.relpath problem with root directory

2009-04-22 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117 ___ ___

[issue5117] os.path.relpath problem with root directory

2009-03-04 Thread Jim Blandy
Jim Blandy j...@red-bean.com added the comment: In case the behavior requested here is controversial, here's an example of where it would be nice to have relpath(x, '/') return a path for x that is relative to the root directory: The 'oprofile' system profiler for Linux profiles everything

[issue5117] os.path.relpath problem with root directory

2009-02-01 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- title: os.path.relpath problem with root drive directory on windows - os.path.relpath problem with root directory ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5117