New submission from Naoyuki Kamo: The code: from functools import partial def f(a): print(a) d = {'a': 3} g = partial(f, **d) g() d['a'] = 5 g()
On python2.7, gets 3 but on python3.5, gets 5 is it a bug? ---------- messages: 287594 nosy: naoyuki priority: normal severity: normal status: open title: functools.partial is not compatible between 2.7 and 3.5 type: behavior versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29532> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com