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
Date 2019-01-08.17:03:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546967000.66.0.594887800159.issue35686@roundup.psfhosted.org>
In-reply-to
Content
See there:

https://github.com/borgbackup/borg/pull/4247

I did the first changeset after seeing some strange exception popping up which it was handling another exception - which I assumed was related to memoryview.release not being called in the original code.

So it was clear to me, that we should use the CM there. So I added that (first changeset) and that made the code always fail (see first travis-ci link).

Then removed the CM again and replaced it with functionally equivalent try/finally (second changeset) - that worked.

So, the question is whether there is some issue in CPython's memoryview contextmanager code that make it fail in such a strange way.
History
Date User Action Args
2019-01-08 17:03:25Thomas.Waldmannsetrecipients: + Thomas.Waldmann
2019-01-08 17:03:20Thomas.Waldmannsetmessageid: <1546967000.66.0.594887800159.issue35686@roundup.psfhosted.org>
2019-01-08 17:03:20Thomas.Waldmannlinkissue35686 messages
2019-01-08 17:03:20Thomas.Waldmanncreate