[Python-checkins] cpython: Issue #11223: fix test_dummy_threading, add _dummy_thread.info()

victor.stinner python-checkins at python.org
Wed Apr 20 00:28:36 CEST 2011


http://hg.python.org/cpython/rev/bc1c6bd7eeb0
changeset: 69458:bc1c6bd7eeb0
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Wed Apr 20 00:26:28 2011 +0200
summary:
 Issue #11223: fix test_dummy_threading, add _dummy_thread.info()
files:
 Lib/_dummy_thread.py | 3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Lib/_dummy_thread.py b/Lib/_dummy_thread.py
--- a/Lib/_dummy_thread.py
+++ b/Lib/_dummy_thread.py
@@ -149,3 +149,6 @@
 else:
 global _interrupt
 _interrupt = True
+
+def info():
+ return {'name': 'dummy'}
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /