Roundup Robot added the comment:
New changeset 467c46e312eb by Serhiy Storchaka in branch '3.3':
Issue #16165: Fix sched.scheduler.run() method was block a scheduler for
http://hg.python.org/cpython/rev/467c46e312eb
New changeset ac919a281643 by Serhiy Storchaka in branch 'default':
Issue
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
Serhiy Storchaka added the comment:
Sorry, Chris. I have opened too many browser tabs. ;)
--
nosy: -chris.jerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
Serhiy Storchaka added the comment:
If no one objects I will commit this next year.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
Giampaolo Rodola' added the comment:
Sorry for chiming in so late.
The patch looks fine to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file27826/sched_unblock_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
Serhiy Storchaka added the comment:
Oh, I submitted wrong patch (it contained unrelated changes). Here is a right
one.
--
Added file: http://bugs.python.org/file28254/sched_unblock_3.patch
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file27490/sched_unblock.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
Serhiy Storchaka added the comment:
Tests added. Please review.
--
keywords: +needs review
Added file: http://bugs.python.org/file27825/sched_unblock_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file27825/sched_unblock_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file27826/sched_unblock_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
New submission from Serhiy Storchaka:
sched.scheduler.run() blocks scheduler and prevents the addition of new events
until all events added before start will not be processed. Canceling does not
work too.
Here is test script which reproduces the behavior differences.
Output in Python 3.2:
Serhiy Storchaka added the comment:
Here is a patch that releases lock for other threads.
--
keywords: +patch
Added file: http://bugs.python.org/file27490/sched_unblock.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
16 matches
Mail list logo