Message229813
| Author |
serhiy.storchaka |
| Recipients |
martin.panter, pitrou, serhiy.storchaka, vstinner |
| Date |
2014年10月22日.12:08:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1413979700.2.0.331342885449.issue22599@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Since I wrote tokenize.open(), I can explain why I chose to import builtins :-)
Then it is good to me.
> I would prefer something like traceback_ignore_linecache_error.patch, perhaps combined with a new function that would tell you whether the interpreter is shutting down.
I think we can apply both solutions. Keeping a reference to open will make traceback more usable at exit and ignoring exception will make it more robust in worst case.
And I support the idea about public function or attribute that would tell you whether the interpreter is shutting down. This would be useful in many modules. But this is different issue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年10月22日 12:08:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner, martin.panter |
| 2014年10月22日 12:08:20 | serhiy.storchaka | set | messageid: <1413979700.2.0.331342885449.issue22599@psf.upfronthosting.co.za> |
| 2014年10月22日 12:08:20 | serhiy.storchaka | link | issue22599 messages |
| 2014年10月22日 12:08:19 | serhiy.storchaka | create |
|