replit / prybar

Pry open those interpreters.
GNU General Public License v2.0
253 stars 52 forks source link

Ensure exit codes (where applicable) #82

Closed wbourne0 closed 2 years ago

wbourne0 commented 2 years ago

This changes a few things:

  1. When not running with -i or -I, the languages which weren't already doing so will exit with the appropriate exit codes.
  2. Updated the python3 functions which were copied from the python source code to match the current supported version. Note that the functions we copied from python 3.8 do not match v3.9 and will need to be updated for future python versions.
  3. NodeJS now logs errors to stderr instead of stdout. This isn't strictly needed, but for iotesting its a bit neater + its more consistent with native node and other languages.

I also locked nix to nixos/nix:2.3.16 since the latest version breaks the build process and this is the easier option for the short term.

replbot commented 2 years ago

unbooping: approved