[Python-bugs-list] [ python-Bugs-620193 ] bound method unbound
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 08 Oct 2002 23:27:42 -0700
Bugs item #620193, was opened at 2002-10-08 14:32
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=620193&group_id=5470
Category: Python Interpreter Core
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexander Schmolck (aschmolck)
Assigned to: Nobody/Anonymous (nobody)
Summary: bound method unbound
Initial Comment:
>>> repr('NewKlass.classMethod')
<bound method type.classMethod of <class
'__main__.NewKlass'>
>>> type(NewKlass.classMethod) is types.UnboundMethodType
1
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-09 08:27
Message:
Logged In: YES
user_id=21627
Why is this a bug? Bound and unbound methods do have the
same type.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=620193&group_id=5470