2016-12-06 | Paul Boddie | file changeset files shortlog | Fixed the native read function, allocating new strings from the input buffer. Added a value to IOError instances and fixed IOError raising in the native functions and helper functions. Added a test of reading data and updated the test runner to send some default input into every test. |
paul@2 | 1 | def f(l, y): |
paul@2 | 2 | return [x for x in l if x > y] |
paul@2 | 3 | |
paul@2 | 4 | result = f([1, 2, 3], 2) |