@classmethod
    def new(cls, f, name = '', daemon = False):
        t = cls()
        if name is '':
            t.name = f.__name__
        else:
            t.name = name
        def w(*args, **kwargs):
            t.__exec__(f, *args, **kwargs)
        
        t.bind(w)
        if not daemon:
            parent = cls.current()    
            #stackless main task is not an instance of our Tasklet class (but of stackless.tasklet)
            #so we can only keep parent/child relation for Tasklet instances
            if isinstance(parent, cls):
                t._set_parent(parent)
                parent._add_child(t)
            
        return t
a.__floordiv__(b) <==> a//b
dataset/ETHPy150Open concurrence/concurrence/lib/concurrence/core.py/Tasklet.new--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/util/arrays.py/Array.__floordiv__