Ticket #19511: #19511-thread_safe_bound_method_weakref.diff

File #19511-thread_safe_bound_method_weakref.diff, 455 bytes (added by German M. Bravo, 12 years ago)
  • django/dispatch/saferef.py

    class BoundMethodWeakref(object):  
    8989            return current
    9090        else:
    9191            base = super( BoundMethodWeakref, cls).__new__( cls )
    92             cls._allInstances[key] = base
    9392            base.__init__( target, onDelete, *arguments,**named)
     93            cls._allInstances[key] = base
    9494            return base
    9595   
    9696    def __init__(self, target, onDelete=None):
Back to Top