[issue2692] bytes object wrongly exposes writeable buffer interface

2008-04-30 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Duplicate of issue #2538. -- resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2692] bytes object wrongly exposes writeable buffer interface

2008-04-25 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- type: -> behavior __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsu

[issue2692] bytes object wrongly exposes writeable buffer interface

2008-04-25 Thread Thomas Heller
New submission from Thomas Heller <[EMAIL PROTECTED]>: IIUC, the bytes object should be immutable (in contrast to bytearray). But PyObject_FromWriteBuffer() does not fail. It seems that the attached patch fixes it; however there are lots of failures in the testsuite with the patch - even 'memor