-
-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
I'm forwarding bug #689431 from Debian [1]:
"Eike discovered that bpython does not cleanly pass on the script's exit status to the parent shell in interactive mode.
Example:
- Call bpython.
- Type exit(120)
- Check with echo $?
Result:
$ bpython; echo $?
# enter exit(120)
0
Expected result:
$ bpython; echo $?
# enter exit(120)
120"
And indeed, the vanilla Python interpreter exits with 120 in that case.
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689431
- Bitbucket: https://bitbucket.org/bobf/bpython/issue/227
- Originally Reported By: Sebastian Ramacher
- Originally Created At: 2012-10-02T19:14:35.129