Changes between Initial Version and Version 1 of Ticket #9970
 Timestamp:
 09/22/10 22:36:33 (11 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #9970 – Description
initial v1 24 24 True 25 25 }}} 26 On sage.math, I get26 The script 27 27 {{{ 28 28 #!python 29 sage: import tempfile 30 sage: 31 sage: fail = 0 32 sage: for i in xrange(1000): 33 ....: tmpdir = tempfile.mkdtemp() 34 ....: r.chdir(tmpdir) 35 ....: if tmpdir not in sageobj(r.getwd()): 36 ....: fail += 1 37 ....: 38 sage: print fail 39 13 29 import tempfile 30 31 fail = 0 32 for i in xrange(1000): 33 tmpdir = tempfile.mkdtemp() 34 r.chdir(tmpdir) 35 if tmpdir not in sageobj(r.getwd()): 36 fail += 1 37 38 print fail 40 39 }}} 41 for example.40 prints 12, 11, 14, etc., when run repeatedly on sage.math.