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
I got this bug/traceback today by making a file grader.py and a file grader.sage (their content doesn't matter).
sage: import grader sage: load grader.sage --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /Users/wstein/edu/2010/480/grading/<ipython console> in <module>() /Users/wstein/sage/build/sage/local/lib/python2.6/site-packages/sage/misc/preparser.pyc in load(filename, globals, attach) 1487 return 1488 -> 1489 filename = filename.strip() 1490 1491 if filename.lower().startswith('http://'): AttributeError: 'module' object has no attribute 'strip' sage:
The above bug is the fault of the rewrite I did of load and attach, so is my fault.
CC: @nexttime
Component: user interface
Keywords: sd40.5
Issue created by migration from https://trac.sagemath.org/ticket/8652
The text was updated successfully, but these errors were encountered:
Did I miss something?
If I create both files foo.py and foo.sage, then
foo.py
foo.sage
sage: import foo I am foo.py sage: load foo.sage I am foo.sage
doesn't give an error (in 4.3.5).
Sorry, something went wrong.
I'm using 4.3.4 and I see the same thing as leif -- worksforme. Perhaps the content of grader.py and grader.sage does matter?
Changed keywords from none to sd40.5
This still works properly on 5.1.beta0. In two years no one has reported or reproduced this bug; I propose we close it.
williamstein
No branches or pull requests
I got this bug/traceback today by making a file grader.py and a file grader.sage (their content doesn't matter).
The above bug is the fault of the rewrite I did of load and attach, so is my fault.
CC: @nexttime
Component: user interface
Keywords: sd40.5
Issue created by migration from https://trac.sagemath.org/ticket/8652
The text was updated successfully, but these errors were encountered: