-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Need to get rid of "Integer(0)" #99
Comments
comment:1
I can't replicate this. Can anybody? |
comment:2
|
comment:3
Replying to @williamstein:
Yup; it's repeatable. So far, it isn't clear how to do it. The file in which I initially saw the problem still shows the problem. One possible connection: I 'attach' this file, and this file contains an 'attach' of a second file. Looking at the resulting .py file, it shows the content of the second file inserted in the first file at the line where the 'attach' is. Some distance into the .py file, things start going bad: Until this point, the only integer constants that get wrapped (in "Integer()") are those in code. Beginning with a specific function, several lines occur with this form: and the comments have wrapped integers. Following these lines, no integer constants are wrapped (for ~200 lines), until some distance into the first file, when wrapping begins again. From this point, only constants in strings (docstrings or print strings) appear to be wrapped. Constants in code or comments are untouched. Weird. |
comment:4
|
comment:5
To Justin: I just decided to try to fix this, and discovered that I still don't have an actual |
comment:6
Andrey Novoseltsev
I then fixed it in minutes.
|
If I have, for example,
the result appears as
which seems kind of sucky (to use the technical term). The only workaround is something like
which is similarly sucky...
Component: user interface
Keywords: Preparsing, sage integers
Issue created by migration from https://trac.sagemath.org/ticket/99
The text was updated successfully, but these errors were encountered: