isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
263 stars 57 forks source link

Odd behaviour with debug flag #206

Closed marknsikora closed 8 years ago

marknsikora commented 8 years ago

The new debug flag support for the repl adds an interesting corner case

$ ./pyth.py --debug
Traceback (most recent call last):
  File "./pyth.py", line 709, in <module>
    code_lines = list(open(file_or_string, encoding='iso-8859-1'))
FileNotFoundError: [Errno 2] No such file or directory: '--debug'
isaacg1 commented 8 years ago

Fixed by 480bab1