[issue15085] set.union accepts not set iterables for all but the first argument.

2012-06-16 Thread Stefan Krastanov
New submission from Stefan Krastanov krastanov.ste...@gmail.com: set.union(set([1,2]), [3]) set([1, 2, 3]) set.union([1,2], [3]) TypeError: descriptor 'union' requires a 'set' object but received a 'list' It seems a bit inconsistent. Is it justified somehow? -- components: None

Accessing an instance of a class from within instance of another class

2010-04-30 Thread Stefan Krastanov
SomeOtherFunction(self): self.Data.something() It's an ugly way to implement a pointer or something like it. What is the right way? Cheers Stefan Krastanov P.S. Maybe it's bad idea to use two different view classes, but that is another question. P.P.S. Maybe I'm breaking the encapsulation. What