Re: [Python-Dev] xmlrpclib and communication verbosity

2011-02-03 Thread Erez Sh
Oleg wrote: Why not logging? It seems to me that most of python's library modules don't use the logging module, and I didn't want to make style judgments. I actually prefer logging. ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] xmlrpclib and communication verbosity

2011-02-02 Thread Erez Sh
In an attempt to record the xml exchange in an xmlrpclib.ServerProxy connection, I set its verbose flag to 1. This is the whole premise, and the rest of this message contains a bug report, and general complaints about the API. ServerProxy, or to be a bit more specific, the Transport class (which

Re: [Python-Dev] xmlrpclib and communication verbosity

2011-02-02 Thread Oleg Broytman
On Wed, Feb 02, 2011 at 03:52:17PM +0200, Erez Sh wrote: Also, ServerProxy should accept an optional output file (=a class with write,writelines methods), which will be the target of all prints. Why not logging? Oleg. -- Oleg Broytmanhttp://phdru.name/