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.

Title: restricts to Python int when writing
Type: behavior Stage:
Components: Demos and Tools, macOS, XML Versions: Python 2.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, georg.brandl, lafcadio
Priority: normal Keywords:

Created on 2007-12-22 17:01 by lafcadio, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg58963 - (view) Author: (lafcadio) Date: 2007-12-22 17:01
In PlistWriter.writeValue() the line 
  "elif isinstance(value, int):"
should be changed to
  "elif isinstance(value, int) or isinstance(value, long):"
since in 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 "<key>Play Date</key><integer>3221924209</integer>".
msg59184 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-04 00:05
Fixed in trunk r59688

Should it be backported to 2.5?
msg59225 - (view) Author: (lafcadio) Date: 2008-01-04 14:08
tiran wrote:
> Should it be backported to 2.5?

I'm sure to understand what 'backport' means. Of course it would be nice
if in future 2.5 versions the read data could be written. But for me its
not important.
msg60225 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-19 20:34
Backported in r60098.
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46028
2008-01-19 20:34:24georg.brandlsetstatus: pending -> closed
resolution: remind -> fixed
messages: + msg60225
nosy: + georg.brandl
2008-01-04 14:08:52lafcadiosetmessages: + msg59225
2008-01-04 13:11:40christian.heimessetpriority: normal
resolution: fixed -> remind
versions: - Python 2.6, Python 3.0
2008-01-04 00:05:35christian.heimessetstatus: open -> pending
nosy: + christian.heimes
messages: + msg59184
resolution: fixed
versions: + Python 2.6, Python 3.0, - Python 2.4, Python 2.3
2007-12-22 17:01:34lafcadiocreate