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

Apply lazy_required when inheriting from existing attributes #1

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

skington
Copy link

@skington skington commented Jun 13, 2020

This is a bug that was reported 8 years ago, and has been bugging me on-and-off for a while.

Basically, because _process_options isn't called if you're inheriting from another class, lazy_required wasn't getting applied in a sub-class. There was an initial test class supplied in the bug report that I've used as a base; I've updated some of the wording to (in my mind) make it clearer what we're trying to test.

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.

1 participant