[pypy-issue] [issue830] sys.exit() not printing newline

Arni Mar tracker at bugs.pypy.org
Tue Aug 16 13:28:04 CEST 2011

New submission from Arni Mar <arnimarj at gmail.com>:

when running "sys.exit(string)" under Python 2.7 the string is output along with
a trailing newline, before exiting the program. pypy does not print the newline.

arni at morrow:~/py-leveldb$ cat hello.py
import sys

sys.exit('hello world')
arni at morrow:~/py-leveldb$ python hello.py
hello world
arni at morrow:~/py-leveldb$
./versions/pypy-c-jit-43780-b590cf6de419-linux64/bin/pypy hello.py

messages: 2953
nosy: arnimar, pypy-issue
priority: bug
release: 1.5
status: unread
title: sys.exit() not printing newline

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list