Skip to content

halcompile: Don't use python defined function names as variable names#3887

Merged
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_halcompile-keywords
Mar 29, 2026
Merged

halcompile: Don't use python defined function names as variable names#3887
andypugh merged 1 commit intoLinuxCNC:masterfrom
BsAtHome:fix_halcompile-keywords

Conversation

@BsAtHome
Copy link
Copy Markdown
Contributor

The words type, dir and license are python builtin function and should not be used as variable/function names. This PR uses the standard python method to distinguish them by appending an '_' to the variable name.

@andypugh andypugh merged commit 6cb44da into LinuxCNC:master Mar 29, 2026
14 checks passed
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.

2 participants