Message301936
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... |
|
Date |
User |
Action |
Args |
2017-09-12 02:47:28 | eric.snow | set | recipients:
+ eric.snow, serhiy.storchaka, Oren Milman |
2017-09-12 02:47:28 | eric.snow | set | messageid: <1505184448.31.0.0446647071336.issue31404@psf.upfronthosting.co.za> |
2017-09-12 02:47:28 | eric.snow | link | issue31404 messages |
2017-09-12 02:47:27 | eric.snow | create | |
|