(no subject)
Chad Netzer
cnetzer at mail.arc.nasa.gov
Fri Jan 31 16:55:24 EST 2003
On Fri, 2003-01-31 at 13:31, Michele Simionato wrote:
> I posted a stripped version of my code, In the original I check against
> sys.version before changing __builtin__
Perhaps rather than do a version check, you could do:
try:
True
False
except NameError:
# Add to builtins here
--
Bay Area Python Interest Group - http://www.baypiggies.net/
Chad Netzer
(any opinion expressed is my own and not NASA's or my employer's)
More information about the Python-list
mailing list