8000 Deprecate truth-testing on empty arrays · Issue #9583 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
Deprecate truth-testing on empty arrays #9583
Closed
@ExpHP

Description

@ExpHP

I tested the waters with this on the numpy-discussion newsgroup earlier this week yesterday, and the general response seemed to be that this is actionable, so I am making an issue for further discussion.

The long and short is that truth-testing on empty arrays is dangerous, misleading, and not in any way useful, and should be deprecated.

The next post will explain the rationale for deprecation more in-depth.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0