New submission from STINNER Victor <victor.stin...@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.
=> sysconfig_plistlib.patch

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.
=> plistlib_deprecation.patch

----------
components: Library (Lib)
files: sysconfig_plistlib.patch
keywords: patch
messages: 139481
nosy: haypo
priority: normal
severity: normal
status: open
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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12452>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to