New submission from Thomas Waldmann <thomas.j.waldm...@gmail.com>:

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.

----------
messages: 333236
nosy: Thomas.Waldmann
priority: normal
severity: normal
status: open
title: memoryview contextmanager causing strange crash
type: crash
versions: Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35686>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to