Issue 1077862: assert fail to threw exception when run python with '-O' (original) (raw)
in both 2.3 and 2.4 version, if you run 'python -O', assert fail to threw excetption when it should.
example
python -O Python 2.3.3 (#4, Apr 11 2004, 12:01:37) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-20)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
try: ... assert(1==2) ... print 'yyy' ... except: ... print 'zzz' ... yyy