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 nikratio
Recipients nikratio, pitrou, serhiy.storchaka, vstinner
Date 2014-04-01.04:19:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the feedback! I have attached an updated patch.

I did not include any testcase because the patch did not create any new code paths, so I was assuming it'd be covered by the existing test case. But of course I was wrong. In the revised patch, I added a testcase based on your example of a more complex memoryview.

(Note, however, that even with the previous implementation using nbytes = PySequence_Size(input_chunk) this test does not fail, because nbytes is used only to estimate the size of the text string).
Date User Action Args
2014-04-01 04:19:11nikratiosetrecipients: + nikratio, pitrou, vstinner, serhiy.storchaka
2014-04-01 04:19:11nikratiosetmessageid: <>
2014-04-01 04:19:11nikratiolinkissue21057 messages
2014-04-01 04:19:10nikratiocreate