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 belopolsky, ethan.furman, serhiy.storchaka, skrah, xiang.zhang
Date 2017-03-13.06:22:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489386125.12.0.399406298237.issue28856@psf.upfronthosting.co.za>
In-reply-to
Content
Sometimes the implementation can expose drawbacks of initial design. I don't know whether there was good reason for omitting the support of the buffer protocol (in that case the PEP should be updated) or this is just an oversign. We should ask Ethan about this.

The change proposed by Xiang looks correct, but not very efficient. It makes one redundant copy of the data. More efficient implementation will complicate the code, and that can hit the performance of other cases.
History
Date User Action Args
2017-03-13 06:22:05serhiy.storchakasetrecipients: + serhiy.storchaka, belopolsky, skrah, ethan.furman, xiang.zhang
2017-03-13 06:22:05serhiy.storchakasetmessageid: <1489386125.12.0.399406298237.issue28856@psf.upfronthosting.co.za>
2017-03-13 06:22:05serhiy.storchakalinkissue28856 messages
2017-03-13 06:22:04serhiy.storchakacreate