Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cjdoris
Copy link
Collaborator

@cjdoris cjdoris commented Sep 18, 2025

Changes the parameters of PyArray from PyArray{T,N,M,L,R} to PyArray{T,N,F}:

  • F is a tuple of symbols, encoding various flags.
  • The old M parameter becomes the :mutable flag.
  • The old L parameter becomes the :linear flag.
  • Also adds a :contiguous flag and adds that for even faster access.
  • The old R parameter is now implied by T.

The last point means that we no longer allow python objects to be converted to arbitrary eltypes with pyconvert. We have an explicit mapping of T to R. For now, T must be a basic scalar type which equals R or T=Py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant