Senthil Kumaran added the comment:

Karl - thanks for your telnet debugging session output. Helped realized the 
problem better. So I had been thinking that sending message is okay. But had 
not realized that same variable name was used and was causing problem.

I have gone ahead with the fix for now. And for the tests, I think, will be 
written very similar to test_header_buffering_of_send_error of 
test_header_bufferring_of_send_error - when send_error is sent and then error 
asserted.

(Usually, I try to change test and patch together and that's our protocol too. 
In this case, I only tested it manually, thinking that there is not test 
coverage for this portion (yet). But later when I peeked into tests, I saw that 
it would be written for this scenario). Will include and then close this 
report. The other suggestion of Paul can be included in another report and so 
the change of the error status to proper 501 Not Implemented.

Thanks.

----------
versions: +Python 2.7, Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12921>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to