R. David Murray <rdmur...@bitdance.com> added the comment:

Thanks for working on this.

For the most part your patch looks fine.  Two comments: (1) it concerns me that 
by co-opting the existing test, we are no longer testing that decoding does not 
introduce a spurious newline :).  (2) I think we should add a comment in 
_bdecode that it used to do more and is retained now only for backward 
compatibility.

I don't particularly like proliferating test files, and I plan to fix that in 
email6, but for now I think you should just add a new test file based on 
msg_10, and a test that uses it.

----------
stage: test needed -> patch review

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

Reply via email to