Message139075
| Author |
mouad |
| Recipients |
mouad |
| Date |
2011年06月25日.14:49:35 |
| SpamBayes Score |
0.003848191 |
| Marked as misclassified |
No |
| Message-id |
<1309013375.96.0.63412212065.issue12410@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
While working on issue #12157 [http://bugs.python.org/issue12157], I needed a function that make sure that an operation will not hang forever, for this reason i have create this helper function that support the context manager protocol and accept a timeout as an argument and raise an IOError if the operation didn't terminate before that timeout. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月25日 14:49:36 | mouad | set | recipients:
+ mouad |
| 2011年06月25日 14:49:35 | mouad | set | messageid: <1309013375.96.0.63412212065.issue12410@psf.upfronthosting.co.za> |
| 2011年06月25日 14:49:35 | mouad | link | issue12410 messages |
| 2011年06月25日 14:49:35 | mouad | create |
|