Hello all, I have released version 0.7.0 of my functional module, a collection of higher-order and functional programming tools for Python. Currently offered are tools for function composition, partial function application, plus filter, flip, foldl, foldr, map, scanl and scanr functions.
Two version of the release are available: one is written in pure Python and aims for maximum readability and portability. The other is coded as a C extension module and is focused on raw performance. Where to get it: ######### functional is available from the Python Package Index at http://cheeseshop.python.org/pypi/functional/ Both source tarballs and Python Eggs are available for both the pure Python and C releases. Eggs are available for Python versions 2.3, 2.4 and 2.5. Release Notes ######## + functional now includes map() and filter() functions. These are roughly equivalent to the Python built-in functions, though without some of the weird/incorrect behaviour of the built-ins. Specifically: functional.map() works like the built-in, except functional.map() 1) always takes a single iterable, and 2) doesn't support the None nonsense that the built-in does. functional.filter() works like the built-in, except functional.filter() 1) iterates over subclasses of str, unicode and tuple correctly, 2) doesn't support the None nonsense that the built-in does, 3) always returns a list, unlike the built-in. + Several reference counting-related bugs have been squashed in the C implementation. + The test suite has been enhanced to do reference count checking after each test, making it much easier to track down future errors in the C implementation. + The C implementation now supports Python 2.3, in addition to 2.4 and 2.5 As always, feedback welcome! Collin Winter -- http://mail.python.org/mailman/listinfo/python-list