Skip to content

Bug in ssl.set_psk_server_callback callback type signature #12931

@timrid

Description

@timrid

According to the Python 3.13 documentation the type signature of the callback is def callback(identity: str | None) -> bytes. But currently it is defined as Callable[[str | None], tuple[str | None, bytes]] | None (see here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions