Skip to content

Partially specializing default plugin hooks #3591

@JukkaL

Description

@JukkaL

@gvanrossum said in #3534 (comment):

So a user plugin can override the default plugin. Should a hook returned by a user plugin be able to fall back dynamically on the default plugin's hook for the same function? E.g. suppose to add a special case for open() I would have to copy the default open() handler and modify it. It would be nice if there was some kind of "super call" mechanism for this.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions