#5052: preparser does not respect leading space in front of "load foo.sage"
--------------------+-------------------------------------------------------
 Reporter:  ddrake  |       Owner:  cwitty  
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:  sage-3.3
Component:  misc    |    Keywords:          
--------------------+-------------------------------------------------------
 If you have something like the following in a file:
 {{{
 try:
     load foo.sage
 except:
     print 'uh oh'
 }}}
 it gets preparsed to this, and blows up because of the bad indentation:
 {{{
 try:
 execfile("foo.py")
 except:
     print 'uh oh'
 }}}
 The preparser is not honoring the leading space before the {{{load}}}
 statement.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5052>
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