On Mon, Jul 15, 2013 at 11:32 AM, ronald.oussoren <python-check...@python.org> wrote: > http://hg.python.org/cpython/rev/ccbaf6762b54 > changeset: 84634:ccbaf6762b54 > user: Ronald Oussoren <ronaldousso...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com