Skip to content

TYP: Sane defaults for the platform-specific NBitBase types.#27150

Merged
rgommers merged 1 commit intonumpy:mainfrom
jorenham:typing/nbit-aliases
Aug 14, 2024
Merged

TYP: Sane defaults for the platform-specific NBitBase types.#27150
rgommers merged 1 commit intonumpy:mainfrom
jorenham:typing/nbit-aliases

Conversation

@jorenham
Copy link
Copy Markdown
Member

@jorenham jorenham commented Aug 9, 2024

This will help for those that don't use the mypy plugin.

The defaults match the numpy.dtypes stubs.

The new ._typing._nbit_base module was needed to avoid a circular input.

@jorenham jorenham changed the title TYP: Sane defaults for the platform-specific NBItBase types. TYP: Sane defaults for the platform-specific NBitBase types. Aug 9, 2024
@jorenham jorenham force-pushed the typing/nbit-aliases branch from 839baa9 to bef0fb3 Compare August 9, 2024 01:23
@rgommers
Copy link
Copy Markdown
Member

This looks good, but it accumulated a merge conflict - could you please update @jorenham?

This will help for those that don't use the mypy plugin.
@jorenham jorenham force-pushed the typing/nbit-aliases branch from bef0fb3 to c109fd6 Compare August 14, 2024 17:58
Copy link
Copy Markdown
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All happy now, in it goes.

@rgommers rgommers merged commit 908e1d5 into numpy:main Aug 14, 2024
@rgommers rgommers modified the milestones: 2.0.2 release, 2.2.0 release Aug 14, 2024
@jorenham jorenham deleted the typing/nbit-aliases branch August 14, 2024 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants