classification
Title: Remove MacOS 9-specific codes from exit() and quit()
Type: Stage: resolved
Components: Library (Lib), macOS Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, ned.deily, python-dev, ronaldoussoren, yan12125
Priority: normal Keywords: patch

Created on 2016-10-01 09:47 by yan12125, last changed 2016-10-02 01:35 by ned.deily. This issue is now closed.

Files
File name Uploaded Description Edit
quit-macos9.patch yan12125, 2016-10-01 09:47 review
Messages (3)
msg277802 - (view) Author: Chih-Hsuan Yen (yan12125) * Date: 2016-10-01 09:47
As per PEP 11, MacOS 9 support is removed in Python 2.4. There are some leftovers in CPython code base, among which site.setquit is an example. I propose to remove it for cleaner codes.

Added Mac experts as well as Guido, the author of this code in the 18-years-ago changeset 813f527f3bec
msg277838 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-10-02 01:34
New changeset 2d8d9abb3bf8 by Ned Deily in branch '3.6':
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
https://hg.python.org/cpython/rev/2d8d9abb3bf8

New changeset 2c7034d59c7b by Ned Deily in branch 'default':
Issue #28323: Merge from 3.6
https://hg.python.org/cpython/rev/2c7034d59c7b
msg277840 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2016-10-02 01:35
Thanks for the patch!
History
Date User Action Args
2016-10-02 01:35:13ned.deilysetstatus: open -> closed
type: enhancement ->
messages: + msg277840

resolution: fixed
stage: resolved
2016-10-02 01:34:04python-devsetnosy: + python-dev
messages: + msg277838
2016-10-01 09:47:07yan12125create