Message 178462 - Python tracker (original) (raw)
Message178462
Author | pitrou |
---|---|
Recipients | glynnc, pitrou, vinay.sajip |
Date | 2012-12-29.01:58:18 |
SpamBayes Score | -1.0 |
Marked as misclassified | Yes |
Message-id | 1356746299.31.0.931849820134.issue16778@psf.upfronthosting.co.za |
In-reply-to |
Content |
---|
Passing a globals() instance looks hackish. importlib uses another approach: http://hg.python.org/cpython/file/5ef49659935f/Lib/importlib/_bootstrap.py#l303 Note that it is a pity that code objects don't have a __module__ attribute. Perhaps it would be a nice feature for 3.4. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2012-12-29 01:58:19 | pitrou | set | recipients: + pitrou, vinay.sajip, glynnc |
2012-12-29 01:58:19 | pitrou | set | messageid: 1356746299.31.0.931849820134.issue16778@psf.upfronthosting.co.za |
2012-12-29 01:58:19 | pitrou | link | issue16778 messages |
2012-12-29 01:58:18 | pitrou | create |