pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

Code generated for open assume "use autodie;"

Open snoopyjc opened this issue 3 years ago • 1 comments

The code generated for open calls sys.exit() on any exception raised by open. Perl semantics are that open silently fails if it can't open the file. These semantics should be preserved in the generated code.

snoopyjc avatar Nov 26 '21 04:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc