Message206619
| Author |
ronaldoussoren |
| Recipients |
d9pouces, eric.araujo, jrjsmrtn, markgrandi, ned.deily, python-dev, r.david.murray, ronaldoussoren, serhiy.storchaka |
| Date |
2013年12月19日.15:22:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387466577.43.0.054281779563.issue14455@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Conversion to XML results in:
$ plutil -convert xml1 -o - 18446744073709551615.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>a</key>
<integer>18446744073709551615</integer>
</dict>
</plist>
This is the same as what I get with my latest patch:
>>> import plistlib
>>> plistlib.load(open('18446744073709551615.plist', 'rb'))
__main__:1: ResourceWarning: unclosed file <_io.BufferedReader name='18446744073709551615.plist'>
{'a': 18446744073709551615}
(and I have check that I can create a binary plist with a negative integer in this shell session) |
|