Message220623
| Author |
lemburg |
| Recipients |
barry, brett.cannon, eric.snow, lemburg, ncoghlan |
| Date |
2014年06月15日.09:22:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<539D65D1.3010606@egenix.com> |
| In-reply-to |
<CADiSq7d_SNdo3EWOxTmcAdWPtQRi_UoZb+zxwHZG4PXQf+z+pg@mail.gmail.com> |
| Content |
On 15.06.2014 01:53, Nick Coghlan wrote:
>
> Can we just drop "__file__" and set the origin for frozen modules to
> something that includes the original file name?
This wouldn't really help, because too much code out there uses
the __file__ attribute and assumes it's always available.
Note that the filename information is already available in the
code object's co_filename attribute. |
|