[issue10942] xml.etree.ElementTree.tostring returns type bytes, expected type str

2011-01-18 Thread J_Tom_Moon_79
J_Tom_Moon_79 added the comment: Some other bugs affecting the tostring method (for consideration by the reviewer): http://bugs.python.org/issue6233#msg89718 http://bugs.python.org/msg101037 http://bugs.python.org/issue9692 -- ___ Python tracker

[issue10942] xml.etree.ElementTree.tostring returns type bytes, expected type str

2011-01-18 Thread J_Tom_Moon_79
New submission from J_Tom_Moon_79 : method xml.etree.ElementTree.tostring from module returns type bytes. The documentation reads """Returns an encoded string containing the XML data.""" (from http://docs.python.org/py3k/library/xml.etree.elementtree.html#xml.etr

[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread J_Tom_Moon_79
J_Tom_Moon_79 added the comment: > Care to propose a patch? oops. I just found http://www.python.org/dev/patches/ I'll get around to creating a PEP sometime soon. -- ___ Python tracker <http://bugs.python.org

[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread J_Tom_Moon_79
J_Tom_Moon_79 added the comment: Hi David, Currently the 3.1 documentation reads: """HTTPConnection.set_debuglevel(level)ΒΆ Set the debugging level (the amount of debugging output printed). The default debug level is 0, meaning no debugging output is printe

[issue10705] HTTPConnection.set_debuglevel has no information about level range

2010-12-14 Thread J_Tom_Moon_79
New submission from J_Tom_Moon_79 : Function HTTPConnection.set_debuglevel(level) There is no range of acceptable debug levels. What should be the difference in set_debuglevel(1) and set_debuglevel(1000)? If the documentation lists the levels this would save users from needing to do tedious