3 Mar
2011
3 Mar
'11
1:05 a.m.
Jérôme Radix wrote:
Hello,
Defensive programming will force you to do things like :
import sys if sys.version[0] == '2':
Really? Do you already do this? if sys.version < '2.2': result = apply(func, arguments) else: result = func(*arguments) And if so, have you tested it in Python 1.5 to see what happens? -- Steven