basic threading question

bambam david at asdf.asdf
Tue Oct 30 19:58:47 EDT 2007


Are function variables thread safe?

def f(a):
    # whatever
    return float(a)

Is that OK?

def f(a):
    #whatever
    b=a:
    #whatever:
    return float(b)

Is that OK?

Steve. 





More information about the Python-list mailing list