[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2012-02-04 Thread Andrew Dalke
Andrew Dalke added the comment: It does look like #8104 resolved it. I tested on 2.7.2 and verified that it's no longer a problem, so I moved this to "closed/duplicate". -- resolution: -> duplicate status: open -> closed ___ Python tracker

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2012-02-04 Thread Mark Nottingham
Mark Nottingham added the comment: >From the release notes, perhaps it was #8104. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2012-02-04 Thread Mark Nottingham
Mark Nottingham added the comment: Seems to be fixed in 2.7, although I'm not sure when exactly : Python 2.7.2 (default, Oct 21 2011, 22:13:39) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information.

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2011-05-22 Thread Mark Nottingham
Changes by Mark Nottingham : -- nosy: +mnot ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-02-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: There's a patch to make array implement the new buffer API in the following issue, which was closed: http://bugs.python.org/issue6071 The patch is "hasharray.patch". -- nosy: +pitrou ___ Python tracker

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-02-01 Thread Andrew Dalke
Andrew Dalke added the comment: Since I see the change to "test needed", I've attached a diff against Python 2.6's test_socket.py. I would have generated one against the 2.7 version in subversion but that test doesn't exit. -- keywords: +patch Added file: http://bugs.python.org/file16

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-01-31 Thread Brian Curtin
Changes by Brian Curtin : -- priority: -> normal stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is fixed in Python 3. I think it is (another) bug that it accepts array objects; it should reject them with the same error. OTOH, recv_into should use "w*". -- nosy: +loewis ___ Python tracker

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-01-31 Thread Andrew Dalke
New submission from Andrew Dalke : In Python 2.6 and Python 2.7a2+, I can't socket.recv_into(a byte array instance). I get a TypeError which complains about a "pinned buffer". I have only an inkling of what that means. Since an array.array("b") works there, and since it works in Python 3.1.1