GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TYP/DOC: release notes for the main ``numpy`` namespace shape-typing improvements by jorenham · Pull Request #32835 · numpy/numpy

Conversation

@jorenham

@jorenham jorenham commented Sep 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Relevant PRs (93):

  • TYP: Improved np.array shape-typing #32081
  • TYP: {zeros,ones,empty,full}_like improved shape-typing #32196
  • TYP: copy improved shape-typing #32202
  • TYP: clip improved shape-typing and dtype propagation #32204
  • TYP: isclose shape-typing fix for 2d array-likes #32205
  • TYP: concatenate shape-typing #32207
  • TYP: np.unique shape-typing #32215
  • TYP: hstack and vstack shape-typing #32238
  • TYP: argsort improved shape-typing #32240
  • TYP: np.[a]round improved shape-typing #32241
  • TYP: np.array improved shape-typing #32246
  • TYP: broadcast_to shape-typing #32247
  • TYP: stack shape-typing #32248
  • TYP: tile shape-typing #32249
  • TYP: searchsorted shape-typing #32250
  • TYP: isin shape-typing #32262
  • TYP: np.asarray improved shape-typing #32263
  • TYP: np.column_stack shape-typing #32267
  • TYP: np.sort improved shape-typing #32268
  • TYP: transpose and matrix_transpose improved shape-typing #32271
  • TYP: mean, sum and prod improved shape-typing #32330
  • TYP: any and all improved shape-typing #32333
  • TYP: argmin and argmax improved shape-typing #32343
  • TYP: amin and amax improved shape-typing #32344
  • TYP: var and std improved shape-typing #32345
  • TYP: expand_dims improved shape-typing #32362
  • TYP: tensordot shape-typing #32420
  • TYP: where improved shape-typing #32437
  • TYP: take shape-typing #32543
  • TYP: trace shape-typing #32546
  • TYP: median shape-typing #32556
  • TYP: percentile and quantile shape-typing #32560
  • TYP: as{contiguous, fortran}array shape-typing #32569
  • TYP: asanyarray shape-typing #32571
  • TYP: squeeze shape-typing when axis is given #32572
  • TYP: count_nonzero shape-typing #32574
  • TYP: pad improved shape-typing and mode-dependend kwargs #32576
  • TYP: loadtxt shape-typing #32578
  • TYP: real and imag improved shape-typing #32579
  • TYP: swapaxes improved shape-typing #32581
  • TYP: nan_to_num improved shape-typing #32586
  • TYP: einsum shape-typing #32588
  • TYP: average improved shape-typing #32608
  • TYP: atleast_{1,2,3}d improved shape-typing #32610
  • TYP: unravel_index shape-typing #32611
  • TYP: broadcast_arrays improved shape-typing #32612
  • TYP: tri{l,u} improved shape-typing #32614
  • TYP: cross shape-typing #32615
  • TYP: polyfit shape-typing #32616
  • TYP: lexsort shape-typing #32617
  • TYP: polyval shape-typing and more precise dtypes #32619
  • TYP: is{pos,neg}inf improved shape-typing #32621
  • TYP: ptp improved shape-typing #32624
  • TYP: dstack shape-typing #32625
  • TYP: kron improved shape-typing #32626
  • TYP: genfromtxt shape-typing and improved dtypes #32627
  • TYP: diagonal improved shape-typing #32628
  • TYP: ravel_multi_index improved shape-typing #32629
  • TYP: choose shape-typing #32630
  • TYP: compress shape-typing #32631
  • TYP: take_along_axis shape-typing #32632
  • TYP: require improved shape-typing #32633
  • TYP: partition improved shape-typing and dtypes #32635
  • TYP: is{real,complex} improved shape-typing #32637
  • TYP: broadcast_shapes shape-typing #32638
  • TYP: asarray_chkfinite improved shape-typing #32639
  • TYP: datetime_as_string improved shape-typing #32647
  • TYP: trim_zeros shape-typing #32652
  • TYP: from_dlpack shape-typing #32653
  • TYP: polydiv shape-typing and improved dtypes #32654
  • TYP: polymul shape-typing and improved dtypes #32655
  • TYP: sort_complex improved shape-typing #32656
  • TYP: real_if_close improved shape-typing #32657
  • TYP: histogramdd shape-typing #32674
  • TYP: roots shape-typing and improved dtypes #32675
  • TYP: apply_along_axis shape-typing and improved dtypes #32676
  • TYP: block shape-typing and improved dtypes #32677
  • TYP: poly shape-typing and improved dtypes #32678
  • TYP: poly{der,int} shape-typing and improved dtypes #32681
  • TYP: busday functions shape-typing #32683
  • TYP: poly{add,sub} shape-typing and improved dtypes #32684
  • TYP: trapezoid shape-typing #32685
  • TYP: fromfunction shape-typing #32686
  • TYP: unique_{all,inverse} improved shape-typing #32727
  • TYP: unstack shape-typing #32728
  • TYP: apply_over_axes shape-typing #32729
  • TYP: minmax shape-typing and improved dtypes #32730
  • TYP: top_k shape-typing and improved dtypes #32731
  • TYP: r_/c_ shape-typing and improved dtypes #32734
  • TYP: {m,o}grid shape-typing and improved dtypes #32739
  • TYP: vectorize shape-typing #32743
  • TYP: poly1d shape-typing #32750
  • TYP: frompyfunc shape-typing and more accurate dtypes #32753

I also took the liberty of adding a highlight for shape-typing in general. It says "almost all" because numpy.ma isn't (fully) shape-typed, and I'm not planning on doing that either (not right now, at least).


AI wrote some, I wrote some.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
jorenham added 2 commits September 30, 2026 12:15
@jorenham
TYP/DOC: release note for the main numpy namespace shape-typing i…
c66376e
…mprovements
@jorenham
TYP/DOC: release note highlight for shape-typing
994f7d3
@jorenham jorenham added 04 - Documentation 41 - Static typing labels Sep 30, 2026
@jorenham jorenham added this to the 2.6.0 Release milestone Sep 30, 2026
@charris
charris merged commit dfe04e8 into numpy:main Sep 30, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@charris

charris commented Sep 30, 2026

Copy link
Copy Markdown
Member

Thanks Joren.

jorenham reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jorenham
jorenham deleted the typing/shape-typing/relnote branch September 30, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

04 - Documentation 41 - Static typing

Projects

None yet

Milestone

2.6.0 Release

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@jorenham @charris
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.