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

Reinstate the or guard in WorkingSet._markers_pass #532

Merged
merged 1 commit into from Apr 7, 2016
Merged

Reinstate the or guard in WorkingSet._markers_pass #532

merged 1 commit into from Apr 7, 2016

Conversation

s-t-e-v-e-n-k
Copy link
Contributor

Thanks to @jaraco refactoring the marker evaluation in WorkingSet.resolve(), we can test it directly to show that the [''] guard is required.

@jaraco
Copy link
Member

jaraco commented Apr 7, 2016

I'm still a little uneasy about substituting an empty tuple for a single item list of empty string... but at least now the expectation that the False value will be an empty tuple is captured. I can work with that. Thanks.

@jaraco jaraco merged commit 1bf18cc into pypa:master Apr 7, 2016
@jaraco
Copy link
Member

jaraco commented Apr 7, 2016

In 8ce73d4, I've finished up another refactor which attempts to simplify the implementation and clarify the expectation when no extras were indicated (not weirdly allowing extra='' to pass), but I'm not sure this is right. Thoughts?

@jaraco
Copy link
Member

jaraco commented Apr 7, 2016

A better perspective is these two commits together.

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.

None yet

2 participants