#4454: bug in preparser
---------------------------+------------------------------------------------
 Reporter:  ggrafendorfer  |        Owner:  cwitty    
     Type:  defect         |       Status:  new       
 Priority:  major          |    Milestone:  sage-3.4.1
Component:  misc           |   Resolution:            
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by mabshoff):

 * cc: robertwb, boothby (added)

Comment:

 This is still a problem despite numerous preparser bugs being fixed during
 SD 12:
 {{{
 sage: load time.sage
 ------------------------------------------------------------
    File
 
"/scratch/mabshoff/dot_sage/temp/sage.math.washington.edu/4348/_scratch_mabshoff_sage_3_3_rc0_time_sage_1.py",
 line 8
      __time__=misc.cputime(); __wall__=misc.walltime();  = RDF(time);
 print         "Time: CPU %.2f s, Wall: %.2f s"%(misc.cputime(__time__),
 misc.walltime(__wall__))
                                                          ^
 SyntaxError: invalid syntax

 WARNING: Failure executing file:
 
</scratch/mabshoff/dot_sage/temp/sage.math.washington.edu/4348/_scratch_mabshoff_sage_3_3_rc0_time_sage_1.py>
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4454#comment:4>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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