Serhiy Storchaka added the comment:

I consider this issue as a new feature.

PR 804 makes get_sequences() and set_sequences() working when the 
".mh_sequences" file does not exist.

The open question is what to do with lock(). Currently it fails if the 
".mh_sequences" file does not exist. Is it correct to create the 
".mh_sequences" file in lock() or this invalidates the lock?

Is it safe to change the file open mode in set_sequences() from "r+" to "w" 
(the file is truncated later)?

----------
nosy: +serhiy.storchaka
type: behavior -> enhancement
versions: +Python 3.7 -Python 2.7, Python 3.4, Python 3.5

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

Reply via email to