Message116444
Attached is a script to find all of the mismatches between the C and Python implementations. There are several. Below is the output:
RawIOBase C is missing: ['readinto', 'write']
StringIO C is missing: ['name']
StringIO python is missing: ['__getstate__', '__setstate__']
BufferedRandom python is missing: ['raw']
BlockingIOError python is missing: ['characters_written']
TextIOWrapper python is missing: ['buffer']
BufferedReader python is missing: ['raw']
BufferedWriter python is missing: ['raw']
BytesIO python is missing: ['__setstate__']
Since the Python version was the original reference implementation, adding the attributes missing from the C side seems to be a straightforward decision (and it should simply match whatever the Python version does). It looks like a number of new attributes have creeped into the C side, which will require more thoughtful decision making.
We should probably double-check that each of these is documented, while we're at it. |
|
Date |
User |
Action |
Args |
2010-09-15 13:36:55 | stutzbach | set | recipients:
+ stutzbach, pitrou, benjamin.peterson |
2010-09-15 13:36:55 | stutzbach | set | messageid: <1284557815.0.0.128748480031.issue9858@psf.upfronthosting.co.za> |
2010-09-15 13:36:53 | stutzbach | link | issue9858 messages |
2010-09-15 13:36:52 | stutzbach | create | |
|