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 serhiy.storchaka
Recipients barry, gumnos, r.david.murray, serhiy.storchaka
Date 2017-03-24.16:16:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490372161.41.0.0739553125189.issue22319@psf.upfronthosting.co.za>
In-reply-to
Content
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)?
History
Date User Action Args
2017-03-24 16:16:01serhiy.storchakasetrecipients: + serhiy.storchaka, barry, gumnos, r.david.murray
2017-03-24 16:16:01serhiy.storchakasetmessageid: <1490372161.41.0.0739553125189.issue22319@psf.upfronthosting.co.za>
2017-03-24 16:16:01serhiy.storchakalinkissue22319 messages
2017-03-24 16:16:01serhiy.storchakacreate