Skip to content

Work around pyside.Signal's unhashable type bug #7

@nirizr

Description

@nirizr

pyside.Signal doesn't natively support working with complex objects as signal callables.
Often wrapping the callback with a lambda does work.

This should be transparently addressed by replacing pyside's connect method with one that will wrap the callback in a lambda and then call the original callback.

However, since PySide.Signal is not a python class, replacing it's method seems a bit harder than anticipated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions