Message153531
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. |
|
| Date |
User |
Action |
Args |
| 2012-02-17 04:02:37 | eli.bendersky | set | recipients:
+ eli.bendersky, brett.cannon, ncoghlan, ezio.melotti, flox |
| 2012-02-17 04:02:37 | eli.bendersky | set | messageid: <1329451357.33.0.942613065782.issue14035@psf.upfronthosting.co.za> |
| 2012-02-17 04:02:36 | eli.bendersky | link | issue14035 messages |
| 2012-02-17 04:02:36 | eli.bendersky | create | |
|