12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- import asyncio
- import time
-
- import redis
-
- import os
- import copy
- import json
-
- import traceback
- import inspect
-
-
- '''
- umod
- # '''
-
- p=print
-
- async def anop(*a,**kw):pass
- def nop(*a,**kw):pass
-
-
- '''
- # '''
-
-
- # GCLMixin
- class globCL():
- init_cnt = 0
- def __init__(self,*a,**kw):
- # for now we are not going to do any weird class stuff
- cls = self.__class__
- cls.init_cnt += 1
-
- pass
- async def persistent_loop(self,*a,**kw):
- pass
- def run_persistent_loop(self,*a,**kw):
- pass
-
-
- # p("300 globCL.init_cnt:",globCL.init_cnt)
- glob_cl = globCL()
- # p("400 globCL.init_cnt:",globCL.init_cnt)
- # glob_cl_b = globCL()
- # p("501 globCL.init_cnt:",globCL.init_cnt)
-
- # print("..",end="\n",flush=True)
-
-
|