test
Tim Peters
tim.peters at gmail.com
Thu Dec 23 11:32:28 EST 2004
[Per Erik Stendahl <mr at berrs.net>]
> sdfdsafasd
Generally speaking, yes, but not if you're concerned about Pythons
before 1.5.2 too. If you are, a reasonable workaround is:
try:
sdfdsafasd
except NameError:
pass
else:
True = None is None and 1 != 2
False = None is not None or 1 == 2
Even so, it's rumored even that doesn't work under HP-UX in some Asian
installations. Disabling threads may help in such cases -- although
in a few of them, using floating-point instead of strings actually
works much better.
For more information, do "man sdfdsafasd" on a Tuesday, but not in a
month containing "r".
More information about the Python-list
mailing list