Andrei Daraschenka <dorosch.github...@yandex.ru> added the comment:

Hello
I was finally reproduce your problem.
Probles was in Lib/shelve.py module in method Shelf.sync. When python is shut 
down in classes calls __exit__ methods, in our issues method __exti__ called 
method close() which called method sync(). Method sync() tried sync data 
between disk and memory storage. But if key didn't exists on disk - python has 
error segfault.
I attach path for this problem and I will prepare PR soon.

----------
keywords: +patch
Added file: https://bugs.python.org/file48913/shelve.py.patch

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

Reply via email to