Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid InstallValue for non-plain objects #55

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

fingolfin
Copy link
Contributor

InstallValue is one of a tiny handful of places calling the GAP kernel
function CLONE_OBJ. This function is rather dangerous, e.g. for types it is
not really well-defined, see gap-system/gap#1637.
While I am not aware of any ill-effects of the usage here, I think it is best
to avoid it (and perhaps we can at some point even phase out support for
InstallValue used on non-plain objects)

InstallValue is one of a tiny handful of places calling the GAP kernel
function CLONE_OBJ. This function is rather dangerous, e.g. for *types* it is
not really well-defined, see gap-system/gap#1637.
While I am not aware of any ill-effects of the usage here, I think it is best
to avoid it (and perhaps we can at some point even phase out support for
`InstallValue` used on non-plain objects)
@frankluebeck frankluebeck merged commit 5d603c3 into frankluebeck:master Jul 1, 2022
@frankluebeck
Copy link
Owner

Thanks for the suggestion.

@fingolfin fingolfin deleted the mh/DUMMYTBPTYPE branch July 2, 2022 05:06
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