We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As reported by 'Octoploid' on IRC: The preparser crashes if a line starts with '...'.
This is caused by a string index in preparse_ellipsis() becoming negative and wrapping to the end of the string.
Patch attached. This makes preparse('...') return 'Ellipsis'. Not sure if that's the desired behaviour. Maybe a syntax error would be better?
Component: user interface
Issue created by migration from https://trac.sagemath.org/ticket/1596
The text was updated successfully, but these errors were encountered:
Attachment: preparse_ellipsis.patch.gz
Sorry, something went wrong.
Attachment: 1596-ellipsis-bug.diff.gz
This patch fixes the problem.
I agree that a syntax error would be preferable, see second patch (to replace the first). I also made the error on [1..] more explicit.
Looks good to me. Merged in Sage 2.9.2.rc1.
williamstein
No branches or pull requests
As reported by 'Octoploid' on IRC: The preparser crashes if a line starts with '...'.
This is caused by a string index in preparse_ellipsis() becoming negative and wrapping to the end of the string.
Patch attached. This makes preparse('...') return 'Ellipsis'. Not sure if that's the desired behaviour. Maybe a syntax error would be better?
Component: user interface
Issue created by migration from https://trac.sagemath.org/ticket/1596
The text was updated successfully, but these errors were encountered: