You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several of the xmlrpc methods in warehouse/legacy/xmlrpc.py return tuples (e.g., release_downloads()), but what the client actually receives are lists:
The Warehouse and Cheeseshop documentation state tuples are returned. test_xmlrpc.py test cases check for tuples and even pass, although they use pretend so fail to test for xmlrpclib side effects.
Python sequence types, corresponding to XML-RPC's arrays data type, are returned as lists by thexmlrpclib module. Should warehouse/legacy/xmlrpc.py methods return lists instead of tuples to match xmlrpclib's behavior?
The text was updated successfully, but these errors were encountered:
Several of the xmlrpc methods in
warehouse/legacy/xmlrpc.py
return tuples (e.g., release_downloads()), but what the client actually receives are lists:The Warehouse and Cheeseshop documentation state tuples are returned.
test_xmlrpc.py
test cases check for tuples and even pass, although they usepretend
so fail to test forxmlrpclib
side effects.Server:
Client:
Python sequence types, corresponding to XML-RPC's
arrays
data type, are returned as lists by thexmlrpclib
module. Shouldwarehouse/legacy/xmlrpc.py
methods return lists instead of tuples to matchxmlrpclib
's behavior?The text was updated successfully, but these errors were encountered: