From bb3bfebdc24eb399a1a65f9e74bcb3dfe2b87633 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 28 Dec 2019 23:48:04 +0100 Subject: [PATCH] stdpy: support name and daemon properties in threading2 module --- direct/src/stdpy/threading2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/direct/src/stdpy/threading2.py b/direct/src/stdpy/threading2.py index f1f2e12b12..e5c2ab9991 100644 --- a/direct/src/stdpy/threading2.py +++ b/direct/src/stdpy/threading2.py @@ -602,6 +602,9 @@ class Thread(_Verbose): assert not self.__started, "cannot set daemon status of active thread" self.__daemonic = daemonic + name = property(getName, setName) + daemon = property(isDaemon, setDaemon) + # The timer class was contributed by Itamar Shtull-Trauring def Timer(*args, **kwargs):