[issue9858] Python and C implementations of io are out of sync
Laura Rupprecht
report at bugs.python.org
Mon Apr 27 08:14:47 CEST 2015
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 <report at bugs.python.org>
<http://bugs.python.org/issue9858>
_______________________________________
More information about the Python-bugs-list
mailing list