nidaqmx-python icon indicating copy to clipboard operation
nidaqmx-python copied to clipboard

types.py makes local debugging difficult

Open mshafer-NI opened this issue 8 months ago • 2 comments

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

mshafer-NI avatar Jun 20 '24 14:06 mshafer-NI