[issue29532] functools.partial is not compatible between 2.7 and 3.5

Steven D'Aprano report at bugs.python.org
Sat Feb 11 03:26:31 EST 2017


Steven D'Aprano added the comment:

Confirmed that in Python 2.7 calling g() before and after modifying the dict prints 3 both times; calling g() before modifying the dict prints 3, then after modifying it prints 5.

Python 3.3 behaves like 2.7, so this sounds like a regression in 3.5 or maybe 3.4.

----------
nosy: +steven.daprano
versions: +Python 3.4, Python 3.6

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


More information about the Python-bugs-list mailing list