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 Thomas.Waldmann
Recipients Thomas.Waldmann, skrah, xtreak
Date 2019-01-08.18:23:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546971800.26.0.876710901441.issue35686@roundup.psfhosted.org>
In-reply-to
Content
hmm, issue tracker does not make it easy to see which file was uploaded for which comment, so:

a: original code, works, potentially problematic exception handling (memoryview not always being released)

b: using the memoryview context manager, fails with BufferError

c: using try/finally to make sure memoryview is released: works
History
Date User Action Args
2019-01-08 18:23:21Thomas.Waldmannsetrecipients: + Thomas.Waldmann, skrah, xtreak
2019-01-08 18:23:20Thomas.Waldmannsetmessageid: <1546971800.26.0.876710901441.issue35686@roundup.psfhosted.org>
2019-01-08 18:23:20Thomas.Waldmannlinkissue35686 messages
2019-01-08 18:23:20Thomas.Waldmanncreate