[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-12-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +22609 pull_request: https://github.com/python/cpython/pull/23751 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-12-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +22608 pull_request: https://github.com/python/cpython/pull/23750 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Dong-hee Na
Dong-hee Na added the comment: Thanks Łukasz for finanlizing this work :) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: Sorry it took so long, this will get released in Python 3.8.6 and newer. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6, Python 3.7 ___ Python tracker

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 211e4c6e9c1ab60bb2577dda6587fbec79f679b2 by Miss Islington (bot) in branch '3.9': bpo-33660: Fix PosixPath to resolve a relative path on root (#21974) https://github.com/python/cpython/commit/211e4c6e9c1ab60bb2577dda6587fbec79f679b2 --

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7475aa2c590e33a47f5e79e4079bca0645e93f2f by Miss Islington (bot) in branch '3.8': bpo-33660: Fix PosixPath to resolve a relative path on root (GH-21975) https://github.com/python/cpython/commit/7475aa2c590e33a47f5e79e4079bca0645e93f2f --

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 94ad6c674f7687ef22853cb8d42b440d6b42ddc8 by Łukasz Langa (Dong-hee Na) in branch 'master': bpo-33660: Fix PosixPath to resolve a relative path on root https://github.com/python/cpython/commit/94ad6c674f7687ef22853cb8d42b440d6b42ddc8 --

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 8.0 -> 9.0 pull_requests: +21083 pull_request: https://github.com/python/cpython/pull/21974 ___ Python tracker

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +21084 pull_request: https://github.com/python/cpython/pull/21975 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Łukasz Langa
Change by Łukasz Langa : -- nosy: +lukasz.langa nosy_count: 7.0 -> 8.0 pull_requests: +21081 pull_request: https://github.com/python/cpython/pull/21972 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Manuel Barkhau
Manuel Barkhau added the comment: This issue cropped up recently in the black project: https://github.com/psf/black/issues/1631 It appears to me that PR 7666 was closed without being merged. I created https://github.com/python/cpython/pull/21971 before I had found this issue. --

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Manuel Barkhau
Change by Manuel Barkhau : -- nosy: +mbarkhau nosy_count: 6.0 -> 7.0 pull_requests: +21079 pull_request: https://github.com/python/cpython/pull/21971 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-07-01 Thread Dong-hee Na
Dong-hee Na added the comment: Please review my pull request. This PR is pending for 19 days. -- ___ Python tracker ___ ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-12 Thread Dong-hee Na
Dong-hee Na added the comment: For reviewers, I submitted a patch PR 7666. Please take a look -- nosy: +corona10 ___ Python tracker ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-12 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +7281 stage: test needed -> patch review ___ Python tracker ___ ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-02 Thread Timo Furrer
Change by Timo Furrer : -- nosy: +tuxtimo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Andres Ayala
Andres Ayala added the comment: Script to reproduce: import os import pathlib # Change to the Root directory os.chdir('/') # Create a relative path object. p = pathlib.Path('spam') print(p.resolve()) Expected output: /span Incorrect output //span -- Added file:

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-05-30 Thread Andres Ayala
Change by Andres Ayala : -- nosy: +killerrex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-05-27 Thread QbLearningPython
New submission from QbLearningPython : I have recently found a weird behaviour while trying to resolve a relative path located on the root directory on a macOs. I tried to resolve a Path('spam') and the interpreter answered PosixPath('//spam') —double slash for root—