Skip to content

Get rid of Python 2 left-over #12138

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

Describe the issue:

Needs to be updated as Python 2 is not supported:

dask/dask/array/ufunc.py

Lines 26 to 28 in 0fe7582

# functools.wraps cannot wrap ufunc in Python 2.x
wrapped.__name__ = numpy_ufunc.__name__
return derived_from(source)(wrapped)

# functools.wraps cannot wrap ufunc in Python 2.x
wrapped.__name__ = numpy_ufunc.__name__
return derived_from(source)(wrapped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageNeeds a response from a contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions