[Python-3000] reference leak when pressing Enter at interpreter prompt
Adam Olsen
rhamph at gmail.com
Fri Feb 2 05:18:11 CET 2007
On 1/31/07, Georg Brandl <g.brandl at gmx.net> wrote:
> Brett Cannon schrieb:
> > Seems two references are leaking every time you press Enter at the
> > interpreter prompt in a debug build. Anyone have an inkling of who
> > introduced it?
>
> If anyone wants to look into it:
> It was rev. 53421, the merging of the long-int-unification branch.
long_richcompare doesn't Py_DECREF a and b allocated by CONVERT_BINOP.
This exists in 53421 (and presumably earlier) by doing "1L == 2L" at
the interpreter prompt. There might be another function or two with
the same bug.
--
Adam Olsen, aka Rhamphoryncus
More information about the Python-3000
mailing list