Repository navigation
1422 investigation - #1491
Closed
luciansmith wants to merge 4 commits into
Closed
1422 investigation#1491luciansmith wants to merge 4 commits into
luciansmith wants to merge 4 commits into
Conversation
Add complete Python API typing and ty checks
We still hard-code a bunch of things that SWIG can't generate yet, but we generate what we can, which makes this approach more future-proof. Generation is from 'complete_stub.py'. Other fixes/changes: * Slicing now keeps row/column names, as does vstack/hstack/concatenate. If the labels conflict, that's an error; if one is there and the other is missing, we perform the join and un-label the result. * More variants of python types can now be used in our functions. Among other things, this fixes #1301. * 'long' -> 'long long' is now correct. * Requires new rr-libstruct, with zero-sized matrices now not causing crashes. * Also, a bunch of skipped python tests are now unskipped. Among other things, this involved adding new 'get' functions for getBoundary, getConstant, getReversible, getPersistent, and getTriggerInitialValue. * setConstant now works on species references. * Loading a document with no model no longer crashes; it throws or adds an empty model appropriately. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BCWJVGVzVqYawshjJodZN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Figure out what's going on with a single windows python test failure.