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.
Created on 2013年07月12日 07:31 by rhettinger, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sched.diff | rhettinger, 2013年07月12日 07:31 | Fix sched.queue | review | |
| Messages (5) | |||
|---|---|---|---|
| msg192927 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2013年07月12日 07:31 | |
In Python 2, the queue attribute was a list and it is still documented that way in Python 3: http://docs.python.org/3/library/sched.html#sched.scheduler.queue This appears to be a mistake made during the 2-to-3 conversion. |
|||
| msg192932 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年07月12日 08:00 | |
Perhaps it will be better document it as an iterator? In any case we can call list() to get a list. |
|||
| msg192986 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2013年07月13日 01:01 | |
It's pretty weird to use a property for an iterator. It we really wanted iteration, the appropriate method would be __iter__. |
|||
| msg193027 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年07月14日 05:49 | |
New changeset 359002d4370d by Raymond Hettinger in branch '3.3': Issue #18432: Fix unintended API change in the sched module http://hg.python.org/cpython/rev/359002d4370d |
|||
| msg193040 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2013年07月14日 08:42 | |
Thank you for explanation. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:47 | admin | set | github: 62632 |
| 2013年07月14日 08:42:40 | serhiy.storchaka | set | messages: + msg193040 |
| 2013年07月14日 05:49:59 | rhettinger | set | status: open -> closed resolution: fixed |
| 2013年07月14日 05:49:25 | python-dev | set | nosy:
+ python-dev messages: + msg193027 |
| 2013年07月13日 01:01:47 | rhettinger | set | messages: + msg192986 |
| 2013年07月12日 08:00:31 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka, giampaolo.rodola messages: + msg192932 |
| 2013年07月12日 07:31:21 | rhettinger | create | |