On 1/31/07, Georg Brandl <[EMAIL PROTECTED]> 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 _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
