Martin Panter added the comment:

Sorry my comment was a bit rushed. I wasn’t saying this feature shouldn’t be 
added. I guess I was pointing out two things:

1. Someone should updated the documentation to say that Content-Length no 
longer has to be explicitly provided for lists and tuples.

2. Perhaps you could consider using the same len(memoryview) * 
memoryview.itemsize technique used in urllib, so that the length of e.g. 
array.array("I", range(3)) is correct. But that is tangential to what you are 
trying to achieve, and now I realize coping with Latin-1 encoding at the same 
time might make it a bit too complicated, so perhaps don’t worry about it :)

----------

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

Reply via email to