[Python-Dev] [Python-checkins] cpython: Issue #18393: Remove use of deprecated API on OSX
Zachary Ware
zachary.ware at gmail.com
Mon Jul 15 18:43:46 CEST 2013
On Mon, Jul 15, 2013 at 11:32 AM, ronald.oussoren
<python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/ccbaf6762b54
> changeset: 84634:ccbaf6762b54
> user: Ronald Oussoren <ronaldoussoren at mac.com>
> date: Mon Jul 15 18:32:09 2013 +0200
> summary:
> Issue #18393: Remove use of deprecated API on OSX
>
> The "Gestalt" function on OSX is deprecated (starting with OSX 10.8),
> remove its usage from the stdlib. The patch removes a number of private
I believe this means that Lib/test/leakers/test_gestalt.py can be
removed as well.
> functions and a private module, but does not change the public API.
>
> The removed code was effectively dead, the platform module has used
> other code to fetch the OSX version for years and could only use
> on the Gestalt-based code as a fallback. That fallback can only trigger
> on broken OSX installs (that is, someone has removed parts of the system
> install)
>
> files:
> Lib/platform.py | 64 +-------------------------
> Misc/NEWS | 4 +
> Modules/_gestalt.c | 84 ----------------------------------
> setup.py | 4 -
> 4 files changed, 5 insertions(+), 151 deletions(-)
>
>
> <snip diffs>
>
> --
> Repository URL: http://hg.python.org/cpython
>
--
Zach
More information about the Python-Dev
mailing list