Closed GoogleCodeExporter closed 9 years ago
This function may be useful to solve the problem. Though is like a hack.
It should be solved in a lower level
def unique(seq, keepstr=True):
t = type(seq)
if t in (str, unicode):
t = (list, ''.join)[bool(keepstr)]
seen = []
return t(c for c in seq if not (c in seen or seen.append(c)))
source: http://code.activestate.com/recipes/502263/
Original comment by ajuanpi
on 7 May 2010 at 12:11
Sorry for taking so long to reply. I'm accepting the issue.
Original comment by pmatiello
on 25 May 2010 at 10:45
I believe it's fixed in r705.
Feel free to test it downloading the code from the trunk. If something was left
out,
let us know.
Thank you for your report.
Original comment by pmatiello
on 26 May 2010 at 4:13
Original comment by pmatiello
on 2 Jun 2010 at 3:21
Original issue reported on code.google.com by
ajuanpi
on 6 May 2010 at 11:50