Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typos in the Lib directory (GH-28775) | Christian Clauss | 2021-10-06 | 1 | -1/+1 |
| | | | | | Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-45229: Remove test_main in many tests (GH-28405) | Serhiy Storchaka | 2021-09-19 | 1 | -10/+4 |
| | | | | | | | | | Instead of explicitly enumerate test classes for run_unittest() use the unittest ability to discover tests. This also makes these tests discoverable and runnable with unittest. load_tests() can be used for dynamic generating tests and adding doctests. setUpModule(), tearDownModule() and addModuleCleanup() can be used for running code before and after all module tests. | ||||
* | bpo-43433: Preserve query and fragment in the URL of the server in ↵ | Serhiy Storchaka | 2021-03-29 | 1 | -1/+39 |
| | | | | ServerProxy. (GH-25057) | ||||
* | bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) | Christian Heimes | 2020-11-20 | 1 | -2/+2 |
| | | | Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-20824) | Hai Shi | 2020-06-25 | 1 | -2/+3 |
| | |||||
* | bpo-40275: Adding threading_helper submodule in test.support (GH-20263) | Hai Shi | 2020-05-27 | 1 | -1/+2 |
| | |||||
* | bpo-40275: Avoid importing socket in test.support (GH-19603) | Serhiy Storchaka | 2020-04-25 | 1 | -1/+2 |
| | | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess. | ||||
* | bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) | Serhiy Storchaka | 2019-08-08 | 1 | -8/+17 |
| | | | | They now return NotImplemented for unsupported type of the other operand. | ||||
* | bpo-30458: Disallow control chars in http URLs. (GH-12755) | Gregory P. Smith | 2019-05-01 | 1 | -2/+7 |
| | | | Disallow control chars in http URLs in urllib.urlopen. This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected. | ||||
* | bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) | Serhiy Storchaka | 2019-03-05 | 1 | -7/+5 |
| | |||||
* | bpo-35153: Add headers parameter to xmlrpc.client.ServerProxy (GH-10308) | Cédric Krier | 2019-02-19 | 1 | -1/+62 |
| | | | Allow to add HTTP headers to XML-RPC requests sent to the server. | ||||
* | bpo-18799: Resurrect test_404 in test_xmlrpc. (GH-11196) | Vajrasky Kok | 2018-12-17 | 1 | -3/+2 |
| | |||||
* | bpo-33759: Fix test.test_xmlrpc.ServerProxyTestCase. (GH-7362) | Serhiy Storchaka | 2018-06-04 | 1 | -1/+3 |
| | | | It depended on a global variable set by other tests. | ||||
* | Trivial cleanups following bpo-31370 (#3649) | Antoine Pitrou | 2017-09-18 | 1 | -7/+1 |
| | | | | | | * Trivial cleanups following bpo-31370 * Also cleanup the "importlib._bootstrap_external" module | ||||
* | bpo-31234: Join threads in tests (#3572) | Victor Stinner | 2017-09-14 | 1 | -2/+6 |
| | | | | Call thread.join() on threads to prevent the "dangling threads" warning. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -7/+1 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | Stop test_xmlrpc from writing to sys.stderr (#3359) | Christian Heimes | 2017-09-06 | 1 | -0/+4 |
| | | | | | | | | One test case of test_xmlrpc uses HTTPServer with a subclass of BaseHTTPRequestHandler. The BaseRequestHandler class logs to sys.stderr by default. Override log_message() to not clobber test output. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) | Dillon Brock | 2017-03-05 | 1 | -3/+3 |
| | |||||
* | bpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260) | Petr Motejlek | 2017-03-01 | 1 | -1/+89 |
| | | | | (or any other exception) to exception(s) raised in the dispatched methods. Patch by Petr Motejlek. | ||||
* | bpo-7769: enable xmlrpc.server.SimpleXMLRPCDispatcher.register_function used ↵ | Xiang Zhang | 2017-02-28 | 1 | -6/+7 |
| | | | | as decorator (GH-231) | ||||
* | Issue #26885: xmlrpc now supports unmarshalling additional data types used | Serhiy Storchaka | 2016-09-11 | 1 | -0/+49 |
| | | | | by Apache XML-RPC implementation for numerics and None. | ||||
* | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 1 | -1/+1 |
| | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | Backed out changeset af29d89083b3 (closes #25548) (closes #27498) | Benjamin Peterson | 2016-07-14 | 1 | -2/+2 |
| | |||||
* | Issue #25548: Showing memory address of class objects in repl | Kushal Das | 2016-06-04 | 1 | -2/+2 |
| | |||||
* | Issue #26873: xmlrpc now raises ResponseError on unsupported type tags | Serhiy Storchaka | 2016-05-04 | 1 | -0/+14 |
|\ | | | | | | | instead of silently return incorrect result. | ||||
| * | Issue #26873: xmlrpc now raises ResponseError on unsupported type tags | Serhiy Storchaka | 2016-05-04 | 1 | -0/+14 |
| | | | | | | | | instead of silently return incorrect result. | ||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
| | | |||||
* | | Issue #23277: Remove more unused sys and os imports. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
|/ | |||||
* | Issue #26402: Fix XML-RPC client retrying after server disconnection | Martin Panter | 2016-02-25 | 1 | -0/+37 |
| | | | | | This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte Fennema, test case by me. | ||||
* | Issue #26147: xmlrpc now works with strings not encodable with used | Serhiy Storchaka | 2016-01-20 | 1 | -6/+24 |
| | | | | non-UTF-8 encoding. | ||||
* | Issue #9006: Added tests for XML RPC with non-UTF-8 encoding. | Serhiy Storchaka | 2016-01-18 | 1 | -3/+53 |
| | |||||
* | Use assertRaisesRegex instead of deprecated assertRaisesRegexp. | Serhiy Storchaka | 2015-04-10 | 1 | -1/+1 |
|\ | |||||
| * | Use assertRaisesRegex instead of deprecated assertRaisesRegexp. | Serhiy Storchaka | 2015-04-10 | 1 | -2/+2 |
| | | |||||
* | | Stop using a deprecated unittest.TestCase method. | Brett Cannon | 2014-12-12 | 1 | -1/+1 |
| | | |||||
* | | merge 3.4 (#16043) | Benjamin Peterson | 2014-12-06 | 1 | -2/+23 |
|\ \ | |/ | |||||
| * | merge 3.3 (#16043) | Benjamin Peterson | 2014-12-06 | 1 | -2/+23 |
| |\ | |||||
| | * | merge 3.2 (#16043) | Benjamin Peterson | 2014-12-06 | 1 | -1/+22 |
| | |\ | |||||
| | | * | add a default limit for the amount of data xmlrpclib.gzip_decode will return ↵ | Benjamin Peterson | 2014-12-06 | 1 | -1/+22 |
| | | | | | | | | | | | | | | | | (closes #16043) | ||||
* | | | | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Removed duplicated words in in comments and docs. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | | | | |||||
* | | | | Issue #22031: Reprs now always use hexadecimal format with the "0x" prefix | Serhiy Storchaka | 2014-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | when contain an id in form " at 0x...". | ||||
* | | | | Issue #20627: xmlrpc.client.ServerProxy is now a context manager. | Brett Cannon | 2014-03-21 | 1 | -0/+18 |
|/ / / | | | | | | | | | | Patch by Claudiu Popa. | ||||
* | | | #19192: Give up on time.xmlrpc.com as an xmlrpc network test. | R David Murray | 2013-10-11 | 1 | -2/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | time.xmlrpc.com has come and gone over the years, and has been gone again for a while. The test did test one thing that the current xmlrpc tests don't: the use of multiple levels of attribute names in the call. So in addition to removing the network test, we add a test in xmlrpc of dotted name access. There should also be a test for when dotted name access is disallowed, but that requires more extensive test harness refactoring, and in any case was not tested by the network test we are deleting, since it is a server-side setting. This is a slightly simplified version of a patch by Vajrasky Kok. | ||||
* | | | #18453: merge with 3.3. | Ezio Melotti | 2013-08-10 | 1 | -2/+10 |
|\ \ \ | |/ / | |||||
| * | | #18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok. | Ezio Melotti | 2013-08-10 | 1 | -2/+10 |
| | | | |||||
* | | | Issue #15767: Excise the remaining instances of ModuleNotFoundError | Brett Cannon | 2013-07-04 | 1 | -2/+2 |
| | | | |||||
* | | | Partially revert changeset #281857369a78 to make sure threads are | Brett Cannon | 2013-06-13 | 1 | -1/+11 |
| | | | | | | | | | | | | reaped in all situations. | ||||
* | | | Spruce up test_xmlrpc by using ModuleNotFoundError and moving to | Brett Cannon | 2013-06-13 | 1 | -22/+7 |
| | | | | | | | | | | | | unittest.main(). | ||||
* | | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -14/+14 |
|/ / | |||||
* | | Add tests to marshall double with xmlrpc.client. | Florent Xicluna | 2012-07-07 | 1 | -0/+16 |
| | |