Message178821
On Jan 02, 2013, at 04:06 PM, Meador Inge wrote:
>I am a little unsure about (3) since I am not sure why the __file__ attribute
>is being removed to begin with. eric.smith?
This is related to PEP 420, which relaxes the requirement that all modules
have a __file__ attribute. Now they only need it if it makes sense. At the
time, we didn't think it made sense for frozen modules to have an __file__.
FrozenImporter.module_repr() provides a reasonable repr in the absence of
__file__.
I'm not sure what to do. I still think it doesn't make a lot of sense for
frozen modules to have an __file__, but perhaps practicality beats purity
here. |
|
Date |
User |
Action |
Args |
2013-01-02 16:22:15 | barry | set | recipients:
+ barry, lemburg, loewis, brett.cannon, jcea, eric.smith, jkloth, Arfrever, Trundle, meador.inge, eric.snow |
2013-01-02 16:22:15 | barry | link | issue16047 messages |
2013-01-02 16:22:15 | barry | create | |
|