> I wouldn't go telling you to do more work than you think is > necessary, but if you're willing to do eithr, I'd prefer to see the > second solution in Django; for all the reasons you gave, plus it is > "more backward compatible": Assume I have some code doing > > for receiver, response in my_signal.send_robust(sender): > if isinstance(response, Exception): > my_error_signal.send_robust(sender, exc=response) > > With the second solution, I only need to fix the receivers of the > error signal to enjoy the benefits; With the first, I'll need to fix > both the receivers and the signal-sending code, which may be out of > my control.
Patch on its way then! -- unai
signature.asc
Description: PGP signature
