Message233700
| Author |
vstinner |
| Recipients |
gvanrossum, vstinner, yselivanov |
| Date |
2015年01月09日.00:41:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1420764079.77.0.670547785997.issue23198@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attached patch refactors the asyncio.StreamReader class:
- use the value None instead of True or False to wake up the waiter
- add a new _wakeup_waiter() method
- replace _create_waiter() method with a _wait_for_data() coroutine function
The change adds a subgenerator (_wait_for_data), is it an issue in term of performances? (I don't think so.) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年01月09日 00:41:19 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov |
| 2015年01月09日 00:41:19 | vstinner | set | messageid: <1420764079.77.0.670547785997.issue23198@psf.upfronthosting.co.za> |
| 2015年01月09日 00:41:19 | vstinner | link | issue23198 messages |
| 2015年01月09日 00:41:19 | vstinner | create |
|