From 11e6793e53790201b7356a2511178cf3cc9543d5 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Sun, 28 Mar 2010 12:20:28 -0700 Subject: [PATCH] Flipped debug to default to true for greenpool.spawn_n, to be consistent with the behavior of every other spawn function. You can turn off this exception printing by calling eventlet.debug.hub_exceptions(False) --- eventlet/greenpool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventlet/greenpool.py b/eventlet/greenpool.py index 4027ab8..afac07d 100644 --- a/eventlet/greenpool.py +++ b/eventlet/greenpool.py @@ -9,7 +9,7 @@ from eventlet.support import greenlets as greenlet __all__ = ['GreenPool', 'GreenPile'] -DEBUG = False +DEBUG = True class GreenPool(object): """The GreenPool class is a pool of green threads.