Generic `numpy.broadcast`

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
numpy, python

Research direction

Start at numpy._core._multiarray_umath and review related issue #118 for the intended typing approach. Define the generic dtype and shape-type behavior for numpy.broadcast, with completion shown by the stubs accurately exposing both type parameters.

Written by the indexing model from the issue text.

Description

stubs: Enhancement topic: shape-typing

It would help to make numpy.broadcast generic on its dtype and shape-type.

It lives in numpy._core._multiarray_umath.

related to #118

Dominant language
Python
Stars
79
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from numpy/numtype

All issues in numpy/numtype

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.