Skip to content

1422 investigation - #1491

Closed
luciansmith wants to merge 4 commits into
developfrom
1422-investigation
Closed

luciansmith wants to merge 4 commits into
developfrom
1422-investigation

Conversation

@luciansmith

Copy link
Copy Markdown

Figure out what's going on with a single windows python test failure.

matthiaskoenig and others added 4 commits November 25, 2026 23:42
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
@luciansmith luciansmith closed this Dec 3, 2026
@luciansmith
luciansmith deleted the 1422-investigation branch December 3, 2026 19:53
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.

2 participants