[Python-Dev] For Python 3k, drop default/implicit hash, and comparison

2005-11-08 Thread Technical Support of Intercable Co
Why 'identity' objects can't define: def __getKey__(self): return Key(self, id(self)) Then they would act as usually, while value object can define def __getKey__(self): return Key(self, self.i, self.j, self.a[1]) (Key is an abstraction to handle subclassing) Of course,

[Python-Dev] C.E.R. Thoughts

2005-10-13 Thread Technical Support of Intercable Co
And why not if len(sys.argv) > 1 take sys.argv[1] == 'debug': ... It was not so bad :-) A = len(sys.argv)==0 take None or sys.argv[1] Sorry for being noisy :-) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listi