Skip to content

Treat marker intersection more symmetrically#384

Merged
neersighted merged 2 commits intopython-poetry:mainfrom
dimbleby:prefer-marker-union
May 30, 2022
Merged

Treat marker intersection more symmetrically#384
neersighted merged 2 commits intopython-poetry:mainfrom
dimbleby:prefer-marker-union

Conversation

@dimbleby
Copy link
Contributor

The somewhat elaborate real-life example that motivated this change is given as a testcase.

But on further consideration, this is also a symmetry improvement: both union.intersect(intersection) and intersection.intersect(union) now behave the same way (preferring to return a union),

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@neersighted neersighted merged commit 3eccdb8 into python-poetry:main May 30, 2022
@dimbleby dimbleby deleted the prefer-marker-union branch May 31, 2022 07:41
@radoering radoering mentioned this pull request Jul 9, 2022
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.

2 participants