You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
idlelib/rpc.py missing exit status on exithook #50898
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/serwy'closed_at=<Date2013-03-31.06:20:57.139>created_at=<Date2009-08-05.16:21:07.220>labels= ['expert-IDLE', 'type-bug']
title='idlelib/rpc.py missing exit status on exithook'updated_at=<Date2013-04-07.07:23:21.998>user='https://bugs.python.org/gpolo'
SocketIO.exithook on idlelib/rpc.py is missing the exit status, this is
a minor issue since both client and server used on IDLE override this
method to do something else.
Activity
gpolo commentedon Aug 5, 2009
SocketIO.exithook on idlelib/rpc.py is missing the exit status, this is
a minor issue since both client and server used on IDLE override this
method to do something else.
serwy commentedon Apr 14, 2012
The existing code will raise an error since os._exit requires an argument. http://docs.python.org/library/os.html#os.\_exit
The patch looks good to me.
python-dev commentedon Mar 31, 2013
New changeset e044d22d2f61 by Roger Serwy in branch '2.7':
bpo-6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
http://hg.python.org/cpython/rev/e044d22d2f61
New changeset cd2c613527ed by Roger Serwy in branch '3.3':
bpo-6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
http://hg.python.org/cpython/rev/cd2c613527ed
New changeset abbbe1f90635 by Roger Serwy in branch 'default':
bpo-6649: merge with 3.3.
http://hg.python.org/cpython/rev/abbbe1f90635
serwy commentedon Mar 31, 2013
Thanks for the patch, Guilherme!
serhiy-storchaka commentedon Apr 7, 2013
Congratulation with your first CPython commit, Roger!