numpy / numpy/numtype

Generic `numpy.broadcast`

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

Nobody has claimed this yet.

stubs: Enhancement topic: shape-typing
Dominant language
Python
Stars
79
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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

It lives in numpy._core._multiarray_umath.

related to #118

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.