[ZODB-Dev] Latest news: core dump with small change to POSException.py

Greg Ward gward@mems-exchange.org
Tue, 25 Sep 2001 20:47:53 -0400


On 25 September 2001, Jeremy Hylton said:
> One of the problems is that _p_resolveConflict() is C code that raises
> a ConflictError and passes it four arguments.  When the exception is
> actually caught in the interpreter and turned into an exception
> object, the call to ConflictError raises a TypeError.  After your
> patch, ConflictError only takes one argument, but it's called with
> four.  PyErr_NormalizeException() returnes normally, but with the bare
> except it dumps core.

Verrry interesting!  Sounds like it just might be a Python bug after
all.

        Greg