Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(727)

Issue 3737043: Convert dictionary with numeric keys into str for xmlrpc (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 1 month ago by ced
Modified:
15 years, 1 month ago
Visibility:
Public.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M trytond/protocols/xmlrpc.py View 2 chunks +14 lines, -0 lines 2 comments Download

Messages

Total messages: 4
ced
15 years, 1 month ago (2010-12-22 17:12:34 UTC) #1
yangoon1
15 years, 1 month ago (2010-12-22 21:24:52 UTC) #2
Paul J Stevens
http://codereview.appspot.com/3737043/diff/1/trytond/protocols/xmlrpc.py File trytond/protocols/xmlrpc.py (right): http://codereview.appspot.com/3737043/diff/1/trytond/protocols/xmlrpc.py#newcode41 trytond/protocols/xmlrpc.py:41: k = str(int(k)) won't casting a long to an ...
15 years, 1 month ago (2010-12-23 14:16:45 UTC) #3
ced
15 years, 1 month ago (2010-12-23 14:23:49 UTC) #4
http://codereview.appspot.com/3737043/diff/1/trytond/protocols/xmlrpc.py
File trytond/protocols/xmlrpc.py (right):

http://codereview.appspot.com/3737043/diff/1/trytond/protocols/xmlrpc.py#newc...
trytond/protocols/xmlrpc.py:41: k = str(int(k))
On 2010/12/23 14:16:45, Paul J Stevens wrote:
> won't casting a long to an int cause problems if k is a long > max_int?

It is not an issue and it is done like in that in xmlrpclib (but I must admit
that I don't know why).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b