Serhiy Storchaka
290fed43d9
Issue #26873 : xmlrpc now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:26:42 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Martin Panter
eae3336e42
Issue #26402 : Fix XML-RPC client retrying after server disconnection
...
This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte
Fennema, test case by me.
2016-02-25 11:53:40 +00:00
Serhiy Storchaka
aebb6d3682
Issue #26147 : xmlrpc now works with strings not encodable with used
...
non-UTF-8 encoding.
2016-01-20 10:34:27 +02:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
7e7a3dba5f
Issue #23865 : close() methods in multiple modules now are idempotent and more
...
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:24:41 +03:00
Serhiy Storchaka
2116b12da5
Issue #23865 : close() methods in multiple modules now are idempotent and more
...
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:29:28 +03:00
R David Murray
cae7bdb424
#3566 : Clean up handling of remote server disconnects.
...
This changeset does two things: introduces a new RemoteDisconnected exception
(that subclasses ConnectionResetError and BadStatusLine) so that a remote
server disconnection can be detected by client code (and provides a better
error message for debugging purposes), and ensures that the client socket is
closed if a ConnectionError happens, so that the automatic re-connection code
can work if the application handles the error and continues on.
Tests are added that confirm that a connection is re-used or not re-used
as appropriate to the various combinations of protocol version and headers.
Patch by Martin Panter, reviewed by Demian Brecht. (Tweaked only slightly by
me.)
2015-04-05 19:26:29 -04:00
Serhiy Storchaka
46ba6c8563
Issue #22831 : Use "with" to avoid possible fd leaks.
2015-04-04 11:01:02 +03:00
Serhiy Storchaka
08448a1f4d
Issue #23326 : Removed __ne__ implementations. Since fixing default __ne__
...
implementation in issue #21408 they are redundant.
2015-01-31 12:05:05 +02:00
Benjamin Peterson
7eda940e1f
merge 3.4 ( #16043 )
2014-12-05 20:36:07 -05:00
Benjamin Peterson
eca72d47f5
merge 3.3 ( #16043 )
2014-12-05 20:34:56 -05:00
Benjamin Peterson
81b7374fbe
merge 3.2 ( #16043 )
2014-12-05 20:30:54 -05:00
Benjamin Peterson
4e9cefaf86
add a default limit for the amount of data xmlrpclib.gzip_decode will return ( closes #16043 )
2014-12-05 20:15:15 -05:00
Benjamin Peterson
e39bba2ab1
merge 3.4 ( #22960 )
2014-11-29 23:34:30 -05:00
Benjamin Peterson
c1da3d1ed8
add context parameter to xmlrpclib.ServerProxy ( #22960 )
...
Patch by Alex Gaynor.
2014-11-29 23:32:57 -05:00
Serhiy Storchaka
465e60e654
Issue #22033 : Reprs of most Python implemened classes now contain actual
...
class name instead of hardcoded one.
2014-07-25 23:36:00 +03:00
Serhiy Storchaka
0c937b3ed6
Issue #22031 : Reprs now always use hexadecimal format with the "0x" prefix
...
when contain an id in form " at 0x...".
2014-07-22 12:14:52 +03:00
Brett Cannon
33a4000374
Issue #20627 : xmlrpc.client.ServerProxy is now a context manager.
...
Patch by Claudiu Popa.
2014-03-21 11:24:40 -04:00
Victor Stinner
7fa767e517
Issue #20976 : pyflakes: Remove unused imports
2014-03-20 09:16:38 +01:00
Senthil Kumaran
95be7ff911
merge from 3.3
...
Issue #19082 : Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:07:59 -08:00
Senthil Kumaran
939e2db48d
Issue #19082 : Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:06:58 -08:00
Serhiy Storchaka
46e1ce214b
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 20:17:03 +03:00
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
...
error messages and comments.
2013-08-27 19:40:23 +03:00
Brett Cannon
cd171c8e92
Issue #18200 : Back out usage of ModuleNotFoundError (8d28d44f3a9a)
2013-07-04 17:43:24 -04:00
Brett Cannon
0a140668fa
Issue #18200 : Update the stdlib (except tests) to use
...
ModuleNotFoundError.
2013-06-13 20:57:26 -04:00
Andrew Svetlov
f7a17b48d7
Replace IOError with OSError ( #16715 )
2012-12-25 16:47:37 +02:00
Andrew Svetlov
0832af6628
Issue #16717 : get rid of socket.error, replace with OSError
2012-12-18 23:10:48 +02:00
Andrew Svetlov
5b89840d9c
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov
737fb89dd1
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Ezio Melotti
91932da338
#13973 : move a couple of imports at module level. Patch by Tshepang Lekhonkhobe.
2012-02-24 12:44:04 +02:00
Florent Xicluna
6166519d2b
Closes #13297 : use bytes type to send and receive binary data through XMLRPC.
2011-11-15 20:53:25 +01:00
Florent Xicluna
2738a64621
Fix regression due to changeset 2096158376e5 (issue #13305 ).
2011-11-01 00:06:58 +01:00
Florent Xicluna
b6f019a080
Let's assume that the datetime module is always available.
2011-10-30 23:54:17 +01:00
Florent Xicluna
75861df9ab
Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone xmlrpc.server.
2011-10-30 20:39:24 +01:00
Florent Xicluna
f70fd7092d
Merge 3.2
2011-10-30 20:24:40 +01:00
Florent Xicluna
93dfee1dfc
Issue #13293 : Better error message when trying to marshal bytes using xmlrpc.client.
2011-10-30 20:22:25 +01:00
Florent Xicluna
c4fec937dc
Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.
2011-10-30 20:19:32 +01:00
Florent Xicluna
3fa29f7cd7
Closes #13291 : NameError in xmlrpc package.
2011-10-30 20:18:50 +01:00
Florent Xicluna
2bb96f593a
Cleanup code: remove int/long idioms and simplify a while statement.
2011-10-23 22:11:00 +02:00
Senthil Kumaran
f34445f7bd
Fix Issue8194 - Fix incompatible API change in the parse_respones for xmlrpclib.
2010-12-08 08:04:49 +00:00
Senthil Kumaran
6a0b5c414c
Code Changes as per review comments by Antoine Pitrou.
2010-11-18 17:08:48 +00:00
Senthil Kumaran
8ce1f1ff83
Fix Issue 9991: xmlrpc client ssl check faulty
2010-11-18 15:00:53 +00:00
Victor Stinner
756f547b9a
#9032 : XML-RPC client: Transport.request() retries on EPIPE error
...
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).
request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.
Remove also a comment in the HTTP client because it's now wrong: see r70643
and issue #5542 .
2010-07-24 02:24:55 +00:00
Georg Brandl
fe99105835
Use true booleans and PEP8 for argdefaults.
2009-09-16 15:54:04 +00:00
Alexandre Vassalotti
e671fd206b
Issue #6360 : Simplify string decoding in xmlrpc.client.
2009-07-22 02:32:34 +00:00
Kristján Valur Jónsson
9ab0731f76
merging revision 74100 from trunk:
...
http://bugs.python.org/issue6499
gzip.GzipFile may not exist as a parent class
2009-07-19 22:38:38 +00:00
Kristján Valur Jónsson
aefde242fd
porting revision 74098 from trunk:
...
http://bugs.python.org/issue6499
zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
2009-07-19 22:29:24 +00:00
Kristján Valur Jónsson
43535d9647
http://bugs.python.org/issue6267
...
Incorrect exception handling for xmlrpclient retry
2009-07-03 23:23:50 +00:00