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,
Gedai Tamás Bence added the comment:
Added a small patch that solves this issue on Ubuntu 15.10.
Produces output like:
/lib/x86_64-linux-gnu/libm.so.6
/lib/x86_64-linux-gnu/libc.so.6
/lib/x86_64-linux-gnu/libbz2.so.1.0
I'd be glad to add some test cases if someone can give me some tips on how
Gedai Tamás Bence added the comment:
Antti, would you like to provide a patch? If you don't want to work on it, I
can give it a try.
--
nosy: +beng94
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Gedai Tamás Bence added the comment:
Thanks Martin for the review!
I tried to fix the problems, I hope now it'll be good.
Changes:
- fixed uppercase 'B'
- removed VMSError
- moved notes after versionchanged
- added two indices for the different tables
* put BufferError in it's place
I didn't
Gedai Tamás Bence added the comment:
I've created a new table for warnings and added the missing exceptions to the
exceptions table.
I did not find a link for VMSError, but I added it to the table.
Note that the exceptions table is not absolutely in alphabetical order, I can
fix it as well
Gedai Tamás Bence added the comment:
Py_SIZE: https://docs.python.org/3.5/c-api/structures.html#c.Py_SIZE
PyList_New: https://docs.python.org/3.5/c-api/list.html#c.PyList_New
I think they're documented now, so I guess the issue can be closed.
--
nosy: +beng94
Gedai Tamás Bence added the comment:
I think it's in the docs, although if you don't find it sufficient I might try
to update it.
`tearDown method
<https://docs.python.org/3.5/library/unittest.html#unittest.TestCase.tearDown>`_
"This is called even if the test method raised a