[issue42384] Inconsistent sys.path between python and pdb

2021-01-26 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42384] Inconsistent sys.path between python and pdb

2021-01-25 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset c10180ea1458aa0ffd7793cb75629ebffe8a257e by Andrey Bienkowski in branch '3.8': [3.8] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24320) https://github.com/python/cpython/commit/c10180ea1458aa0ffd7793cb75629ebffe8a257e ---

[issue42384] Inconsistent sys.path between python and pdb

2021-01-25 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset f2df7958fb82cd927e17152b3a1bd2823a76dd3e by Andrey Bienkowski in branch '3.9': [3.9] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24321) https://github.com/python/cpython/commit/f2df7958fb82cd927e17152b3a1bd2823a76dd3e ---

[issue42384] Inconsistent sys.path between python and pdb

2021-01-25 Thread Andrey Bienkowski
Change by Andrey Bienkowski : -- pull_requests: +23141 pull_request: https://github.com/python/cpython/pull/23412 ___ Python tracker ___ ___

[issue42384] Inconsistent sys.path between python and pdb

2021-01-25 Thread Andrey Bienkowski
Change by Andrey Bienkowski : -- pull_requests: +23140 pull_request: https://github.com/python/cpython/pull/24321 ___ Python tracker ___ ___

[issue42384] Inconsistent sys.path between python and pdb

2021-01-24 Thread Andrey Bienkowski
Change by Andrey Bienkowski : -- pull_requests: +23139 pull_request: https://github.com/python/cpython/pull/24320 ___ Python tracker ___ ___

[issue42384] Inconsistent sys.path between python and pdb

2021-01-21 Thread Andrey Bienkowski
Andrey Bienkowski added the comment: I'll give it a try -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue42384] Inconsistent sys.path between python and pdb

2021-01-21 Thread Guido van Rossum
Guido van Rossum added the comment: Hey Andrey, this has been merged into 3.10, but the backports didn't work because the structure of the tests has changed (os_helper doesn't exist). Do you want to fix these? -- nosy: +gvanrossum ___ Python track

[issue42384] Inconsistent sys.path between python and pdb

2021-01-21 Thread miss-islington
miss-islington added the comment: New changeset 8603dfb4219989644601f6ede75b57e82648cd4e by Andrey Bienkowski in branch 'master': bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) https://github.com/python/cpython/commit/8603dfb4219989644601f6ede75b57e82648cd4e -- _

[issue42384] Inconsistent sys.path between python and pdb

2021-01-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +23112 pull_request: https://github.com/python/cpython/pull/24291 ___ Python tracker ___ __

[issue42384] Inconsistent sys.path between python and pdb

2021-01-21 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +23111 pull_request: https://github.com/python/cpython/pull/24290 ___ Python tracker _

[issue42384] Inconsistent sys.path between python and pdb

2020-11-17 Thread Andrey Bienkowski
Change by Andrey Bienkowski : -- keywords: +patch pull_requests: +8 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23338 ___ Python tracker __

[issue42384] Inconsistent sys.path between python and pdb

2020-11-17 Thread Andrey Bienkowski
Andrey Bienkowski added the comment: After reading Lib/pdb.py:main I believe I can fix both by changing a single line. -- ___ Python tracker ___ _

[issue42384] Inconsistent sys.path between python and pdb

2020-11-16 Thread Andrey Bienkowski
Andrey Bienkowski added the comment: I'll look into fixing this after I fix #42383 -- ___ Python tracker ___ ___ Python-bugs-list m

[issue42384] Inconsistent sys.path between python and pdb

2020-11-16 Thread Andrey Bienkowski
New submission from Andrey Bienkowski : The first entry in sys.path is different between `python foo.py` and `python -m pdb foo.py`. In the former it is the absolute path to the parent directory of foo.py while in the later it is a relative path (unless the debug target was specified using an