This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hniksic
Recipients asvetlov, docs@python, hniksic, xtreak, yselivanov
Date 2018-09-30.08:49:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538297371.15.0.545547206417.issue34476@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-09-30 08:49:31hniksicsetrecipients: + hniksic, asvetlov, docs@python, yselivanov, xtreak
2018-09-30 08:49:31hniksicsetmessageid: <1538297371.15.0.545547206417.issue34476@psf.upfronthosting.co.za>
2018-09-30 08:49:31hniksiclinkissue34476 messages
2018-09-30 08:49:31hniksiccreate