Skip to content

fn try_to_bool calls __bool__ method instead of number slot boolean #6113

@youknowone

Description

@youknowone

Summary

fn try_to_bool is expected to call PyNumberSlots's boolean, but currently calling python __bool__

Details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions