[Python-bugs-list] [ python-Bugs-444229 ] 5 .__new__(list, '42') == 42
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 24 Jul 2001 12:32:13 -0700
Bugs item #444229, was opened at 2001-07-24 12:32
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=444229&group_id=5470
Category: type/class unification
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Guido van Rossum (gvanrossum)
Summary: 5 .__new__(list, '42') == 42
Initial Comment:
This expression should raise an exception, since list
is not a subclass of int.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=444229&group_id=5470