Message76062
Methods of set and frozenset that return new set or frozenset instances
return instances of subclasses, but these instances are not initialized
correctly. In the attached code sample, z is an instance of MySet but
MySet.__new__ and MySet.__init__ are never called on it.
It seems to me that such a method should return a fully-initialized
instance of the subclass. Barring that, it should just return a set or
frozenset instance, not an instance of the subclass. |
|
Date |
User |
Action |
Args |
2008-11-19 17:41:28 | alexhsamuel | set | recipients:
+ alexhsamuel, theller |
2008-11-19 17:41:28 | alexhsamuel | set | messageid: <1227116488.66.0.564572723144.issue4357@psf.upfronthosting.co.za> |
2008-11-19 17:41:28 | alexhsamuel | link | issue4357 messages |
2008-11-19 17:41:27 | alexhsamuel | create | |
|