[Python-Dev] need help with frozen module/marshal/gc issue involving sub-interpreters for importlib bootstrapping

2012-02-06 Thread Brett Cannon
So my grand quest for bootstrapping importlib into CPython is damn close to coming to fruition; I have one nasty bug blocking my way and I can't figure out what could be causing it. I'm hoping someone here will either know the solution off the top of their head or will have the time to have a

Re: [Python-Dev] need help with frozen module/marshal/gc issue involving sub-interpreters for importlib bootstrapping

2012-02-06 Thread Guido van Rossum
Usually this means that you're not doing an INCREF in a place where you should, and the object is kept alive by something else. Do you know which object it is? That might really help... Possibly deleting the last subinterpreter makes the refcount of that object go to zero. Of course it could also

Re: [Python-Dev] need help with frozen module/marshal/gc issue involving sub-interpreters for importlib bootstrapping

2012-02-06 Thread Benjamin Peterson
2012/2/6 Brett Cannon br...@python.org: Thanks for any help people can provide me on this now 5 year quest to get this work finished. Fixed. (_PyExc_Init was behaving badly.) -- Regards, Benjamin ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] need help with frozen module/marshal/gc issue involving sub-interpreters for importlib bootstrapping

2012-02-06 Thread Brett Cannon
On Mon, Feb 6, 2012 at 11:32, Benjamin Peterson benja...@python.org wrote: 2012/2/6 Brett Cannon br...@python.org: Thanks for any help people can provide me on this now 5 year quest to get this work finished. Fixed. (_PyExc_Init was behaving badly.) That did it! Thanks, Benjamin! Doing