Skip to content
Branch: master
Find file History
benjaminp and HyukjinKwon [SPARK-23522][PYTHON] always use sys.exit over builtin exit
The exit() builtin is only for interactive use. applications should use sys.exit().

## What changes were proposed in this pull request?

All usage of the builtin `exit()` function is replaced by `sys.exit()`.

## How was this patch tested?

I ran `python/run-tests`.

Please review before opening a pull request.

Author: Benjamin Peterson <>

Closes #20682 from benjaminp/sys-exit.
Latest commit 7013eea Mar 8, 2018
You can’t perform that action at this time.