Skip to content

Support Array subclasses - #139

Merged
jph00 merged 1 commit into
mainfrom
array-subclass
Oct 30, 2026
Merged

jph00 merged 1 commit into
mainfrom
array-subclass

Conversation

@CarloLepelaars

@CarloLepelaars CarloLepelaars commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

If a subclass of Array holds no functions, Array.__init__ will now convert to type(self) instead of Array.

fixes #130

@CarloLepelaars CarloLepelaars changed the title type(self) in _classify Support Array subclassing Oct 30, 2026
@CarloLepelaars CarloLepelaars changed the title Support Array subclassing Support Array subclasses Oct 30, 2026
@CarloLepelaars
CarloLepelaars requested a review from jph00 October 30, 2026 09:30
@jph00
jph00 merged commit 56200f5 into main Oct 30, 2026
1 of 2 checks passed
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.

Subclassing auto-converts to Array

2 participants