diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-15 16:32:09 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2013-07-15 16:32:09 (GMT) |
commit | 0fedb37c47971b75e644b05e5a467dad2a77620b (patch) | |
tree | b2388d2ce0163e9c28aedcf2830720aac2a5d948 /Misc | |
parent | 7f93b36e73b9006772359c02255a468fe7df3fcd (diff) | |
download | cpython-0fedb37c47971b75e644b05e5a467dad2a77620b.zip cpython-0fedb37c47971b75e644b05e5a467dad2a77620b.tar.gz cpython-0fedb37c47971b75e644b05e5a467dad2a77620b.tar.bz2 |
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
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)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -156,6 +156,10 @@ Core and Builtins Library ------- +- Issue #18393: The private module _gestalt and private functions platform._mac_ver_gestalt, + platform._mac_ver_lookup and platform._bcd2str have been removed. This does not + affect the public interface of the platform module. + - Issue #17482: functools.update_wrapper (and functools.wraps) now set the __wrapped__ attribute correctly even if the underlying function has a __wrapped__ attribute set. |