FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-37616: Fix incorrect zip path for 3.10 prep by nsiregar · Pull Request #14874 · python/cpython · GitHub

Repository navigation

bpo-37616: Fix incorrect zip path for 3.10 prep - #14874

Closed
nsiregar wants to merge 2 commits into
python:masterfrom
nsiregar:bpo-37616-zip-path-incorrect
Closed

nsiregar wants to merge 2 commits into
python:masterfrom
nsiregar:bpo-37616-zip-path-incorrect

Conversation

nsiregar commented Jul 21, 2019 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

[3.10 prep] fix incorrect zip path

https://bugs.python.org/issue37616

ZackerySpytz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not sure if this fix is correct.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please use proper sentences in news entries.

I believe using single backquotes around "getpath" is incorrect (as per https://devguide.python.org/documenting). Also, I think the full file path should be used (instead of just "getpath").

sys.path is not a module.

Comment thread Modules/getpath.c Outdated
Comment thread Modules/getpath.c Outdated
Comment thread Modules/getpath.c Outdated
nsiregar force-pushed the bpo-37616-zip-path-incorrect branch from b425a05 to 13bde0b Compare July 22, 2019 13:36

nsiregar commented Jul 22, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Should I change the algorithm to replace 00 in python00.zip with any concatenated version number?

csabella commented Feb 6, 2020

Copy link
Copy Markdown
Contributor

@nsiregar, please resolve the merge conflict. Thank you!

nsiregar force-pushed the bpo-37616-zip-path-incorrect branch from 13bde0b to 420335e Compare February 9, 2020 03:49

nsiregar commented Feb 9, 2020

Copy link
Copy Markdown
Contributor Author

@csabella I've resolved the conflict

nsiregar force-pushed the bpo-37616-zip-path-incorrect branch from 420335e to d644b66 Compare February 13, 2020 01:47
nsiregar force-pushed the bpo-37616-zip-path-incorrect branch from d644b66 to 10d41ce Compare February 14, 2020 01:13
Comment on lines +1 to +2
Update ``Module/getpath.c`` read python zip path if python
version size more than 2 digit.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Update ``Module/getpath.c`` read python zip path if python
version size more than 2 digit.
Update ``Module/getpath.c`` to read the stdlib from a zip file when the minor version is more than a single digit.

brettcannon commented Mar 3, 2020 •
edited
Loading

Copy link
Copy Markdown
Member

The memmove doesn't seem like the right solution here. Why not have two template file paths and then use the appropriate one based on the number of digits required?

nsiregar commented Mar 4, 2020

Copy link
Copy Markdown
Contributor Author

working on it

ambv commented May 19, 2020

Copy link
Copy Markdown
Contributor

Since this wasn't merged in time, we went with b4d4aef

ambv closed this May 19, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL