#11542: Fix preparse_file to prevent constants from being assigned to
------------------------------+---------------------------------------------
   Reporter:  nbruin          |          Owner:  was       
       Type:  defect          |         Status:  new       
   Priority:  major           |      Milestone:  sage-4.7.2
  Component:  user interface  |       Keywords:            
Work_issues:                  |       Upstream:  N/A       
   Reviewer:                  |         Author:            
     Merged:                  |   Dependencies:            
------------------------------+---------------------------------------------

Comment(by robertwb):

 Another option is to parse all but the literals, and it should then be
 syntactically valid Python code ("fast" to check), and then throw the
 literals in there. This might be a better representation to raise syntax
 errors from as well.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11542#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to