New submission from lafcadio:
In PlistWriter.writeValue() the line
"elif isinstance(value, int):"
should be changed to
"elif isinstance(value, int) or isinstance(value, long):"
since in http://www.apple.com/DTDs/PropertyList-1.0.dtd is no limitation
to signed 32-bit integer.
It occured an error when I tried to write an "iTunes Music Library.xml"
for the line "Play Date3221924209".
--
components: Demos and Tools, Macintosh, XML
messages: 58963
nosy: lafcadio
severity: normal
status: open
title: plistlib.py restricts to Python int when writing
type: behavior
versions: Python 2.3, Python 2.4, Python 2.5
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1687>
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com