#13868: Deal with hooked tp_* functions when using a debug build of Python
-------------------------------+--------------------------------------------
Reporter: jpflori | Owner: GeorgSWeber
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.6
Component: build | Resolution:
Keywords: hook debug | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by SimonKing):
Replying to [comment:3 vbraun]:
> I found the bug, the `PyObject_INIT` was only called when a new integer
/ real object was created and not when a recycled object from the pool was
used. You have to call it in both branches, of course. I'll work out a fix
where the debug preprocessor macro is used to conditionally compile it in.
I am a bit puzzled. Why is this only done when the debug preprocessor
macro is used? Do you claim that this is a bug ''only'' in debug mode? Why
could it not create trouble without debug mode?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13868#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.