[New-bugs-announce] [issue12452] reuse plistlib in sysconfig; deprecation process in plistlib
report at bugs.python.org
Thu Jun 30 16:39:21 CEST 2011
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
sysconfig uses regex to parse the a .plist file (format based on XML), /System/Library/CoreServices/SystemVersion.plist: the plistlib module can be used instead. I rebuild my patched Python from scatch (make distclean) and I didn't notice any bootstrap issue. The platform module does already use plistlib to parse SystemVersion.plist.
I also noticed that Plist and Dict emit PendingDeprecationWarning since Python 3.1. It's maybe time to switch to DeprecationWarning? test_plistlib doesn't use these classes, and there are not documented.
components: Library (Lib)
title: reuse plistlib in sysconfig; deprecation process in plistlib
versions: Python 3.3
Added file: http://bugs.python.org/file22521/sysconfig_plistlib.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce