[Python-bugs-list] [ python-Bugs-753451 ] classmethod abuse --> SystemError

SourceForge.net noreply@sourceforge.net
Thu, 12 Jun 2003 11:09:50 -0700


Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"

Bugs item #753451, was opened at 2003-06-12 19:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=753451&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: classmethod abuse --> SystemError


Initial Comment:
This is obviously a silly thing to do:

>>> classmethod(1).__get__(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
SystemError: ../Objects/classobject.c:2102: bad
argument to internal function

but I think that's still a bug.

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

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