[Python-checkins] Daily reference leaks (140f7de4d2a5): sum=888

Antoine Pitrou solipsis at pitrou.net
Wed Feb 8 14:34:09 CET 2012


On Wed, 8 Feb 2012 08:11:46 -0500
Benjamin Peterson <benjamin at python.org> wrote:

> 2012/2/8 Nick Coghlan <ncoghlan at gmail.com>:
> > On Tue, Feb 7, 2012 at 2:34 PM,  <solipsis at pitrou.net> wrote:
> >> results for 140f7de4d2a5 on branch "default"
> >> --------------------------------------------
> >>
> >> test_capi leaked [296, 296, 296] references, sum=888
> >
> > This appears to have started shortly after Benjamin's _PyExc_Init
> > bltinmod refcounting change to fix Brett's crash when bootstrapping
> > importlib. Perhaps we have a leak in import.c that was being masked by
> > the DECREF in _PyExc_Init?
> 
> According to test_capi, it's expected to leak?

Hmm... It was expected to leak until I fixed it. That comment should be
obsolete actually.

Regards

Antoine.




More information about the Python-checkins mailing list