Skip to content

np.float_ will be hard error in NumPy 2.0 #164

@zm711

Description

@zm711

Hey Alessio,

There's one more hard error coming in NumPy 2.0 where np.float_ will no longer be allowed. I didn't want to touch it in this function

if isinstance(v, np.float_):

because you might need to jump through some hoops to keep backward compatibility along with forward compatibility, but just wanted to put it on your radar.

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