On Sep 24, 8:49 am, Simon King <[email protected]> wrote: > On Sep 24, 3:16 pm, Simon King <[email protected]> wrote: > > > Doing so, the gap and singular interfaces get different file names, > > Works. > > > and moreover the trouble with the @parallel decorator vanishes. > > Doesn't. Sorry, another idea is needed.
Have you considered Python's tempfile module? http://docs.python.org/library/tempfile.html Its whole purpose is to generate unique temporary files like this. I'm not sure if it's thread-safe. I assume it's designed to be safe across multiple processes, though this could easily be avoided by creating separate directories for each process. -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
