[issue12398] Sending binary data with a POST request in httplib can cause Unicode exceptions
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue12398> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4833] Explicit directories for zipfiles
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue4833> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1410680] Add 'surgical editing' to ConfigParser
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue1410680> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1722344] Thread shutdown exception in Thread.notify()
Thijs Triemstra added the comment: Looks like this influenced mod_wsgi as well: http://groups.google.com/group/modwsgi/browse_thread/thread/ba82b2643564d2dd -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue1722344> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6142] Distutils doesn't remove .pyc files
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue6142> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5931] Python runtime name hardcoded in wsgiref.simple_server
Thijs Triemstra added the comment: Here's a patch that uses platform.python_implementation instead, producing: >>> from wsgiref import simple_server >>> simple_server.software_version 'WSGIServer/0.1 CPython/2.7a0' >>> This will become relevant when Jython and IronPython start using these modules. -- keywords: +patch Added file: http://bugs.python.org/file14986/wsgiref.patch ___ Python tracker <http://bugs.python.org/issue5931> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1143] Update to latest ElementTree in Python 2.7
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue1143> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4434] Embedding into a shared library fails
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue4434> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6005] Bug in socket example
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue6005> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3212] ssl module - should test for a wrong cert
Thijs Triemstra added the comment: Guess it can be closed then. -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue3212> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5885] uuid.uuid1() is too slow
Changes by Thijs Triemstra : -- nosy: +thijs ___ Python tracker <http://bugs.python.org/issue5885> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6904] Broken URL for pyqt
New submission from Thijs Triemstra : using/mac.html#gui-programming-on-the-mac refers to http://www.riverbankcomputing.co.uk/pyqt/ but this should be http://www.riverbankcomputing.co.uk/software/pyqt -- assignee: georg.brandl components: Documentation messages: 92589 nosy: georg.brandl, thijs severity: normal status: open title: Broken URL for pyqt versions: Python 2.6 ___ Python tracker <http://bugs.python.org/issue6904> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6224] References to JPython
New submission from Thijs Triemstra : The documentation refers to JPython in several places, which is the old name, it's called Jython nowadays. - platform.java_ver - tkinter -- assignee: georg.brandl components: Documentation messages: 89012 nosy: georg.brandl, thijs severity: normal status: open title: References to JPython versions: Python 2.5, Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue6224> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6079] SyntaxError in xmlrpc.client examples
Thijs Triemstra added the comment: Updated ticket title since it's for multiple sections in the documentation, not just the Fault example. -- title: SyntaxError in xmlrpc.client Fault example -> SyntaxError in xmlrpc.client examples ___ Python tracker <http://bugs.python.org/issue6079> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6079] SyntaxError in xmlrpc.client Fault example
Thijs Triemstra added the comment: On the same documentation page for Python 3.1b1 it shows a similar error for the ProtocolError example: import xmlrpc.client # create a ServerProxy with an invalid URI proxy = xmlrpc.client.ServerProxy("http://invalidaddress/";) try: proxy.some_method() except xmlrpc.client.ProtocolError, err: print("A protocol error occurred") print("URL: %s" % err.url) print("HTTP/HTTPS headers: %s" % err.headers) print("Error code: %d" % err.errcode) print("Error message: %s" % err.errmsg) Throws this error: File "proto.py", line 8 except xmlrpc.client.ProtocolError, err: ^ SyntaxError: invalid syntax Which should be fixed with: import xmlrpc.client # create a ServerProxy with an invalid URI proxy = xmlrpc.client.ServerProxy("http://invalidaddress/";) try: proxy.some_method() except xmlrpc.client.ProtocolError as err: print("A protocol error occurred") print("URL: %s" % err.url) print("HTTP/HTTPS headers: %s" % err.headers) print("Error code: %d" % err.errcode) print("Error message: %s" % err.errmsg) -- ___ Python tracker <http://bugs.python.org/issue6079> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6079] SyntaxError in xmlrpc.client Fault example
New submission from Thijs Triemstra : The example is defined as: import xmlrpc.client proxy = xmlrpc.client.ServerProxy("http://localhost:8000/";) try: proxy.add(2, 5) except xmlrpc.client.Fault, err: print("A fault occurred") print("Fault code: %d" % err.faultCode) print("Fault string: %s" % err.faultString) Which throws the following error: File "test.py", line 6 except xmlrpc.client.Fault, err: ^ SyntaxError: invalid syntax I think it should be defined instead as: import xmlrpc.client proxy = xmlrpc.client.ServerProxy("http://localhost:8000/";) try: proxy.add(2, 5) except xmlrpc.client.Fault as err: print("A fault occurred") print("Fault code: %d" % err.faultCode) print("Fault string: %s" % err.faultString) -- assignee: georg.brandl components: Documentation messages: 88162 nosy: georg.brandl, thijs severity: normal status: open title: SyntaxError in xmlrpc.client Fault example type: compile error versions: Python 3.0 ___ Python tracker <http://bugs.python.org/issue6079> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5931] Python runtime name hardcoded in wsgiref.simple_server
New submission from Thijs Triemstra : While testing the following script on Jython 2.5b4 I noticed it returned SERVER_SOFTWARE = 'WSGIServer/0.1 Python/2.5b4+' instead of the expected 'WSGIServer/0.1 Jython/2.5b4+'. This is because the word 'Python' is hardcoded in simple_server.py; "sys_version = "Python/" + sys.version.split()[0]". I suggest using the real name of the runtime instead of hardcoding it. from wsgiref.simple_server import make_server, demo_app httpd = make_server('', 8000, demo_app) print "Serving HTTP on port 8000..." # Respond to requests until process is killed httpd.serve_forever() # Alternative: serve one request, then exit httpd.handle_request() -- components: Library (Lib) messages: 87190 nosy: thijs severity: normal status: open title: Python runtime name hardcoded in wsgiref.simple_server type: behavior versions: Python 2.5 ___ Python tracker <http://bugs.python.org/issue5931> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com