Message148218
| Author |
pitrou |
| Recipients |
brian.curtin, jnoller, pitrou, python-dev, sbt, tim.golden |
| Date |
2011年11月24日.00:27:28 |
| SpamBayes Score |
2.9019225e-06 |
| Marked as misclassified |
No |
| Message-id |
<1322094141.3284.11.camel@localhost.localdomain> |
| In-reply-to |
<1322091504.45.0.551082620446.issue12328@psf.upfronthosting.co.za> |
| Content |
> > It seems to me that ERROR_OPERATION_ABORTED is a "true" error, and so
> > should raise an exception.
>
> I guess so, although we do expect it whenever poll() times out. What
> exception would be appropriate? BlockingIOError? TimeoutError?
I would say either an OSError with the appropriate winerror, or a
specific exception (_multiprocessing.win32.OperationAbortedError?).
Or perhaps a ValueError. |
|