Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

What needs to be done before merging the stubs into NumPy #79

Closed
@person142

Description

@person142

A couple of months ago I argued against merging the stubs into NumPy right away so that we could keep a tighter iteration loop with SciPy. Now that we are close to getting an initial version of ArrayLike over in #66 I think the situation becomes different.

As I see it, the next big challenge will be making ndarray generic over dtype. After a lot of good discussion with @seberg over in #48 it seems like the path forward there likely involves

  • Waiting for NEP 41 to be implemented
  • Writing a mypy plugin that handles the new dynamic dtype class creation

If that is the case, then the stubs being merged into NumPy becomes an advantage because we will be relying on unreleased features.

What do people think? Should we try to merge the stubs into NumPy soon? It might behoove me to finish writing the prototype dtype plugin to see if it will actually work like I think it will.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions