Farama-Foundation / Arcade-Learning-Environment

The Arcade Learning Environment (ALE) -- a platform for AI research.
GNU General Public License v2.0
2.1k stars 416 forks source link

Use `sys.exit` instead of `exit` #490

Closed ChristofKaufmann closed 7 months ago

ChristofKaufmann commented 1 year ago

In several places (e. g. here) the code uses the builtin exit function instead of sys.exit. This stackoverflow answer states that the builtin exit function should only be used in interactive mode.

pseudo-rnd-thoughts commented 11 months ago

@ChristofKaufmann Would you be able to make a PR to change this?