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

bpo-44351: Restore back parse_makefile in distutils.sysconfig by frenzymadness · Pull Request #26637 · python/cpython · GitHub

Repository navigation

bpo-44351: Restore back parse_makefile in distutils.sysconfig - #26637

Merged
encukou merged 1 commit into
python:mainfrom
frenzymadness:bpo-44351
Jun 11, 2021
Merged

encukou merged 1 commit into
python:mainfrom
frenzymadness:bpo-44351

Conversation

frenzymadness commented Jun 10, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

The function uses distutils.text_file.TextFile and therefore
behaves differently than _parse_makefile in sysconfig.

This is a regression caused by a try to merge distutils.sysconfig and sysconfig in #23142

https://bugs.python.org/issue44351

The function uses distutils.text_file.TextFile and therefore
behaves differently than _parse_makefile in sysconfig.

hroncok 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

The code is different than Python 3.9 code wrt. compiled re patterns / strings. The differences are reasonable. Other than that, it is a straight revert / restore.

I'd add a regression test, however this is distutils, so not a hard requirement.

Thank you.

Copy link
Copy Markdown
Contributor

Thanks @frenzymadness for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

Copy link
Copy Markdown

GH-26673 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 11, 2021
…GH-26637)

The function uses distutils.text_file.TextFile and therefore
behaves differently than _parse_makefile in sysconfig.
(cherry picked from commit fc98266)

Co-authored-by: Lumír 'Frenzy' Balhar <lbalhar@redhat.com>
encukou pushed a commit that referenced this pull request Jun 15, 2021
…) (GH-26673)

The function uses distutils.text_file.TextFile and therefore
behaves differently than _parse_makefile in sysconfig.
(cherry picked from commit fc98266)

Co-authored-by: Lumír 'Frenzy' Balhar <lbalhar@redhat.com>
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL