Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7829d603
Commit
7829d603
authored
Jan 19, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport r59688.
parent
ea72dcb0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Lib/plat-mac/plistlib.py
Lib/plat-mac/plistlib.py
+2
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/plat-mac/plistlib.py
View file @
7829d603
...
...
@@ -240,8 +240,8 @@ class PlistWriter(DumbXMLWriter):
self
.
simpleElement
(
"true"
)
else
:
self
.
simpleElement
(
"false"
)
elif
isinstance
(
value
,
int
):
self
.
simpleElement
(
"integer"
,
str
(
value
)
)
elif
isinstance
(
value
,
(
int
,
long
)
):
self
.
simpleElement
(
"integer"
,
"%d"
%
value
)
elif
isinstance
(
value
,
float
):
self
.
simpleElement
(
"real"
,
repr
(
value
))
elif
isinstance
(
value
,
dict
):
...
...
Misc/NEWS
View file @
7829d603
...
...
@@ -53,6 +53,8 @@ Core and builtins
Library
-------
- Bug #1687: Fixed plistlib.py restricts <integer> to Python int when writing.
- Issue #1182: many arithmetic bugs in the decimal module have been
fixed, and the decimal module has been updated to comply with the
latest IBM Decimal Arithmetic specification (version 1.66) and
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment