Message203340
| Author |
eric.snow |
| Recipients |
Arfrever, berker.peksag, brett.cannon, eric.snow, larry, ncoghlan |
| Date |
2013年11月19日.07:36:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1384846570.08.0.197405981507.issue18864@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Brett: looks like something frozen-related broke due to 6d1656ab2c85a527c.
test_frozen in test_frozen.py is failing now because frozen modules no longer have a __cached__ attribute (which was previously set to None). Previously it was set in PyImport_ExecCodeModuleObject() in import.c. I'm guessing that simply setting __cached__ (and __file__?) in FrozenImporter.exec_module() should restore the previous behavior. Doing so makes the test pass at least. |
|