summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
Commit message (Collapse)AuthorAgeFilesLines
* xmlrpc.client uses datetime.datetime.isoformat() (#105741)Victor Stinner2023-06-141-32/+6
| | | | | | Reimplement _iso8601_format() using the datetime isoformat() method. Ignore the timezone. Co-Authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
* bpo-45975: Simplify some while-loops with walrus operator (GH-29347)Nick Drozd2022-11-262-7/+2
|
* bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294)Serhiy Storchaka2022-05-081-2/+2
| | | | I suppose it is a remnants of very old code written when str, int, list, dict, etc were functions and not classes.
* bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)Hugo van Kemenade2022-03-301-2/+2
|
* bpo-46510: simplify exception handling code in xmlrpc (GH-30878)Irit Katriel2022-01-251-31/+15
|
* bpo-45386: Handle strftime's ValueError graciously in xmlrpc.client (GH-28765)rtobar2021-10-131-2/+8
| | | | | | | | | | | 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.
* bpo-10716: Migrating pydoc to html5. (GH-28651)Julien Palard2021-10-091-5/+32
|
* Update URLs in comments and metadata to use HTTPS (GH-27458)Noah Kantrowitz2021-07-301-1/+1
|
* bpo-43433: Preserve query and fragment in the URL of the server in ↵Serhiy Storchaka2021-03-291-2/+4
| | | | ServerProxy. (GH-25057)
* bpo-38786: Add parsing of https links to pydoc (GH-17143)Kirill2019-11-131-1/+1
|
* bpo-38243, xmlrpc.server: Escape the server_title (GH-16373)Dong-hee Na2019-09-271-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 Na2019-09-081-6/+5
|
* bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622)Serhiy Storchaka2019-09-011-1/+1
|
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-081-5/+12
| | | | They now return NotImplemented for unsupported type of the other operand.
* bpo-36793: Remove unneeded __str__ definitions. (GH-13081)Serhiy Storchaka2019-05-061-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 Krier2019-02-191-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-161-19/+3
| | | Replace deprecated inspect.getfullargspec() with inspect.signature().
* bpo-27485: Rename and deprecate undocumented functions in urllib.parse (GH-2205)Cheryl Sabella2018-04-251-3/+3
|
* bpo-32297: Few misspellings found in Python source code comments. (#4803)Mike2017-12-141-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 Stinner2017-11-081-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 Stinner2017-08-211-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 Motejlek2017-03-011-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 Zhang2017-02-281-1/+7
| | | | as decorator (GH-231)
* Issue #26885: xmlrpc now supports unmarshalling additional data types usedSerhiy Storchaka2016-09-111-6/+26
| | | | by Apache XML-RPC implementation for numerics and None.
* Issue #23804: Merge spelling and NEWS fixes from 3.5Martin Panter2016-07-111-1/+1
|\
| * English spelling and grammar fixesMartin Panter2016-07-111-1/+1
| |
* | Issue #26873: xmlrpc now raises ResponseError on unsupported type tagsSerhiy Storchaka2016-05-041-0/+3
|\ \ | |/ | | | | instead of silently return incorrect result.
| * Issue #26873: xmlrpc now raises ResponseError on unsupported type tagsSerhiy Storchaka2016-05-041-0/+3
| | | | | | | | instead of silently return incorrect result.
* | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and errorSerhiy Storchaka2016-04-171-1/+1
|\ \ | |/ | | | | messages.
| * Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
| |
* | Issue #26404: Add context manager to socketserver, by Aviv PalivodaMartin Panter2016-04-131-13/+12
| |
* | Issue #26402: Merge XML-RPC client fix from 3.5Martin Panter2016-02-251-3/+3
|\ \ | |/
| * Issue #26402: Fix XML-RPC client retrying after server disconnectionMartin Panter2016-02-251-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.versionSerhiy Storchaka2016-02-111-1/+1
|/ | | | to format short Python version.
* Issue #26147: xmlrpc now works with strings not encodable with usedSerhiy Storchaka2016-01-202-5/+3
| | | | non-UTF-8 encoding.
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-2/+2
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-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 moreSerhiy Storchaka2015-04-101-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 moreSerhiy Storchaka2015-04-101-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 Murray2015-04-051-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 Storchaka2015-04-041-17/+11
| |
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-9/+0
| | | | | | | | implementation in issue #21408 they are redundant.
* | merge 3.4 (#16043)Benjamin Peterson2014-12-061-2/+11
|\ \ | |/
| * merge 3.3 (#16043)Benjamin Peterson2014-12-061-2/+11
| |\
| | * merge 3.2 (#16043)Benjamin Peterson2014-12-061-2/+11
| | |\
| | | * add a default limit for the amount of data xmlrpclib.gzip_decode will return ↵Benjamin Peterson2014-12-061-2/+11
| | | | | | | | | | | | | | | | (closes #16043)
* | | | merge 3.4 (#22960)Benjamin Peterson2014-11-301-3/+12
|\ \ \ \ | |/ / /
| * | | add context parameter to xmlrpclib.ServerProxy (#22960)Benjamin Peterson2014-11-301-3/+12
| | | | | | | | | | | | | | | | Patch by Alex Gaynor.
* | | | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-7/+8
| | | | | | | | | | | | | | | | class name instead of hardcoded one.
* | | | Issue #22031: Reprs now always use hexadecimal format with the "0x" prefixSerhiy Storchaka2014-07-221-2/+2
| | | | | | | | | | | | | | | | when contain an id in form " at 0x...".