Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45386: Handle strftime's ValueError graciously in xmlrpc.client ↵ | Miss Islington (bot) | 2021-10-13 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | (GH-28765) (GH-28934) At import time, the xmlrpc.client module uses different date formats to test strftime so it can format years with 4 digits consistently. Depending on the underlying C library and its strftime implementation some of these calls can result in ValueErrors, blocking the xmlrpc.client module from being imported. This commit changes the behavior of this bit of code to react to ValueError exceptions, treating the format that caused them as an non-viable option. (cherry picked from commit 1c831353816ff699b54e804047a7242a09e98f5b) Co-authored-by: rtobar <rtobarc@gmail.com> | ||||
* | Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478) | Miss Islington (bot) | 2021-07-30 | 1 | -1/+1 |
| | | | | | (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net> | ||||
* | bpo-43433: Preserve query and fragment in the URL of the server in ↵ | Serhiy Storchaka | 2021-03-29 | 1 | -2/+4 |
| | | | | ServerProxy. (GH-25057) | ||||
* | bpo-38786: Add parsing of https links to pydoc (GH-17143) | Kirill | 2019-11-13 | 1 | -1/+1 |
| | |||||
* | bpo-38243, xmlrpc.server: Escape the server_title (GH-16373) | Dong-hee Na | 2019-09-27 | 1 | -1/+2 |
| | | | | Escape the server title of xmlrpc.server.DocXMLRPCServer when rendering the document page as HTML. | ||||
* | bpo-38038: Remove urllib.parse._splittype from xmlrpc.client. (GH-15703) | Dong-hee Na | 2019-09-08 | 1 | -6/+5 |
| | |||||
* | bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622) | Serhiy Storchaka | 2019-09-01 | 1 | -1/+1 |
| | |||||
* | bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) | Serhiy Storchaka | 2019-08-08 | 1 | -5/+12 |
| | | | | They now return NotImplemented for unsupported type of the other operand. | ||||
* | bpo-36793: Remove unneeded __str__ definitions. (GH-13081) | Serhiy Storchaka | 2019-05-06 | 1 | -6/+1 |
| | | | | Classes that define __str__ the same as __repr__ can just inherit it from object. | ||||
* | bpo-35153: Add headers parameter to xmlrpc.client.ServerProxy (GH-10308) | Cédric Krier | 2019-02-19 | 1 | -6/+11 |
| | | | Allow to add HTTP headers to XML-RPC requests sent to the server. | ||||
* | bpo-33911: Fixed deprecation warning in xmlrpc.server (GH-7847) | Nicolas Noé | 2018-07-16 | 1 | -19/+3 |
| | | | Replace deprecated inspect.getfullargspec() with inspect.signature(). | ||||
* | bpo-27485: Rename and deprecate undocumented functions in urllib.parse (GH-2205) | Cheryl Sabella | 2018-04-25 | 1 | -3/+3 |
| | |||||
* | bpo-32297: Few misspellings found in Python source code comments. (#4803) | Mike | 2017-12-14 | 1 | -2/+2 |
| | | | | | | | | * Fix multiple typos in code comments * Add spacing in comments (test_logging.py, test_math.py) * Fix spaces at the beginning of comments in test_logging.py | ||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. | ||||
* | bpo-31247: xmlrpc.server: break reference cycle (#3166) | Victor Stinner | 2017-08-21 | 1 | -12/+24 |
| | | | | xmlrpc.server now explicitly breaks reference cycles when using sys.exc_info() in code handling exceptions. | ||||
* | bpo-29615: SimpleXMLRPCDispatcher no longer chains KeyError (#260) | Petr Motejlek | 2017-03-01 | 1 | -19/+24 |
| | | | | (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 | -1/+7 |
| | | | | as decorator (GH-231) | ||||
* | Issue #26885: xmlrpc now supports unmarshalling additional data types used | Serhiy Storchaka | 2016-09-11 | 1 | -6/+26 |
| | | | | by Apache XML-RPC implementation for numerics and None. | ||||
* | Issue #23804: Merge spelling and NEWS fixes from 3.5 | Martin Panter | 2016-07-11 | 1 | -1/+1 |
|\ | |||||
| * | English spelling and grammar fixes | Martin Panter | 2016-07-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #26873: xmlrpc now raises ResponseError on unsupported type tags | Serhiy Storchaka | 2016-05-04 | 1 | -0/+3 |
|\ \ | |/ | | | | | instead of silently return incorrect result. | ||||
| * | Issue #26873: xmlrpc now raises ResponseError on unsupported type tags | Serhiy Storchaka | 2016-05-04 | 1 | -0/+3 |
| | | | | | | | | instead of silently return incorrect result. | ||||
* | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | messages. | ||||
| * | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #26404: Add context manager to socketserver, by Aviv Palivoda | Martin Panter | 2016-04-13 | 1 | -13/+12 |
| | | |||||
* | | Issue #26402: Merge XML-RPC client fix from 3.5 | Martin Panter | 2016-02-25 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #26402: Fix XML-RPC client retrying after server disconnection | Martin Panter | 2016-02-25 | 1 | -3/+3 |
| | | | | | | | | | | This is a regression introduced in 3.5 by revision eba80326ba53. Fix by Jelte Fennema, test case by me. | ||||
* | | Issue #25985: sys.version_info is now used instead of sys.version | Serhiy Storchaka | 2016-02-11 | 1 | -1/+1 |
|/ | | | | to format short Python version. | ||||
* | Issue #26147: xmlrpc now works with strings not encodable with used | Serhiy Storchaka | 2016-01-20 | 2 | -5/+3 |
| | | | | non-UTF-8 encoding. | ||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | | | | | | | | | | | | 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. | ||||
* | | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -6/+14 |
|\ \ | |/ | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -6/+14 |
| | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
* | | #3566: Clean up handling of remote server disconnects. | R David Murray | 2015-04-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.) | ||||
* | | Issue #22831: Use "with" to avoid possible fd leaks. | Serhiy Storchaka | 2015-04-04 | 1 | -17/+11 |
| | | |||||
* | | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -9/+0 |
| | | | | | | | | implementation in issue #21408 they are redundant. | ||||
* | | merge 3.4 (#16043) | Benjamin Peterson | 2014-12-06 | 1 | -2/+11 |
|\ \ | |/ | |||||
| * | merge 3.3 (#16043) | Benjamin Peterson | 2014-12-06 | 1 | -2/+11 |
| |\ | |||||
| | * | merge 3.2 (#16043) | Benjamin Peterson | 2014-12-06 | 1 | -2/+11 |
| | |\ | |||||
| | | * | add a default limit for the amount of data xmlrpclib.gzip_decode will return ↵ | Benjamin Peterson | 2014-12-06 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | (closes #16043) | ||||
* | | | | merge 3.4 (#22960) | Benjamin Peterson | 2014-11-30 | 1 | -3/+12 |
|\ \ \ \ | |/ / / | |||||
| * | | | add context parameter to xmlrpclib.ServerProxy (#22960) | Benjamin Peterson | 2014-11-30 | 1 | -3/+12 |
| | | | | | | | | | | | | | | | | Patch by Alex Gaynor. | ||||
* | | | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | class name instead of hardcoded one. | ||||
* | | | | Issue #22031: Reprs now always use hexadecimal format with the "0x" prefix | Serhiy Storchaka | 2014-07-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | 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/+6 |
|/ / / | | | | | | | | | | Patch by Claudiu Popa. | ||||
* | | | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 1 | -1/+0 |
| | | | |||||
* | | | merge from 3.3 | Senthil Kumaran | 2014-01-13 | 2 | -5/+19 |
|\ \ \ | |/ / | | | | | | | Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation. | ||||
| * | | Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in ↵ | Senthil Kumaran | 2014-01-13 | 2 | -5/+19 |
| | | | | | | | | | | | | modules and in documentation. | ||||
* | | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | error messages and comments. |