This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: deprecation process in plistlib
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, ezio.melotti, ned.deily, python-dev, ronaldoussoren, vstinner
Priority: normal Keywords: patch

Created on 2011-06-30 14:39 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sysconfig_plistlib.patch vstinner, 2011-06-30 14:39 review
plistlib_deprecation.patch vstinner, 2011-06-30 14:39 review
Messages (3)
msg139481 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-06-30 14:39
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
msg139761 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-07-04 12:28
New changeset 4f14050a963f by Victor Stinner in branch 'default':
Issue #12452: Plist and Dict are now deprecated
http://hg.python.org/cpython/rev/4f14050a963f
msg140120 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-07-11 13:07
Let’s keep one report per bug.  Please open another one for sysconfig, with Mac and distutils maintainers as nosy.
History
Date User Action Args
2022-04-11 14:57:19adminsetgithub: 56661
2011-07-11 13:07:34eric.araujosetstatus: open -> closed

title: reuse plistlib in sysconfig; deprecation process in plistlib -> deprecation process in plistlib
nosy: + eric.araujo

messages: + msg140120
resolution: fixed
stage: resolved
2011-07-04 12:28:51python-devsetnosy: + python-dev
messages: + msg139761
2011-06-30 20:08:48ned.deilysetnosy: + ronaldoussoren, ned.deily
2011-06-30 14:44:49ezio.melottisetnosy: + ezio.melotti
2011-06-30 14:39:30vstinnersetfiles: + plistlib_deprecation.patch
2011-06-30 14:39:20vstinnercreate