[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-22 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-22 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset be4bec689de3 by Kristján Valur Jónsson in branch '2.7': Issue #10212: Support new buffer interface for struct.unpack and http://hg.python.org/cpython/rev/be4bec689de3 -- nosy: +python-dev ___ Python track

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-18 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-18 Thread Tres Seaver
Tres Seaver added the comment: Patch looks good to me. I would call it a bugfix, not a feature. -- nosy: +tseaver ___ Python tracker ___

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: For the backport policy question, since there seems to be disagreement, consider a post on pydev asking for discussion and if no quick consensus, a ruling from Guido or designee. -- ___ Python tracker

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2013-03-18 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: We don't seem to be getting any traction on this. 2.7.4 is to be cut next weekend so it is becoming more urgent :) -- ___ Python tracker _

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2012-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Stefan, since you have been working on Memoryview, any opinions? -- nosy: +skrah ___ Python tracker ___ ___

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2012-03-20 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: The patch is still there. Any new consensus? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the absence of doc references in this and #10211 that would *clearly* settle the bug vs. feature issue, it strikes me as a bit murky. So I am inclined to agree with MAL that failure to achieve the stated, documented purpose is a bug. I strongly suspect tha

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-28 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: MAL’s viewpoint from msg119721: “The memoryview object was added to simplify porting applications to Python3. If that backport is incomplete in the sense that the memoryview object is not compatible with the standard Python2 object for such memory views, then I'

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: I disagree. It's not a new feature. We're merely completing an old feature (adding new-style buffers from 3.x to 2.7) that wasn't fully implemented. by the core. The new buffer isn't accepted in a lot of places where you'd expect it to be. The goo

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Extension Modules -Interpreter Core nosy: +benjamin.peterson, eric.araujo status: open -> pending ___ Python tracker ___

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: You can't add buffer protocol support to cStringIO in a bugfix release, since it would be a new feature. -- nosy: +pitrou ___ Python tracker _

[issue10212] struct.unpack and cStringIO.StringIO don't support new buffer

2010-10-27 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : When doing socket IO, it is beneficial to use a bytearra() and then using sock.recv_into() to avoid moving data about. However, many useful functions still don't accept new style buffers, such as the bytearray and memoryview. In particular, the stru