Closed GoogleCodeExporter closed 9 years ago
Suggested implementation:
def filter(f, s):
return [x for x in s if f(x)]
Original comment by dwhall...@gmail.com
on 8 Jan 2010 at 4:15
Discovered a bug along the way: if f is not a function, CALL_FUNCTION fails due
to a
PM_RET_ASSERT_FAIL. The proper failure would be to throw a TypeError. Code
changed to
make this happen.
Original comment by dwhall...@gmail.com
on 10 Jan 2010 at 4:55
Original comment by dwhall...@gmail.com
on 10 Jan 2010 at 4:55
Added system test t259. Running system test reveals that RAM is low, created
Issue #63
to resolve low RAM.
Original comment by dwhall...@gmail.com
on 10 Jan 2010 at 5:47
After resolving issue #63, system tests pass. Filter works on ipm, too. Also,
two t259 cases that throw TypeError on purpose did so.
Mainlined directly, see r408
Original comment by dwhall...@gmail.com
on 17 Jan 2010 at 8:09
Changing Milestone-r10 to Milestone-r09
Original comment by dwhall...@gmail.com
on 7 Mar 2010 at 6:26
Changed r09 to R09
Original comment by dwhall...@gmail.com
on 12 Mar 2010 at 8:22
Original comment by dwhall...@gmail.com
on 13 Mar 2010 at 1:30
Original issue reported on code.google.com by
dwhall...@gmail.com
on 8 Jan 2010 at 4:14