Antoine Pitrou added the comment: > Tentative patch attached. The test suite still passes, but I'm not > sure if it actually exerts the new code path.
A quick grep shows me that it should be exercised at least by Modules/_io/bufferedio.c. Otherwise, the way to test the C API is to add a function to Modules/_testcapi.c, and test that function from the relevant test file. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21377> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com