On Tuesday, July 3, 2012 10:55:21 AM UTC-7, David Roe wrote: > > Hi everyone, > The new doctesting code (#12415) needs a change to the way Sage handles > temporary files, which is described at #13147. We can either > 1. change every use of temporary files within the sage library, or > 2. depend on the speaklater project and use a lazy string. > > Everyone working on the ticket thinks option 2 is the way to go. > Speaklater consists of a single python file and is already used in the new > flask notebook (#11080) by including the python file. Rather than > introduce a strange dependency of sage on the notebook or to separately > include the python file in sage, I would like to propose including > speaklater as a separate spkg (which sagenb and sage would both depend > on). The spkg is 6.6K. > > So vote: > > > [ ] Include speaklater.py in sage without any doctests. >
Does this choice have to be "include speaklater.py in both sage and sagenb", since sagenb uses it, and sagenb should function without the Sage library? If that's right, then I'd prefer to avoid the code duplication, so I prefer either [X] Make speaklater a standard spkg or [X] Import speaklater from sagenb The last of these seems easiest from the sagenb perspective, but maybe sagenb developers have a more accurate take on this. -- John -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org