Skip to content

functions return NotImplemented instead of raising error (Trac #1494) #2091

@thouis

Description

@thouis

Original ticket http://projects.scipy.org/numpy/ticket/1494 on 2010-05-27 by @josef-pkt, assigned to unknown.

examples:

>>> np.sqrt('5')
NotImplemented
>>> a = np.sqrt('5')
>>> type(a)
<type 'NotImplementedType'>



>>> np.log(np.array(['5']))
NotImplemented
>>> np.power(np.array(['5']),5)
NotImplemented
>>> np.multiply(np.array(['5']),5)
NotImplemented

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions