http://hg.python.org/cpython/rev/50267d2bb320 changeset: 74086:50267d2bb320 user: Giampaolo Rodola' <g.rodola at gmail.com> date: Mon Dec 19 19:12:01 2011 +0100 summary: (bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684 files: Lib/sched.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Lib/sched.py b/Lib/sched.py --- a/Lib/sched.py +++ b/Lib/sched.py @@ -30,8 +30,11 @@ import time import heapq -import threading from collections import namedtuple +try: + import threading +except ImportError: + import dummy_threading as threading __all__ = ["scheduler"] -- Repository URL: http://hg.python.org/cpython