retire old parent

106 views
Skip to first unread message

Martin R

unread,
May 24, 2026, 5:15:55 PMMay 24
to sage-devel
Dear all,

after a lot of work, mainly by Frédéric, there are now two pull requests that retire all of the old parent structure, that is, `Parent` in `parent_old.py`,  `ParentWithBase` and `ParentWithGens`.  These have been deprecated in Commit 26da9c4 by robertwb
on Oct 16, 2008.  It was not completely trivial to remove them.

I'd especially like to encourage you to test https://github.com/sagemath/sage/pull/42245, because it touches on the interfacing with other systems, in particular FriCAS, macaulay2, etc.

Of course, I'm grateful for any comments.

Have fun,

Martin

Martin R

unread,
Jun 1, 2026, 4:38:55 AM (13 days ago) Jun 1
to sage-devel
There is now yet another pull request, that harvests the benefits: https://github.com/sagemath/sage/pull/42274 removes _element_init_pass_parent and guess_pass_parent, thus simplifying `Parent.__init__` slightly.

It would be great to have this in the next beta, so it get's sufficient testing before the next release.

Martin
Reply all
Reply to author
Forward
0 new messages