Skip to content

Conversation

genotrance
Copy link
Contributor

No description provided.

else:
echo "Please type 'y' or 'n'"
except EOFError:
quit(1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is no stack trace here better than a stack trace for an EofError that deals with stdin reading (which is not supposed to fail)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe EOFError comes up when you hit CTRL-C which indicates the user wants to exit rather than continue. I can remove it if its not warranted.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meh, it's ok.

@Araq Araq merged commit 4523218 into nim-lang:devel May 2, 2018
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