• Ronald Oussoren's avatar
    Issue #18393: Remove use of deprecated API on OSX · 0fedb37c
    Ronald Oussoren yazdı
    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)
    0fedb37c
platform.py 47 KB