[Python-bugs-list] [ python-Bugs-527816 ] (1).__nonzero__() dumps a core

noreply@sourceforge.net noreply@sourceforge.net
Sun, 10 Mar 2002 06:27:15 -0800


Bugs item #527816, was opened at 2002-03-09 11:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=527816&group_id=5470

Category: Python Interpreter Core
Group: Python 2.2.1 candidate
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Cesar Douady (douady)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: (1).__nonzero__() dumps a core

Initial Comment:
Essentially, all is said.
This is running Pyhton 2.2 on Linux.

>From a rapid analysis, this comes from  a
the slot nb_nonzero of tp_as_number which returns an
integer being called from a wrapper object which
expects a function returning a PyObject* .

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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-03-10 09:27

Message:
Logged In: YES 
user_id=6380

Fixed in CVS.  Thanks!

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

Comment By: Burton Radons (loth)
Date: 2002-03-10 03:20

Message:
Logged In: YES 
user_id=2441

Good spot, and you're right about the source.  I've
submitted Patch #528038 to address this.

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

Comment By: Michael Hudson (mwh)
Date: 2002-03-09 11:13

Message:
Logged In: YES 
user_id=6656

Oops!  Good spot.  Raised priority.

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

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