Message232172
| Author |
gvanrossum |
| Recipients |
gvanrossum, vstinner, yselivanov |
| Date |
2014年12月05日.01:32:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAP7+vJL_Tv8w33b9wz6bKV9t=LytUuB6dZWYH4gpA9km=Orqfw@mail.gmail.com> |
| In-reply-to |
<1417740421.07.0.431101274453.issue22926@psf.upfronthosting.co.za> |
| Content |
Maybe only in debug mode? Getting thread ID or current thread may be
expensive. Also it is conceivable that run... is called first from one
thread and then from another. Maybe.
On Dec 4, 2014 4:47 PM, "STINNER Victor" <report@bugs.python.org> wrote:
>
> STINNER Victor added the comment:
>
> Guido, Yury: What do you think? Does it sound reasonable to raise an
> exception if an event loop is used from the wrong thread?
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue22926>
> _______________________________________
> |
|