Closed bernhardkaindl closed 3 months ago
Shouldn't the script be moved into python3/
?
Pau asked:
Shouldn't the script be moved into python3/?
Of course, @ashwin9390 created CP-49926 for moving it into python3/ (and ~30 sibling tickets). I did not want to interfere with the order in which he wants to move all of them.
I also added now:
pylint
warning fix for overriding the built-in type str with a variable.
@ashwin9390 @stephenchengCloud
A function in
scripts/examples/python/shell.py
overwrites the modulecmd
with astr
, which results in these (not immediately obvious) warnings:Let's fix it by not overwriting the module
cmd
, by naming the variablecommand
instead of cmd:cmd
andcommand
in the file after the change:This makes it clear that with this change, from
cmd
tocommand
for the last two lines, the conflict is resolved.