Message88563
> Returning the same object vs new object for bound methods is a
> non-guaranteed implementation detail (as long the other semantics remain
> true). I think Martin's real concern is that trying to intern bound
> methods would be a can of worms (one that I wouldn't want to open).
I'm also concerned about the change in behavior. Whether or not it is
guaranteed - some code in the world *will* notice. IMO, optimizations
should only be implemented if there is no change in observable behavior,
or if the improvement is so large that breaking compatibility is
justified. |
|
Date |
User |
Action |
Args |
2009-05-30 05:18:18 | loewis | set | recipients:
+ loewis, collinwinter, rhettinger, terry.reedy, pitrou, alex |
2009-05-30 05:18:09 | loewis | link | issue6133 messages |
2009-05-30 05:18:02 | loewis | create | |
|