Ticket #4473 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

[with patch; positive review] loading file.sage that has a line "load foo.py" is broken due to a missing import

Reported by: was Owned by: was
Priority: blocker Milestone: sage-3.2
Component: misc Keywords:
Cc: mhansen Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description


Attachments

sage-4473.patch Download (1.2 KB) - added by was 22 months ago.

Change History

Changed 22 months ago by was

Changed 22 months ago by was

To test this, make a file foo.sage with

load a.py

in it, and make a.py an empty file. Then try

sage: load foo.sage

and see that you don't get a big nasty printout.

Changed 22 months ago by mabshoff

  • cc mhansen added
  • summary changed from [with patch; needs review] loading file.sage that has a line "load foo.py" is broken due to a missing import to [with patch; positive review] loading file.sage that has a line "load foo.py" is broken due to a missing import

Nice catch. Positive review, we had to fix similar issues once we had updated to IPython 0.8.4.

Cheers,

Michael

Changed 22 months ago by mabshoff

  • status changed from new to closed
  • resolution set to fixed

Merged in Sage 3.2.rc0

Note: See TracTickets for help on using tickets.