SlopPy: An error-tolerant Python interpreter that facilitates sloppy programming

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
501 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 15, 2010

Demo of SlopPy: An error-tolerant Python interpreter that facilitates sloppy programming

http://www.stanford.edu/~pgbovine/SlopPy.html


SlopPy (Sloppy Python) is a modified Python interpreter that ensures your scripts will never crash.

Whenever SlopPy encounters an uncaught exception, instead of crashing the script, it will create a special NA ("Not Available") object, make it the result of the current expression, and continue executing normally. Whenever an NA object appears in an expression, SlopPy propagates it according to special rules. For example, all unary and binary operations involving NA will return NA, and attempts to add NA to a collection will do nothing.

SlopPy allows imperfect scripts to finish executing and produce partial results (and a log of all exceptions), which can be much more informative than simply crashing at the first uncaught exception. It's a drop-in replacement for the Python 2.6 interpreter, so it should work seamlessly with all of your existing scripts and 3rd-party libraries with no run-time slowdown.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more