[issue12856] tempfile PRNG reuse between parent and child process
Antoine Pitrou
report at bugs.python.org
Tue Aug 30 03:11:32 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Interesting, thank you.
Two nits:
- the test must be skipped where os.fork() isn't available (namely, under Windows)
- I would do os.read(fd, 100) (or some other large value) rather than os.read(fd, 6), so that the test doesn't depend on the exact length of the random sequences produced
----------
components: +Library (Lib)
nosy: +ncoghlan, pitrou
stage: -> patch review
versions: +Python 2.7, Python 3.2, Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12856>
_______________________________________
More information about the Python-bugs-list
mailing list