Skip to content

Type system implementation #1 (Alternative): Added initial implementation for a new type system using redundancies. - #9446

Closed
kc611 wants to merge 13 commits into
numba:feature/np_2from
kc611:new_numba
Closed

kc611 wants to merge 13 commits into
numba:feature/np_2from
kc611:new_numba

Conversation

@kc611

@kc611 kc611 commented Feb 20, 2024

Copy link
Copy Markdown
Contributor

This is an alternative to #9408.

It does the same changes except those are changes are being done in entirely new files to prevent any collision with old numba system.

@kc611
kc611 marked this pull request as ready for review February 21, 2024 13:24
@kc611
kc611 requested a review from DrTodd13 as a code owner February 21, 2024 13:24
Comment thread numba/core/cpu.py

# fix for #8940
from numba.np.unsafe import ndarray # noqa F401
if numba.core.config.USE_LEGACY_TYPE_SYSTEM:

@gmarkall gmarkall Feb 26, 2024 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note for anyone reading this: From discussions with @stuartarchibald - there is presently nothing imported when using the new type system, so that the new implementations can be built up correctly and imports / setup added here piece-by-piece until everything is implemented for the new type system.

(As opposed to starting with everything in the new type system and trying to convert its old behaviour to new behaviour, which would be very hard to do thoroughly and correctly)

This was referenced Feb 26, 2024
@kc611 kc611 added the NumPy 2.0 Related to NumPy 2.0 support label Mar 4, 2024
@kc611

kc611 commented Mar 27, 2024

Copy link
Copy Markdown
Contributor Author

Closing in favour of #9513

@kc611 kc611 closed this Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NumPy 2.0 Related to NumPy 2.0 support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants