-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-20844: open script file with "rb" mode #12616
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
Conversation
|
OK, AppVeyor failed on added test: Same fail on Azure x86 and amd64 |
|
Should revert some of this change (git commit 815b41b) in issue20731? Eryk Sun mentioned it in msg221134. |
|
Eryk Sun said in msg273110:
Not sure whether this advice is needed. |
I will backport this change to 3.7 branch. So I want to keep patch simple, safe, and no regression. |
|
Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
Sorry, @methane, I could not cleanly backport this to |
|
GH-12647 is a backport of this pull request to the 3.7 branch. |
On Unix, this doesn't have any effect.
On Windows, "r" mode will cause error on
ftell.https://bugs.python.org/issue20844