]> granicus.if.org Git - python/commit
MacOSX: ctypes annotation in implementation of getproxies_macosx_sysconf
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 18 May 2008 20:09:54 +0000 (20:09 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 18 May 2008 20:09:54 +0000 (20:09 +0000)
commit099646f29a7521318fd8a9753ee4522769488122
treee194df5f24797fbb09511614bd04cdced023d93d
parent8632cc2573eec74d610d18ae978e349dcc778154
MacOSX: ctypes annotation in implementation of getproxies_macosx_sysconf

getproxies_macosx_sysconf uses ctypes to call SystemConfiguration APIs. This
checkin adds ctypes annotation to specify the right argument types for the
API's that are used.

This is needed to be able to use urllib on a 64-bit system, without
annotations you'd get a hard crash.
Lib/urllib.py