Skip to content

Convert old-style Cython properties to @property - #1279

Merged
Joao-Dionisio merged 2 commits into
scipopt:masterfrom
Zeroto521:py-property
Oct 25, 2026
Merged

Joao-Dionisio merged 2 commits into
scipopt:masterfrom
Zeroto521:py-property

Conversation

@Zeroto521

@Zeroto521 Zeroto521 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Replace 4 deprecated Cython property blocks with standard @Property syntax:

- Row.name (L693)
- NLRow.name (L1002)
- Variable.name (L1558) — keeps NULL -> "" branch
- Constraint.name (L2220) — keeps NULL -> "" branch

Behavior is equivalent; Cython compiles @Property to a C-level
getset_descriptor, identical to the legacy property name: form.
Copilot AI balanced review requested due to automatic review settings October 20, 2026 06:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Joao-Dionisio

Copy link
Copy Markdown
Member

This is what I meant, @Zeroto521 , please apply all such changes in the same PR, to avoid spamming our followers.

@Joao-Dionisio
Joao-Dionisio added this pull request to the merge queue Oct 25, 2026
Merged via the queue into scipopt:master with commit fc8e91d Oct 25, 2026
7 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.

3 participants