This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author naoyuki
Recipients naoyuki
Date 2017-02-11.07:20:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486797601.63.0.771798059735.issue29532@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2017-02-11 07:20:01naoyukisetrecipients: + naoyuki
2017-02-11 07:20:01naoyukisetmessageid: <1486797601.63.0.771798059735.issue29532@psf.upfronthosting.co.za>
2017-02-11 07:20:01naoyukilinkissue29532 messages
2017-02-11 07:20:01naoyukicreate