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

- harmonize the viewlet and browserpage allowed_interface declarations #764

Closed
wants to merge 3 commits into from

Conversation

dataflake
Copy link
Member

Fixes #755

I never used the viewlet declaration, so I can't say much about what the patch really does. If someone with enough knowledge could take a look and comment (or merge) that would be great. I'll do the backport to 4.x at that point.

@dataflake dataflake self-assigned this Jan 26, 2020
@icemac
Copy link
Member

icemac commented Jan 27, 2020

I'll look into this PR on Alpine City Sprint starting in 14 days.

Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this is right. What does zope.browserpage do? (It does list(interface), but I don't remember if that includes parent interfaces or not).

EDIT: I checked, and list(interface) returns all the names, including those inherited from parent interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

allowed_interface declarations ignore inheritance of methods from base classes.
3 participants