Skip to content

pass 'self' var in eval call for py310 & py311#37

Open
VKarlaftis wants to merge 1 commit into
isi-nmr:masterfrom
VKarlaftis:bf/eval-self
Open

pass 'self' var in eval call for py310 & py311#37
VKarlaftis wants to merge 1 commit into
isi-nmr:masterfrom
VKarlaftis:bf/eval-self

Conversation

@VKarlaftis

Copy link
Copy Markdown
Contributor

In Python 3.10 and 3.11, the comprehension inside eval() does not reliably see self from the surrounding scope. So changed to pass it not explicitly along with the globals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant