Hi, I found a bug in the f10 version. When calling with the idfun argument it returns a list of the id objects instead of the original objects. ... : else: :: for x in seq: ::: x = idfun(x) ::: if x in seen: :::: continue ::: seen.add(x) ::: yield x ----- should be: ... : else: :: for x in seq: ::: xi = idfun(x) ::: if xi in seen: :::: continue ::: seen.add(xi) ::: yield x
Comment
Hi, I found a bug in the f10 version. When calling with the idfun argument it returns a list of the id objects instead of the original objects.
...
: else:
:: for x in seq:
::: x = idfun(x)
::: if x in seen:
:::: continue
::: seen.add(x)
::: yield x
-----
should be:
...
: else:
:: for x in seq:
::: xi = idfun(x)
::: if xi in seen:
:::: continue
::: seen.add(xi)
::: yield x