e.args == 'unexpected end of data':
+ # was: "raise". But it crashes pyrepl, and by extension the
+ # pypy currently running, in which we are e.g. in the middle
+ # of some debugging session. Argh. Instead just print an
+ # error message to stderr and continue running, for now.
+ sys.stderr.write('\n%s: %s\n' % (e.__class__.__name__, e))