This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients brett.cannon, eli.bendersky, ezio.melotti, flox, ncoghlan
Date 2012-02-17.04:02:36
SpamBayes Score 2.0074498e-05
Marked as misclassified No
Message-id <1329451357.33.0.942613065782.issue14035@psf.upfronthosting.co.za>
In-reply-to
Content
Florent, I can reproduce the problem by leaving just the last import_fresh_module in test_fresh_import.py

And your patch fixes it, although as Nick says it's problematic in terms of ref leaks.

What I'm not sure about is why the extra reference is needed. The modules *are* kept in sys.modules, after all.

IIUC, this is probably causing the strange failure I was having with test_xml_etree_c not being able to use the cET_alias global in some tests.
History
Date User Action Args
2012-02-17 04:02:37eli.benderskysetrecipients: + eli.bendersky, brett.cannon, ncoghlan, ezio.melotti, flox
2012-02-17 04:02:37eli.benderskysetmessageid: <1329451357.33.0.942613065782.issue14035@psf.upfronthosting.co.za>
2012-02-17 04:02:36eli.benderskylinkissue14035 messages
2012-02-17 04:02:36eli.benderskycreate