pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

Checking result of print doesn't generate proper code

Open snoopyjc opened this issue 3 years ago • 1 comments

Checking result of print doesn't generate proper code. The python print returns None no matter what happens, so code like:

print FILE, data or die("print failed");

will always die.

snoopyjc avatar Nov 28 '21 18:11 snoopyjc

Fixed in https://github.com/snoopyjc/pythonizer

snoopyjc avatar Feb 07 '22 16:02 snoopyjc