Message326717
Agreed about the special case. Minor change suggestion:
``sleep()` always suspends the current task, allowing other tasks to run.
That is, replace "switches execution to another [task]" because there might not be other tasks or they might not be executable - the idea is to allow them to run. Also, replace "pause" with "suspend" (because when delay<=0 there is not really a discernible pause).
https://github.com/python/cpython/pull/9643
If you'd still prefer the previous wording, I'll amend the PR. |
|
Date |
User |
Action |
Args |
2018-09-30 08:49:31 | hniksic | set | recipients:
+ hniksic, asvetlov, docs@python, yselivanov, xtreak |
2018-09-30 08:49:31 | hniksic | set | messageid: <1538297371.15.0.545547206417.issue34476@psf.upfronthosting.co.za> |
2018-09-30 08:49:31 | hniksic | link | issue34476 messages |
2018-09-30 08:49:31 | hniksic | create | |
|