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 pitrou
Recipients benjamin.peterson, pitrou, rupole, teoliphant
Date 2008-08-20.18:11:58
SpamBayes Score 0.038392007
Marked as misclassified No
Message-id <1219255911.5651.5.camel@fsol>
In-reply-to <1219255474.78.0.186669375684.issue3608@psf.upfronthosting.co.za>
Content
> As background, what I need is an equivalent of
> PyBuffer_New(size), which creates an object that manages its
> own buffer memory, and is not based on another object at all.

Well, you can create either a bytes or bytearray object with an
internal buffer of the desired length. Then you'll be able to create a
memoryview out of it.
History
Date User Action Args
2008-08-20 18:11:59pitrousetrecipients: + pitrou, teoliphant, rupole, benjamin.peterson
2008-08-20 18:11:58pitroulinkissue3608 messages
2008-08-20 18:11:58pitroucreate