Hi! I think I found the problem, but can not locate it in the interface code, yet.
My test suite uses the @parallel decorator, in order to run several tests at the same time. Under normal circumstances, the gap instances in different branches of a parallelised function have distinct _local_tmpfile(). However, this intended behaviour is very easy to break: sage: @parallel ....: def f(n): ....: return gap._local_tmpfile() ....: sage: L = [t[1] for t in f(range(5))] sage: len(set(L)) # this is how it should be 5 sage: print gap._local_tmpfile() /home/king/.sage//temp/gauss/16041//interface//tmp16041 sage: L = [t[1] for t in f(range(5))] sage: len(set(L)) # this is how it must not be 1 I guess that is an explanation for the problems that I observe: The different branches of my test suite shoot each other into the foot. I am about to open a ticket for that issue. Cheers, Simon -- 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
