Message84002
`sys.last_type' is missing and thus, traceback.print_last() is not working.
$ python
Python 2.6.1 (r261:67515, Dec 7 2008, 18:56:39)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> try: raise Exception('asdf')
... except: print sys.last_type
...
Traceback (most recent call last):
File "<stdin>", line 4, in <module>
AttributeError: 'module' object has no attribute 'last_type'
>>> import traceback
>>> try: raise Exception('asdf')
... except: traceback.print_last()
...
Traceback (most recent call last):
File "<stdin>", line 4, in <module>
AttributeError: 'module' object has no attribute 'last_type' |
|
Date |
User |
Action |
Args |
2009-03-23 10:01:48 | brtzsnr | set | recipients:
+ brtzsnr |
2009-03-23 10:01:48 | brtzsnr | set | messageid: <1237802508.05.0.8782027083.issue5543@psf.upfronthosting.co.za> |
2009-03-23 10:01:46 | brtzsnr | link | issue5543 messages |
2009-03-23 10:01:45 | brtzsnr | create | |
|