Skip to content

types.py makes local debugging difficult #602

@mshafer-NI

Description

@mshafer-NI

When attempting to run a single script, the cwd (which is vscode will be the folder of the script) is considered for imports first. This causes Python to import ./types when expecting to import stdlib types (https://docs.python.org/3/library/types.html).

This violates [O.2.1] ❌ DO NOT Redefine or “shadow” declarations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions