Message220254
| Author |
vinay.sajip |
| Recipients |
lemburg, python-dev, vinay.sajip |
| Date |
2014年06月11日.11:22:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1402485769.69.0.869832298656.issue21709@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Please also add some comment explaining why this is done in this way.
Natürlich :-)
> it may be worthwhile introducing some generic helper to the stdlib
Wouldn't you have to pass in a function (or code object) from a specific module, though? It seems more logical to have __file__ set, even for frozen modules (after all, if it's there in a code object's co_filename, is there some reason it shouldn't be exposed as a module attribute? (Even though it isn't at the moment.) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年06月11日 11:22:49 | vinay.sajip | set | recipients:
+ vinay.sajip, lemburg, python-dev |
| 2014年06月11日 11:22:49 | vinay.sajip | set | messageid: <1402485769.69.0.869832298656.issue21709@psf.upfronthosting.co.za> |
| 2014年06月11日 11:22:49 | vinay.sajip | link | issue21709 messages |
| 2014年06月11日 11:22:49 | vinay.sajip | create |
|