Author Huyston
Recipients Huyston, Krishna Oza, ronaldoussoren
Date 2019-10-02.14:38:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1570027108.21.0.576932208055.issue38331@roundup.psfhosted.org>
In-reply-to
Content
Ronald Oussoren, I understand your comment and it makes sense in the module perspective.

However, when using 'exec', we are explicitly passing a globals dict (and locals) that the target code should consider.

As the documentation states:
"If globals and locals are given, they are used for the global and local variables, respectively."

In my point of view, the function is not considering the given globals and locals dict.
History
Date User Action Args
2019-10-02 14:38:28Huystonsetrecipients: + Huyston, ronaldoussoren, Krishna Oza
2019-10-02 14:38:28Huystonsetmessageid: <1570027108.21.0.576932208055.issue38331@roundup.psfhosted.org>
2019-10-02 14:38:28Huystonlinkissue38331 messages
2019-10-02 14:38:28Huystoncreate