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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2014-11-18.14:02:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416319375.33.0.739222572648.issue22896@psf.upfronthosting.co.za>
In-reply-to
Content
PyObject_AsCharBuffer(), PyObject_AsReadBuffer() and PyObject_AsWriteBuffer() release the buffer right after acquiring and return a pointer to released buffer. This is not safe and could cause issues sooner or later. These functions shouldn't be used in the stdlib at all.
History
Date User Action Args
2014-11-18 14:02:55serhiy.storchakasetrecipients: + serhiy.storchaka
2014-11-18 14:02:55serhiy.storchakasetmessageid: <1416319375.33.0.739222572648.issue22896@psf.upfronthosting.co.za>
2014-11-18 14:02:55serhiy.storchakalinkissue22896 messages
2014-11-18 14:02:55serhiy.storchakacreate