Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread jq-zope
[EMAIL PROTECTED] writes: > >>> t.timeTime() > 953146937.0 > >>> int( t.timeTime() ) > 953146936 < This is wrong > >>> int( 953146937.0 ) > 953146937 > > Any ideas on how this can be happening. Stepping through the DateTime module > yields the sensible return valu

Re: [Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread jq-zope
"Stolker, Wim" <[EMAIL PROTECTED]> writes: > I do not know how the exceptions are named. > If I catch the exception with a general 'except:' statement > it works but I cannot see the info from the exception, sys.exc_* should work, as in import sys try: raise "Blubber" except: print "