]> granicus.if.org Git - python/commit
Make functional.partial() more closely match the spec by emulating
authorRaymond Hettinger <python@rcn.com>
Tue, 8 Mar 2005 06:14:50 +0000 (06:14 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 8 Mar 2005 06:14:50 +0000 (06:14 +0000)
commitc8b6d1bd8c9dcd7fd69282ab65dded5c9a89af77
tree9d41e1845e634f489eb3682d46378a0fd3d22e68
parentff564d3391ef70e453a49d64b68a2f902c40a5b2
Make functional.partial() more closely match the spec by emulating
some useful features of regular functions:

* Made weak referencable.
* Allow attribute access so a user can set __name__, __doc__, etc.
Lib/test/test_functional.py
Modules/functionalmodule.c