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 skrah
Recipients brett.cannon, eric.snow, nadeem.vawda, ncoghlan, pitrou, skrah
Date 2012-02-26.14:37:13
SpamBayes Score 1.5149217e-07
Marked as misclassified No
Message-id <1330267034.63.0.178696916472.issue14080@psf.upfronthosting.co.za>
In-reply-to
Content
> So the test needs to be fixed to call importlib.invalidate_caches()
> after creating the module.

That works. With issue14080.diff I can run the failing combination
without problems:

$ ./python -m test test_sqlite test_imp
[1/2] test_sqlite
test_sqlite skipped -- No module named '_sqlite3'
[2/2] test_imp
1 test OK.
1 test skipped:
    test_sqlite
Those skips are all expected on linux.
[111339 refs]



Is invalidate_caches() a transitional measure until importlib
is fully integrated?
History
Date User Action Args
2012-02-26 14:37:14skrahsetrecipients: + skrah, brett.cannon, ncoghlan, pitrou, nadeem.vawda, eric.snow
2012-02-26 14:37:14skrahsetmessageid: <1330267034.63.0.178696916472.issue14080@psf.upfronthosting.co.za>
2012-02-26 14:37:14skrahlinkissue14080 messages
2012-02-26 14:37:13skrahcreate