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

Allow for metaclasses that override truthiness #3

Merged
merged 6 commits into from
May 26, 2021

Conversation

donkopotamus
Copy link
Contributor

@donkopotamus donkopotamus commented Apr 13, 2021

Alters how we test candidates to take account that a type might have override its truth value. A similar fix was made in core python in response to https://bugs.python.org/issue23572.

The code change here reflects that fix in _c3_merge.

Note

This has been a long standing issue in the backport, and had been reported as an issue prior to moving to GitHub.

@jaraco jaraco merged commit 0211ad0 into jaraco:main May 26, 2021
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