Laura Rupprecht added the comment: There were originally three methods present in RawIOBase that were not present in PyRawIOBase_Type:
1. readinto 2. write 3. __weakref__ I've created a patch that adds the first two to PyRawIOBase_Type. The python class readinto and write methods raise UnsupportedOperation, so the c methods return a PyExc_NotImplementedError. The next major question I have is whether we need to implement a __weakref__ method or this should be ignored in the test. ---------- keywords: +patch nosy: +laura Added file: http://bugs.python.org/file39212/issue9858.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com