Skip to content

pyisnothing function? #149

Closed
Closed
@stevengj

Description

@stevengj

Seems pretty common to check if something is None in Python, but it is a bit awkward (and probably suboptimal) to check pyconvert(Bool, object == Py(nothing)). (Since None is a singleton object in Python, you can just check pointer equality.)

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