[Python-bugs-list] [ python-Bugs-506679 ] Core dump subclassing long
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 21 Jan 2002 14:36:27 -0800
Bugs item #506679, was opened at 2002-01-21 14:36
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=506679&group_id=5470
Category: Type/class unification
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Nicholas Socci (nsocci)
Assigned to: Nobody/Anonymous (nobody)
Summary: Core dump subclassing long
Initial Comment:
The following code dumps core:
class C(long):
pass
c=C(-1)
Note if running interactly the core dump occurs when
you quit the interpreter. No problem for positive
numbers of if subclassing int or float.
Version information:
Python 2.2 (#1, Dec 28 2001, 14:02:28)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-85)] on
linux2
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=506679&group_id=5470