Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | xmlrpc.client uses datetime.datetime.isoformat() (#105741) | Victor Stinner | 2023-06-14 | 1 | -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 Drozd | 2022-11-26 | 1 | -4/+1 |
| | |||||
* | bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) | Serhiy Storchaka | 2022-05-08 | 1 | -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-45386: Handle strftime's ValueError graciously in xmlrpc.client (GH-28765) | rtobar | 2021-10-13 | 1 | -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-43433: Preserve query and fragment in the URL of the server in ↵ | Serhiy Storchaka | 2021-03-29 | 1 | -2/+4 |
| | | | | ServerProxy. (GH-25057) | ||||
* | 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-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. | ||||
* | 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 #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 #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 | 1 | -3/+1 |
| | | | | 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 | 1 | -5/+5 |
|\ \ \ | |/ / | | | | | | | 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 | 1 | -5/+5 |
| | | | | | | | | | | | | modules and in documentation. | ||||
* | | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | error messages and comments. | ||||
| * | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -1/+1 |
| | | | | | | | | | | | | error messages and comments. | ||||
* | | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -1/+1 |
| | | | | | | | | | | | | ModuleNotFoundError. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #16717: get rid of socket.error, replace with OSError | Andrew Svetlov | 2012-12-18 | 1 | -2/+3 |
|/ / | |||||
* | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | #13973: move a couple of imports at module level. Patch by Tshepang ↵ | Ezio Melotti | 2012-02-24 | 1 | -2/+1 |
| | | | | | | | | Lekhonkhobe. |