[Python-Dev] Returning exception stack trace in SimpleXMLRPCServer response
Hi, When an exception occurs in a function, SimpleXMLRPCServer currently sends exception type and value back to the client (in ) . So the client sees some thing like: "':invalid literal for int() with base 10" This string is constructed in _marshaled_dispatch() as ""%s:%s" % (exc_type, exc_value)". How about adding the stack traceback to this string? I found it very useful to have the server side traceback in case of failures. I will come up with a patch if there is any interest. Some thing similar has been done in case of internal server errors (in r57158). Thanks, Raghu ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Windows builds for backported SSL module, please?
I've uploaded the source version of the backported SSL module to the Cheeseshop. It would be nice to include Windows builds for it for Python 2.3, 2.4, and 2.5, as well, and I'd be happy to upload them if someone could create them. http://pypi.python.org/pypi?name=ssl&version=1.4&:action=display Now, for the Python 3K version... Bill ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Windows builds for backported SSL module, please?
I found a bug -- setup.py wasn't detecting the difference between 2.5.0 and 2.5.1 properly. I've updated the release to 1.5. > http://pypi.python.org/pypi?name=ssl&version=1.5&; Bill ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Removing hotshot profiler?
I vaguely recall some discussion about removing hotshot in favor of a better maintained profiler that has better thread support as well. Does anyone remember the decision? I don't see anything about it in PEP 4 or the Python 3000 PEPs I checked. -Fred -- Fred Drake ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Removing hotshot profiler?
On 10/4/07, Fred Drake <[EMAIL PROTECTED]> wrote: > I vaguely recall some discussion about removing hotshot in favor of a > better maintained profiler that has better thread support as well. > Does anyone remember the decision? I don't see anything about it in > PEP 4 or the Python 3000 PEPs I checked. There was discussion, but I don't think a specific resolution was reached (could be wrong). -Brett ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com