[issue16643] Wrong documented default value for timefunc parameter in sched.scheduler()

New submission from Serhiy Storchaka: sched.scheduler() prefers to use time.monotonic as a default value for timefunc parameter, and time.time used only as a fallback. But time.time documented as a default value. ---------- assignee: docs@python components: Documentation messages: 177155 nosy: docs@python, giampaolo.rodola, haypo, serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: Wrong documented default value for timefunc parameter in sched.scheduler() type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Changes by Serhiy Storchaka <storchaka@gmail.com>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Ramchandra Apte added the comment: Here's a patch. ---------- keywords: +patch nosy: +ramchandra.apte Added file: http://bugs.python.org/file28943/issue16643.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Changes by Serhiy Storchaka <storchaka@gmail.com>: ---------- stage: needs patch -> patch review _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Roundup Robot added the comment: New changeset ca56baa46d35 by Terry Jan Reedy in branch 'default': Merge: closes issue 16643 (not ....2 as in last commit message) http://hg.python.org/cpython/rev/ca56baa46d35 ---------- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Terry J. Reedy added the comment: 3.3 was changed also, but with misdirected message ---------- assignee: docs@python -> terry.reedy nosy: +terry.reedy resolution: fixed -> stage: committed/rejected -> patch review status: closed -> open _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Terry J. Reedy added the comment: I guess I should have taken the assignment before pushing ;-) ---------- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Changes by Serhiy Storchaka <storchaka@gmail.com>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Ramchandra Apte added the comment: Here's a patch. ---------- keywords: +patch nosy: +ramchandra.apte Added file: http://bugs.python.org/file28943/issue16643.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Changes by Serhiy Storchaka <storchaka@gmail.com>: ---------- stage: needs patch -> patch review _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Roundup Robot added the comment: New changeset ca56baa46d35 by Terry Jan Reedy in branch 'default': Merge: closes issue 16643 (not ....2 as in last commit message) http://hg.python.org/cpython/rev/ca56baa46d35 ---------- nosy: +python-dev resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Terry J. Reedy added the comment: 3.3 was changed also, but with misdirected message ---------- assignee: docs@python -> terry.reedy nosy: +terry.reedy resolution: fixed -> stage: committed/rejected -> patch review status: closed -> open _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________

Terry J. Reedy added the comment: I guess I should have taken the assignment before pushing ;-) ---------- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue16643> _______________________________________
participants (4)
-
Ramchandra Apte
-
Roundup Robot
-
Serhiy Storchaka
-
Terry J. Reedy