Skip to content

Cleanup InstallRequirement.egg_info_path #7081

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

Merged
merged 3 commits into from
Sep 25, 2019

Conversation

pradyunsg
Copy link
Member

This property has a very awkward lifecycle.

This PR cleans up how getter for this attribute works. I'll address the lifecycle in follow up PRs.

@pypa-bot

This comment has been minimized.

@pypa-bot pypa-bot added the needs rebase or merge PR has conflicts with current master label Sep 24, 2019
@pradyunsg pradyunsg force-pushed the cleanup-egg_info_path branch from 1f74e7e to fcc09d0 Compare September 24, 2019 17:38
@pypa-bot pypa-bot removed the needs rebase or merge PR has conflicts with current master label Sep 24, 2019
@pradyunsg pradyunsg force-pushed the cleanup-egg_info_path branch from fcc09d0 to f841076 Compare September 24, 2019 17:41
@pradyunsg pradyunsg added skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code labels Sep 24, 2019
@pradyunsg pradyunsg force-pushed the cleanup-egg_info_path branch from f841076 to 78b4a30 Compare September 25, 2019 02:25
Why: Allows reducing indentation of the function body.
Why: It makes it clearer what the funky expression means.
Why: A named function brings clarity to expressing what is happening.
@pradyunsg pradyunsg force-pushed the cleanup-egg_info_path branch from 78b4a30 to 618714b Compare September 25, 2019 02:35
@pradyunsg pradyunsg merged commit 108f9b6 into pypa:master Sep 25, 2019
@pradyunsg pradyunsg deleted the cleanup-egg_info_path branch September 25, 2019 04:04
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Oct 25, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes) type: refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants