Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys.exec_prefix not using ALTSEP #142

Closed
lazka opened this issue Jul 28, 2023 · 4 comments
Closed

sys.exec_prefix not using ALTSEP #142

lazka opened this issue Jul 28, 2023 · 4 comments

Comments

@lazka
Copy link
Member

lazka commented Jul 28, 2023

$ python --version
Python 3.11.4
$ python3 -c "import sys; print(sys.prefix, sys.exec_prefix, sys.base_exec_prefix)"
C:/msys64/ucrt64 C:\msys64\ucrt64 C:\msys64\ucrt64
$ python --version
Python 3.10.12
$ python3 -c "import sys; print(sys.prefix, sys.exec_prefix)"
C:/msys64/ucrt64 C:/msys64/ucrt64
@lazka
Copy link
Member Author

lazka commented Jul 28, 2023

@naveen521kk would it make sense to expose normpath() in getpath.py and use it in places where the final config is set instead of in abspath?

@naveen521kk
Copy link
Member

@naveen521kk would it make sense to expose normpath() in getpath.py and use it in places where the final config is set instead of in abspath?

yeah, that will be better. I'll work on this in a bit (like in an hour or so).

@lazka
Copy link
Member Author

lazka commented Jul 28, 2023

(I can also work on it if needed)

lazka added a commit to lazka/cpython that referenced this issue Jul 28, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
@lazka
Copy link
Member Author

lazka commented Jul 28, 2023

I've created #143

naveen521kk pushed a commit that referenced this issue Jul 29, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
@lazka lazka closed this as completed Jul 29, 2023
lazka added a commit that referenced this issue Aug 25, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Aug 27, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Oct 2, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Oct 2, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Dec 6, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Dec 7, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 31, 2023
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jan 1, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
lazka added a commit that referenced this issue Feb 10, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Feb 12, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Feb 19, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Feb 19, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Feb 19, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Feb 21, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
lazka added a commit that referenced this issue Apr 11, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Apr 12, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Jul 11, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit that referenced this issue Aug 5, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Sep 4, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Sep 9, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit that referenced this issue Sep 9, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Sep 10, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Sep 10, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Nov 2, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Nov 2, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit that referenced this issue Nov 2, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Dec 22, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Dec 23, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
lazka added a commit that referenced this issue Dec 23, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 25, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 25, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 25, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 25, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 25, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
naveen521kk pushed a commit to naveen521kk/cpython that referenced this issue Dec 27, 2024
Instead of just calling normpath in abspath just call normpath
on all the config results. This makes sure we don't change getpath.py
too much and still cover all outputs.

This fixes sys.exec_prefix not matching sys.prefix, see
msys2-contrib#142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants