[Python-bugs-list] [ python-Bugs-690109 ] sys.last_type is missing

SourceForge.net noreply@sourceforge.net
Thu, 20 Feb 2003 07:47:00 -0800


Bugs item #690109, was opened at 2003-02-20 16:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690109&group_id=5470

Category: Python Library
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Viktor Ferenczi (complex)
Assigned to: Nobody/Anonymous (nobody)
Summary: sys.last_type is missing

Initial Comment:
ActivePython 2.2.1 Build 222 (ActiveState Corp.) based on
Python 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from traceback import print_last
>>> try: dffddf
... except: print_last()
...
Traceback (most recent call last):
  File "<stdin>", line 2, in ?
  File "C:\Python\lib\traceback.py", line 219, in print_last
    print_exception(sys.last_type, sys.last_value, sys.last_traceback,
AttributeError: 'module' object has no attribute 'last_type'
>>>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690109&group_id=5470