2009-02-20 06:50:06 |
Henning Eggers |
bug |
|
|
added bug |
2009-02-20 11:21:37 |
Henning Eggers |
description |
For delegates() to work properly, each class needs to set the context explicitely in the constructor. It seems like this routine action could be done automatically so that it cannot be ommited/forgotten. |
It would be very useful if delegates would add these to a class:
def __eq__(self, other):
return (self.context == other.context)
def __ne__(self, other):
return not (self == other)
|
|
2009-02-20 11:21:37 |
Henning Eggers |
title |
delegates() should set the context automatically. |
delegates() should provide __eq__ and __ne__ operators. |
|
2009-02-20 14:05:30 |
Curtis Hovey |
lazr.delegates: status |
New |
Triaged |
|
2009-02-20 14:05:30 |
Curtis Hovey |
lazr.delegates: importance |
Undecided |
Low |
|
2009-02-20 14:05:30 |
Curtis Hovey |
lazr.delegates: statusexplanation |
|
I think this is right thing to do in most cases. I think it may need to try other.context or other. I expect delegated_bug to equal bug. |
|
2009-10-09 00:10:44 |
Curtis Hovey |
tags |
|
tech-debt |
|
2014-08-21 19:36:25 |
Barry Warsaw |
lazr.delegates: importance |
Low |
Wishlist |
|