FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

LR: Manage differences between Python 2 and Python 3 · Issue #27 · moosetechnology/FAST-Python · GitHub

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

Description

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.

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


    Back | FazBrowse Home | New Git URL