Skip to content

LR: Manage differences between Python 2 and Python 3 #27

Description

@jecisc

The scope system changed between Python 2 and 3 on some aspects and we should let the user configure the version to have correct results.

For example, in Python 2 a list comprehension did not had a scope level, thus the variable declared in the comprehension leaked after its expression. In Python 3, the comprehension has its own scope preventing a leakage.

For now, I'll manage this as if we knew the model is in Python 3. But we should probably add support for Python 3 later.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions