Gedai Tamás Bence added the comment: I found out that if you modify Modules/_cpython/callproc.c resize function in a way that you set the obj->b_length to size, the len function returns the correct value.
To be able to provide a proper patch, I'd like to look into len's implementation, can someone tell me where to look for it? ---------- nosy: +beng94 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21328> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com