[Python-bugs-list] [ python-Bugs-475327 ] type() produces incorrect error msg (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Fri, 26 Oct 2001 08:13:40 -0700
- Previous message: [Python-bugs-list] [ python-Bugs-475325 ] Frozen packages broken on the Mac
- Next message: [Python-bugs-list] [ python-Bugs-473150 ] configure weaknesses on HP-UX
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bugs item #475327, was opened at 2001-10-26 08:13 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475327&group_id=5470
Category: Python Interpreter Core Group: Python 2.2 Status: Open Resolution: None Priority: 5 Submitted By: Neal Norwitz (nnorwitz) Assigned to: Nobody/Anonymous (nobody) Summary: type() produces incorrect error msg
Initial Comment: type() takes 1 or 3 arguments, but the error msg is wrong:
type(1) <type 'int'> type('1', (), {}) <class '__main__.1'> type('1', ()) Traceback (most recent call last): File "", line 1, in ? TypeError: type() takes exactly 3 arguments (2 given)
You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475327&group_id=5470
- Previous message: [Python-bugs-list] [ python-Bugs-475325 ] Frozen packages broken on the Mac
- Next message: [Python-bugs-list] [ python-Bugs-473150 ] configure weaknesses on HP-UX
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]