This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stutzbach
Recipients benjamin.peterson, pitrou, stutzbach
Date 2010-09-15.13:36:51
SpamBayes Score 0.0002266865
Marked as misclassified No
Message-id <1284557815.0.0.128748480031.issue9858@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-15 13:36:55stutzbachsetrecipients: + stutzbach, pitrou, benjamin.peterson
2010-09-15 13:36:55stutzbachsetmessageid: <1284557815.0.0.128748480031.issue9858@psf.upfronthosting.co.za>
2010-09-15 13:36:53stutzbachlinkissue9858 messages
2010-09-15 13:36:52stutzbachcreate