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

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +950 ___ Python tracker ___ ___

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

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +612 ___ Python tracker ___ ___

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

2017-02-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2017-02-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5010a77a4da76d8d3fd861a63a7f1ce8f0e9c520 by GitHub in branch '3.5': [3.5] bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affects a partial object after creation. (#222)

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

2017-02-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +186 ___ Python tracker ___ ___

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

2017-02-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e48fd93bbb36c6d80aa4eb6af09f58c69d8cf965 by GitHub in branch '3.6': bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affects a partial object after creation. (#209)

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

2017-02-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +178 ___ Python tracker ___ ___

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

2017-02-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +165 ___ Python tracker ___ ___

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

2017-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9639e4ab6d5bd3ca0ab34fef127e9fc84b6b88b9 by GitHub in branch 'master': bpo-29532: Altering a kwarg dictionary passed to functools.partial() (#190) https://github.com/python/cpython/commit/9639e4ab6d5bd3ca0ab34fef127e9fc84b6b88b9 --

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

2017-02-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +156 ___ Python tracker ___ ___

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

2017-02-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Agree that this is a bug. Patch and test looks good. -- nosy: +rhettinger ___ Python tracker ___

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

2017-02-13 Thread INADA Naoki
INADA Naoki added the comment: patch LGTM. -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list

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

2017-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, this can be considered a bug. Following patch fixes it. -- components: +Library (Lib) keywords: +patch nosy: +serhiy.storchaka stage: -> patch review versions: +Python 3.7 -Python 3.4 Added file:

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

2017-02-11 Thread Steven D'Aprano
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

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

2017-02-10 Thread Naoyuki Kamo
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: