From: Victor Stinner Date: Tue, 19 Apr 2011 22:26:28 +0000 (+0200) Subject: Issue #11223: fix test_dummy_threading, add _dummy_thread.info() X-Git-Tag: v3.3.0a1~2550 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2d70e299985e59b626aedec6d803fc051b863f0c;p=python Issue #11223: fix test_dummy_threading, add _dummy_thread.info() --- diff --git a/Lib/_dummy_thread.py b/Lib/_dummy_thread.py index 13b1f26965..f2465a9c99 100644 --- a/Lib/_dummy_thread.py +++ b/Lib/_dummy_thread.py @@ -149,3 +149,6 @@ def interrupt_main(): else: global _interrupt _interrupt = True + +def info(): + return {'name': 'dummy'}