Hello,
Defensive programming will force you to do things like :
import sys
if sys.version[0] == '2':
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
It seems that there are two kinds of developers (ok, it's over-generalized)
:
1- the ones that have a problem with python and file bugs into the issue
trackers : they don't try to search for solutions, they want core-developers
to check and correct their bugs. The motivation for these developers
D'Aprano wrote:
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