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
c432a9d5b9
Use raw string for a docstring that uses a backslash
2012-03-05 15:45:08 +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
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
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
Georg Brandl
317185a533
Recorded merge of revisions 73201 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73201 | georg.brandl | 2009-06-04 10:58:32 +0200 (Do, 04 Jun 2009) | 1 line
#5767 : remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser.
........
2009-06-04 09:00:56 +00:00
Matthias Klose
a3d29e8661
Merged revisions 71268 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71268 | matthias.klose | 2009-04-05 23:00:48 +0200 (So, 05 Apr 2009) | 3 lines
- Issue #2703 : SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
........
2009-04-07 13:13:10 +00:00
Senthil Kumaran
b3af08f84c
Fix for issue5040. Adding support for unicode message passing and tests for unicode message and test for Content-Length.
2009-04-01 20:20:43 +00:00
Georg Brandl
c748506427
#5636 : fix next -> __next__ in csv reader docs.
2009-04-01 15:53:15 +00:00
Georg Brandl
99412e559b
Merged revisions 70940 via svnmerge
...
........
r70940 | georg.brandl | 2009-03-31 23:21:14 -0500 (Di, 31 Mär 2009) | 2 lines
The SimpleXMLRPCServer's CGI handler now runs like a pony.
........
2009-04-01 04:27:47 +00:00
Georg Brandl
c8dcfb6cec
part of #3613 : fix get_host_info() usage of base64.encodestring().
2009-02-13 10:50:01 +00:00
Kristján Valur Jónsson
7e11b3f522
merging / reimplementing r68532 from the trunk to Py3k
...
Enable buffering for HTTPResponse's fp. read() behaves identically for buffered and non-buffered IO. read(n) also won't block if n bytes are availble on the socket. There is therefore no reason not to use buffering. The reason 2.x disables buffering by default, that some clients may be accessing the underlying socket directly and so bypass the buffering buffer, doesn't apply in 3.x with its redesigned IO library.
See issue 4448 and issue 4879
2009-02-02 16:04:04 +00:00
Mark Dickinson
a56c467ac3
Issue #1717 : Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from
...
the standard library and tests.
2009-01-27 18:17:45 +00:00
Amaury Forgeot d'Arc
41e36676cd
#3614 : Correct a typo in xmlrpc.client.
2008-08-20 21:35:50 +00:00
Jeremy Hylton
1afc169616
Make a new urllib package .
...
It consists of code from urllib, urllib2, urlparse, and robotparser.
The old modules have all been removed. The new package has five
submodules: urllib.parse, urllib.request, urllib.response,
urllib.error, and urllib.robotparser. The urllib.request.urlopen()
function uses the url opener from urllib2.
Note that the unittests have not been renamed for the
beta, but they will be renamed in the future.
Joint work with Senthil Kumaran.
2008-06-18 20:49:58 +00:00
Georg Brandl
f08a9ddcb7
Merged revisions 63724,63726,63732,63744,63754-63755,63757-63758,63760,63775,63781-63782,63787,63805-63808,63818-63819,63823-63824 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63724 | gregory.p.smith | 2008-05-26 22:22:14 +0200 (Mon, 26 May 2008) | 6 lines
Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
the last reference to the Popen instance was dropped. Adding explicit
close() calls fixes it.
Candidate for backport to release25-maint.
........
r63726 | benjamin.peterson | 2008-05-26 22:43:24 +0200 (Mon, 26 May 2008) | 2 lines
fix minor grammar typo
........
r63732 | benjamin.peterson | 2008-05-26 23:44:26 +0200 (Mon, 26 May 2008) | 2 lines
remove duplication in test module
........
r63744 | lars.gustaebel | 2008-05-27 14:39:23 +0200 (Tue, 27 May 2008) | 3 lines
Do not close external file objects passed to tarfile.open(mode='w:bz2')
when the TarFile is closed.
........
r63754 | benjamin.peterson | 2008-05-28 03:12:35 +0200 (Wed, 28 May 2008) | 2 lines
update tutorial function with more appropiate one from Eric Smith
........
r63755 | mark.hammond | 2008-05-28 03:54:55 +0200 (Wed, 28 May 2008) | 2 lines
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.
........
r63757 | georg.brandl | 2008-05-28 13:21:39 +0200 (Wed, 28 May 2008) | 2 lines
#2989 : add PyType_Modified().
........
r63758 | benjamin.peterson | 2008-05-28 13:51:41 +0200 (Wed, 28 May 2008) | 2 lines
fix spelling
........
r63760 | georg.brandl | 2008-05-28 17:41:36 +0200 (Wed, 28 May 2008) | 2 lines
#2990 : prevent inconsistent state while updating method cache.
........
r63775 | georg.brandl | 2008-05-29 09:18:17 +0200 (Thu, 29 May 2008) | 2 lines
Two fixes in bytearray docs.
........
r63781 | georg.brandl | 2008-05-29 09:38:37 +0200 (Thu, 29 May 2008) | 2 lines
#2988 : add note about catching CookieError when parsing untrusted cookie data.
........
r63782 | georg.brandl | 2008-05-29 09:45:26 +0200 (Thu, 29 May 2008) | 2 lines
#2985 : allow i8 in XMLRPC responses.
........
r63787 | georg.brandl | 2008-05-29 16:35:39 +0200 (Thu, 29 May 2008) | 2 lines
Revert #2990 patch; it's not necessary as Armin showed.
........
r63805 | raymond.hettinger | 2008-05-30 08:37:27 +0200 (Fri, 30 May 2008) | 1 line
Issue 2784: fix leaks in exception exit.
........
r63806 | raymond.hettinger | 2008-05-30 08:49:47 +0200 (Fri, 30 May 2008) | 1 line
Issue 2855: Fix obscure crasher by slowing down the entire module. Mimics what was done to dictionaries in r59223.
........
r63807 | raymond.hettinger | 2008-05-30 09:16:53 +0200 (Fri, 30 May 2008) | 1 line
Issue 2903: Add __name__ in globals for namedtuple namespace.
........
r63808 | georg.brandl | 2008-05-30 09:54:16 +0200 (Fri, 30 May 2008) | 2 lines
#2999 : fix name of third parameter in unicode.replace()'s docstring.
........
r63818 | georg.brandl | 2008-05-30 21:12:13 +0200 (Fri, 30 May 2008) | 2 lines
getloadavg() is not available on Windows.
........
r63819 | georg.brandl | 2008-05-30 21:17:29 +0200 (Fri, 30 May 2008) | 2 lines
Better quote with single quotes.
........
r63823 | benjamin.peterson | 2008-05-30 22:44:39 +0200 (Fri, 30 May 2008) | 2 lines
fix grammar
........
r63824 | marc-andre.lemburg | 2008-05-30 22:52:18 +0200 (Fri, 30 May 2008) | 5 lines
Update the locale module alias table.
Closes #3011 .
........
2008-06-10 16:57:31 +00:00
Georg Brandl
2442015af2
Create http package. #2883 .
2008-05-26 16:32:26 +00:00
Georg Brandl
38eceaaf0c
Create xmlrpc package. Issue #2886 .
2008-05-26 11:14:17 +00:00