Control: forwarded -1 https://bitbucket.org/bobf/bpython/issue/227/does-not-pass-on-exit-status-to-shell
Hi On 2012-10-02 16:32:41, Dominik George wrote: > > Eike discovered that bpython does not cleanly pass on the script's exit > status to the parent shell in interactive mode. > > Example: > > 1. Call bpython. > 2. Type exit(120) > 3. Check with echo $? > > Result: > > $ bpython; echo $? > # enter exit(120) > 0 > > Expected result: > > $ bpython; echo $? > # enter exit(120) > 120 thanks for the report. In this case bpython really deviates from the vanilla Python interpreter's behavior. So we should fix that. Regards -- Sebastian Ramacher
signature.asc
Description: Digital signature