5 Jan
2001
5 Jan
'01
2:51 p.m.
Shane Hathaway wrote:
when a product has syntax errors. One of the first things I did at Digital Creations was make sure that got fixed. :-)
Does this mean this bit from your average product's __init__.py isn't neeeded anymore?
except: # If we can't register, complain! import sys, traceback, string type, val, tb = sys.exc_info() sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) del type, val, tb
That's right. As long as you're in -D mode or you have the event log going somewhere, you'll see these kind of exceptions.
Cool, what version was it fixed in? I'll chop the code out of Squishdot et al as soon as I get the chance :-) cheers, Chris