[issue7830] Flatten nested functools.partial

Alexander Belopolsky report at bugs.python.org
Tue Nov 30 20:51:15 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

The original motivation for the patch was that if partial() objects are guaranteed to be flat, it would simplify code that deals with them.  See issue4331 for one example.

With a "conservative" patch, however, it will still be possible to create nested partials and the code consuming partials should be ready for that.

----------
keywords:  -needs review
resolution:  -> rejected
stage: commit review -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7830>
_______________________________________


More information about the Python-bugs-list mailing list