Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I am attaching a patch, issue7830.diff, that takes an ultra-concervative approach: partials are only flattened if both outer and inner are of exact functools.partial type and the inner partial does not have __dict__. ---------- assignee: -> belopolsky keywords: +needs review -patch nosy: +belopolsky -Alexander.Belopolsky stage: -> patch review versions: -Python 2.7 Added file: http://bugs.python.org/file17813/issue7830.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7830> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com