[go: nahoru, domu]

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

I still see the same problem on pyenv-win version 2.64.3. #167

Open
kirankotari opened this issue Oct 12, 2020 · 0 comments
Open

I still see the same problem on pyenv-win version 2.64.3. #167

kirankotari opened this issue Oct 12, 2020 · 0 comments
Assignees

Comments

@kirankotari
Copy link
Member

I still see the same problem on pyenv-win version 2.64.3.

This fails in git bash:

$ python -c "print('a b c')"
  File "<string>", line 1
    print('a
           ^
SyntaxError: EOL while scanning string literal

But works in cmd:

> python -c "print('a b c')"
a b c

I think this line and this line should use "$@" instead of $* (see: https://unix.stackexchange.com/questions/41571/what-is-the-difference-between-and).

If I manually make those replacements in my local .pyenv\pyenv-win\bin\pyenv and my .pyenv\pyenv-win\shims\python, then the command works successfully:

$ python -c "print('a b c')"
a b c

Originally posted by @ahiijny in #32 (comment)

@kirankotari kirankotari self-assigned this Nov 28, 2022
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

1 participant