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.
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:19 | admin | set | github: 56661 |
| 2011年07月11日 13:07:34 | eric.araujo | set | status: 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:51 | python-dev | set | nosy:
+ python-dev messages: + msg139761 |
| 2011年06月30日 20:08:48 | ned.deily | set | nosy:
+ ronaldoussoren, ned.deily |
| 2011年06月30日 14:44:49 | ezio.melotti | set | nosy:
+ ezio.melotti |
| 2011年06月30日 14:39:30 | vstinner | set | files: + plistlib_deprecation.patch |
| 2011年06月30日 14:39:20 | vstinner | create | |