17 Mar
2009
17 Mar
'09
16:32
On Tue, Mar 17, Klaus Kaempf wrote:
* Jan Blunck
[Mar 17. 2009 15:50]: On Tue, Mar 17, Jan Blunck wrote:
What would make sense would be:
def test_pool_iterate: for s in self.pool: assert s.pool() == self.pool
That must read as follows:
assert str(s.pool()) == str(self.pool)
No! If you need workarounds like this, its a bug in the bindings.
Right.
(Missing 'equality' function for Pool in Python)
That should be done by SWIG automagically. It knows that it is working with _Pool pointers so it should implement a __cmp()__ method for comparing them. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org