[issue24637] locals dictionary in PyRun_String

2016-08-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Matthew! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue24637] locals dictionary in PyRun_String

2016-08-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f2a09950ac8 by Berker Peksag in branch '3.5': Issue #24637: Document that locals can be any mapping object https://hg.python.org/cpython/rev/0f2a09950ac8 New changeset 61c4dbec2e2c by Berker Peksag in branch 'default': Issue #24637: Merge from 3.5

[issue24637] locals dictionary in PyRun_String

2016-08-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: the patch makes sense for me. -- nosy: +matrixise ___ Python tracker ___

[issue24637] locals dictionary in PyRun_String

2016-08-02 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue24637] locals dictionary in PyRun_String

2015-07-15 Thread Matthew Keeter
New submission from Matthew Keeter: The C API docs for PyRun_StringFlags, PyEval_EvalCodeEx, and PyEval_EvalCode say that globals and locals both must be dictionaries. However, digging into the source [1] shows that locals can be any object implementing the mapping protocol. Furthermore,