[issue13073] message_body argument of HTTPConnection.endheaders is undocumented

2011-10-02 Thread Ben Hayden
Ben Hayden added the comment: I added in docs for the method from the actual method docstring from the http.client module. -- keywords: +patch nosy: +beardedp Added file: http://bugs.python.org/file23290/issue13073.patch ___ Python tracker <h

[issue12725] Docs: Odd phrase "floating seconds" in socket.html

2011-08-13 Thread Ben Hayden
Ben Hayden added the comment: I made the suggested second change - both in the docs & the socketmodule.c file. If there's a different way to patch documentation, someone let me know. :D -- keywords: +patch nosy: +beardedp Added file: http://bugs.python.org/file22896/issue12

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-14 Thread Ben Hayden
New submission from Ben Hayden : When running the test_pulldom test with a latest checkout of cpython from hg.python.org on Ubuntu 10.10 x64, the following ResourceWarning is thrown: test_parse (test.test_pulldom.PullDOMTestCase) Minimal test of DOMEventStream.parse() ... /home/benhayden

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-14 Thread Ben Hayden
Changes by Ben Hayden : Removed file: http://bugs.python.org/file21203/test_pulldom_resource_warning.patch ___ Python tracker <http://bugs.python.org/issue11550> ___ ___

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-14 Thread Ben Hayden
Changes by Ben Hayden : -- versions: -Python 3.3, Python 3.4 Added file: http://bugs.python.org/file21205/test_pulldom_resource_warning.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11550] Fix ResourceWarning in test_pulldom

2011-03-15 Thread Ben Hayden
Ben Hayden added the comment: I was unclear as to why the list() calls were there. I thought it would just change the iterator into a list - I didn't know that actually was needed for the test - my mistake. I'll change it back to the list() - but I'll need to loop over the fir

[issue11453] asyncore.file_wrapper should implement __del__ and call close there to prevent resource leaks and behave like socket.socket does.

2011-03-15 Thread Ben Hayden
Ben Hayden added the comment: Adding a patch that adds an __exit__ function much like the one that socket.socket implements. Passes the test_asyncore & also doesn't raise a resource warning when I explicitly comment out some close() calls on file wrapper objects in

[issue11659] Fix ResourceWarning in test_subprocess

2011-03-23 Thread Ben Hayden
New submission from Ben Hayden : Adding in a cleanup to close Popen stdout in the function test_select_unbuffered in test_subprocess file in Lib/test dir. There are several tickets about different resource warnings mentioning test_subprocess - but I couldn't find any patches that fix

[issue1550] help('modules') broken by several 3rd party libraries (svn patch attached)

2007-12-03 Thread Ben Hayden
New submission from Ben Hayden: Instead of listing installed modules, help('modules') prints a "please wait" message, then a traceback noting that a module raised an exception during import, then nothing else. This happens in 2.5 and 2.6a0, but not in 2.4, which apparentl

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ben Hayden
New submission from Ben Hayden : When running the test suite on Linux 3.2.9-1, I get the following error on the test_os suite: test test_os crashed -- Traceback (most recent call last): File "/home/benhayden/Documents/cpython/Lib/test/regrtest.py", line 1229, in run

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ben Hayden
Ben Hayden added the comment: That was my thought, but again, I didn't really know if it was 'safe' to snuff the OSError all together. This patch just returns False if any OSError is raised. -- ___ Python tracker <http

[issue14358] test_os failing with errno 61: No Data Available

2012-03-18 Thread Ben Hayden
Changes by Ben Hayden : Added file: http://bugs.python.org/file24934/test_os_support_ext_return_false.patch ___ Python tracker <http://bugs.python.org/issue14