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

Various tweaks to the GAP kernel extension code #553

Merged
merged 9 commits into from
Oct 18, 2018

Conversation

fingolfin
Copy link
Contributor

No description provided.

@james-d-mitchell james-d-mitchell added 3.* enhancement A label for issues or PRs that offer an enhancement to existing functionality labels Oct 18, 2018
@james-d-mitchell
Copy link
Collaborator

@fingolfin This is very welcome, but something is not correct, I don't have time to check carefully now, but it looks like loading and saving of workspaces is broken in this PR.

This used to return a GAP object in an inconsistent state: an immutable list
containing mutable lists.
If converter->unconvert allocates new objects, this could otherwise
lead to a GC crash
First off, whether the plist is immutable or not does not matter anyway, as
the tnum is discarded. Secondly, on the GAP level, Objectify rejects
immutable lists; while the check for that is currently done on the GAP
language level, it might in the future be done on the kernel level, too; so
better to play it safe.

Also, don't bother to retype to fancy plist TNUMs like  T_PLIST_TAB_RECT, as
they will be discarded.
@fingolfin
Copy link
Contributor Author

Fixed

@james-d-mitchell
Copy link
Collaborator

Thanks! @fingolfin

@james-d-mitchell james-d-mitchell merged commit f38ff64 into semigroups:stable-3.0 Oct 18, 2018
@fingolfin fingolfin deleted the mh/misc branch October 19, 2018 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A label for issues or PRs that offer an enhancement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants