Class Req:
    def __init__(s,headers):
        s.headers = headers

    referer =\ 
    property(lambda s:s.headers['Connection'],
             lambda s,v:s.headers.__setitem__('referer',v))

each thread has its own instance of class Req, Req instances are not shared
between threads


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to