Message139481
| Author |
vstinner |
| Recipients |
vstinner |
| Date |
2011年06月30日.14:39:19 |
| SpamBayes Score |
2.5861058e-07 |
| Marked as misclassified |
No |
| Message-id |
<1309444761.1.0.605266895542.issue12452@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月30日 14:39:21 | vstinner | set | recipients:
+ vstinner |
| 2011年06月30日 14:39:21 | vstinner | set | messageid: <1309444761.1.0.605266895542.issue12452@psf.upfronthosting.co.za> |
| 2011年06月30日 14:39:20 | vstinner | link | issue12452 messages |
| 2011年06月30日 14:39:20 | vstinner | create |
|