R David Murray
2bb2f6acd0
Merge #8112 : Update the documenting xmlrpc server to use getfullargspec.
2013-08-10 12:03:54 -04:00
R David Murray
f22b62e261
#8112 : Update the documenting xmlrpc server to use getfullargspec.
...
Before this patch it would raise an error when trying to display
documentation for a method that used annotations.
Patch by Claudiu Popa.
2013-08-10 12:01:47 -04:00
Brett Cannon
260fbe80c5
Issue #15767 : Excise the remaining instances of ModuleNotFoundError
2013-07-04 18:16:15 -04: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
Brett Cannon
c9a1bfed5d
Move test___all__ over to unittest.main() and use ModuleNotFoundError
2013-06-12 20:12:30 -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
Éric Araujo
6a59b70cba
Merge 3.2
2012-03-05 16:24:07 +01:00
Éric Araujo
c432a9d5b9
Use raw string for a docstring that uses a backslash
2012-03-05 15:45:08 +01: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
Charles-François Natali
3ccc918b4a
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 15:02:10 +01:00
Charles-François Natali
cd96b4f1ff
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:53:41 +01:00
Charles-François Natali
ec1712a166
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:42:57 +01:00
Florent Xicluna
1b7458b2a1
Closes #2979 : add parameter 'use_builtin_types' to the SimpleXMLRPCServer.
2011-12-09 22:35:06 +01: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
5d1155c08e
Closes #13258 : Use callable() built-in in the standard library.
2011-10-28 14:45:05 +02:00
Florent Xicluna
aabbda5354
Merge 3.2
2011-10-28 14:52:29 +02:00
Florent Xicluna
2bb96f593a
Cleanup code: remove int/long idioms and simplify a while statement.
2011-10-23 22:11:00 +02:00
Ezio Melotti
3b3499ba69
#11565 : Merge with 3.1.
2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +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
dae5b84fe7
Merged revisions 86523 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86523 | senthil.kumaran | 2010-11-19 01:08:48 +0800 (Fri, 19 Nov 2010) | 3 lines
Code Changes as per review comments by Antoine Pitrou.
........
2010-11-18 17:11:45 +00:00
Senthil Kumaran
6a0b5c414c
Code Changes as per review comments by Antoine Pitrou.
2010-11-18 17:08:48 +00:00
Senthil Kumaran
f2849f0fb4
Merged revisions 86514 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86514 | senthil.kumaran | 2010-11-18 23:00:53 +0800 (Thu, 18 Nov 2010) | 3 lines
Fix Issue 9991: xmlrpc client ssl check faulty
........
2010-11-18 15:04:41 +00:00
Senthil Kumaran
8ce1f1ff83
Fix Issue 9991: xmlrpc client ssl check faulty
2010-11-18 15:00:53 +00:00
Benjamin Peterson
af577cbb71
Merged revisions 86051 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86051 | benjamin.peterson | 2010-10-31 13:13:04 -0500 (Sun, 31 Oct 2010) | 1 line
more fun with string exceptions
........
2010-10-31 18:15:00 +00:00
Benjamin Peterson
2d8c917f30
more fun with string exceptions
2010-10-31 18:13:04 +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
Victor Stinner
f45c368f4d
Merged revisions 80112 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r80112 | victor.stinner | 2010-04-16 15:28:05 +0200 (ven., 16 avril 2010) | 3 lines
Issue #7606 : XML-RPC traceback stored in X-traceback is now encoded to ASCII
using backslashreplace error handler.
........
2010-04-16 15:48:19 +00:00
Victor Stinner
5bfe1467f7
Issue #7606 : XML-RPC traceback stored in X-traceback is now encoded to ASCII
...
using backslashreplace error handler.
2010-04-16 13:28:05 +00:00
Kristján Valur Jónsson
1f2a1ae388
Merged revisions 74558 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74558 | kristjan.jonsson | 2009-08-27 23:13:18 +0000 (fim., 27 ßg·. 2009) | 2 lines
Issue 6654
Allow the XML-RPC server to use the HTTP request path when dispatching. Added a MultiPathXMLRPCServer class that uses the feature, plus unit tests.
........
2009-12-16 10:50:44 +00:00
Georg Brandl
b044b2a701
Merged revisions 74821,74828-74831,74833,74835 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
................
r74821 | georg.brandl | 2009-09-16 11:42:19 +0200 (Mi, 16 Sep 2009) | 1 line
#6885 : run python 3 as python3.
................
r74828 | georg.brandl | 2009-09-16 16:23:20 +0200 (Mi, 16 Sep 2009) | 1 line
Use true booleans.
................
r74829 | georg.brandl | 2009-09-16 16:24:29 +0200 (Mi, 16 Sep 2009) | 1 line
Small PEP8 correction.
................
r74830 | georg.brandl | 2009-09-16 16:36:22 +0200 (Mi, 16 Sep 2009) | 1 line
Use true booleans.
................
r74831 | georg.brandl | 2009-09-16 17:54:04 +0200 (Mi, 16 Sep 2009) | 1 line
Use true booleans and PEP8 for argdefaults.
................
r74833 | georg.brandl | 2009-09-16 17:58:14 +0200 (Mi, 16 Sep 2009) | 1 line
Last round of adapting style of documenting argument default values.
................
r74835 | georg.brandl | 2009-09-16 18:00:31 +0200 (Mi, 16 Sep 2009) | 33 lines
Merged revisions 74817-74820,74822-74824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line
Make deprecation notices as visible as warnings are right now.
........
r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line
#6880 : add reference to classes section in exceptions section, which comes earlier.
........
r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line
#6876 : fix base class constructor invocation in example.
........
r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line
#6891 : comment out dead link to Unicode article.
........
r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line
#5621 : refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
........
r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line
Remove strange trailing commas.
........
r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line
#6892 : fix optparse example involving help option.
........
................
2009-09-16 16:05:59 +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
Kristján Valur Jónsson
985fc6a304
http://bugs.python.org/issue6267
...
porting revision 73638 to py3k
2009-07-01 10:01:31 +00:00
Georg Brandl
b54d801280
#3613 : add base64.encodebytes and decodebytes as the new spelling of encodestring and decodestring; deprecate the latter.
2009-06-04 09:11:51 +00:00
Georg Brandl
cef803f82c
Remove mentions of the nonexisting SlowParser in xmlrpc.client.
2009-06-04 09:04:53 +00:00