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 brett.cannon
Recipients brett.cannon, martin.panter, pitrou
Date 2014-03-24.15:43:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395675812.23.0.310808612659.issue21049@psf.upfronthosting.co.za>
In-reply-to
Content
This might be a shutdown issue. If you print out what module is being imported at the time of the warning its 'io' and it's only coming up after the script has exited (you will notice the warnings come up after the traceback is printed). My guess is some cleanup code that gets called a lot is trying to import io after shutdown cleanup has blasted sys.meta_path.

I should also mention that if you raise an exception instead of print the warning nothing shows up, which is another indicator that this is a shutdown-related issue since that could quite easily consume the exception.

Antoine, any ideas on what might be going on?
History
Date User Action Args
2014-03-24 15:43:32brett.cannonsetrecipients: + brett.cannon, pitrou, martin.panter
2014-03-24 15:43:32brett.cannonsetmessageid: <1395675812.23.0.310808612659.issue21049@psf.upfronthosting.co.za>
2014-03-24 15:43:32brett.cannonlinkissue21049 messages
2014-03-24 15:43:32brett.cannoncreate