view zipfile.py @ 127:f5b8a0c0e3cb

Multiple bug fixes in the unix module Bug fix: a fatal OSError could occur inside Popen.poll() inside unix.call(). Bug fix: CPU-time-wise-ultra-fast testees no longer cause negative zero times to be reported on UNIX. Bug fix (regression in 16fe21d6582e): stdin is no longer read to check for Escape presses when it is not available for reading on UNIX. This would cause Upreckon to block until a key was pressed or, if the testee exceeded the wall-clock time limit, until the testee exit. Bug fix: unix.call() now works on Python 3.2. Bug fix: a fatal RuntimeError no longer occurs on problems with memory limits on systems with RLIMIT_VMEM but no RLIMIT_AS.
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 16 May 2011 02:53:24 +0100
parents bbf9c434fa57
children
line wrap: on
line source

import sys
if sys.version_info[0] >= 3:
	if sys.version_info[1] >= 2:
		from zipfile32 import *
	else:
		from zipfile31 import *
else:
	if sys.version_info[0] == 2 and sys.version_info[1] >= 7:
		from zipfile27 import *
	else:
		from zipfile26 import *