[Python-bugs-list] [Bug #115987] Crash in __coerce__ (2.0b2)

noreply@sourceforge.net noreply@sourceforge.net
Wed, 4 Oct 2000 01:26:48 -0700


Bug #115987, was updated on 2000-Oct-04 01:26
Here is a current snapshot of the bug.

Project: Python
Category: Core
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: Crash in __coerce__ (2.0b2)

Details: The example below results in a hard crash (Application Error) on w2k.

Python 2.0b2 (#6, Sep 26 2000, 14:59:21) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> class A:
...     def __init__(self, v):
...         self.v = v
...     def __iadd__(self, v):
...         return self.v + v
...     def __coerce__(self, x):
...         print "__coerce__", v
...
>>> a = A(5)
>>> a += 6
__coerce__


The instruction at "0x1e127647" referenced memory as 0x00000046". The memory could not be "read".


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=115987&group_id=5470