Make functional.partial() more closely match the spec by emulating some useful features of regular functions:
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.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator