| Trees | Indices | Help |
|
|---|
|
|
1 # -*- coding: utf-8 -*- 2 # 3 # Copyright (C) 2010-2023 Edgewall Software 4 # All rights reserved. 5 # 6 # This software is licensed as described in the file COPYING, which 7 # you should have received as part of this distribution. The terms 8 # are also available at https://trac.edgewall.org/wiki/TracLicense. 9 # 10 # This software consists of voluntary contributions made by many 11 # individuals. For the exact contribution history, see the revision 12 # history and logs, available at https://trac.edgewall.org/log/. 13 14 try: 15 import threading 16 except ImportError: 17 import dummy_threading as threading 18 threading._get_ident = lambda: 0 19 20 27 28 29 try: 30 threading.get_ident # since Python 3.3 31 except AttributeError: 32 get_thread_id = threading._get_ident 33 else: 34 get_thread_id = threading.get_ident 35
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Aug 11 08:14:44 2023 | http://epydoc.sourceforge.net |