[issue23350] Content-length is incorrect when request body is a list or tuple

Vincent Alquier report at bugs.python.org
Tue Apr 14 17:48:37 CEST 2015


Vincent Alquier added the comment:

Martin: You're right, it's the same issue, and only related to python2's old style classes. Sorry for the useless noise.

Demian: My problem is `len(obj)` raises an Using AttributeError in python2 (with obj being old style class instance). It's python 2.X specific and I don't think it is going to be addressed (reading comments in #15267). But thanks for your code rework.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23350>
_______________________________________


More information about the Python-bugs-list mailing list