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 eric.snow
Recipients Oren Milman, eric.snow, serhiy.storchaka
Date 2017-09-12.02:47:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505184448.31.0.0446647071336.issue31404@psf.upfronthosting.co.za>
In-reply-to
Content
This is pretty messy. :(  Ideally we would disallow setting sys.modules to anything except a dict (or perhaps any mapping).  However, we don't have that option currently (see https://github.com/ericsnowcurrently/cpython/tree/sys-module).  In the meantime we have to fix up all the places that are expecting a mapping.

Part of the problem here is that a number of places fail silently, as evidenced by the failures Oren pointed out...
History
Date User Action Args
2017-09-12 02:47:28eric.snowsetrecipients: + eric.snow, serhiy.storchaka, Oren Milman
2017-09-12 02:47:28eric.snowsetmessageid: <1505184448.31.0.0446647071336.issue31404@psf.upfronthosting.co.za>
2017-09-12 02:47:28eric.snowlinkissue31404 messages
2017-09-12 02:47:27eric.snowcreate