[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-04-16 Thread R. David Murray
R. David Murray added the comment: If there is a way to resolve the lock issue we can consider it. But (without looking at the code again) I suspect the locking is too deeply embedded in the mbox logic for this to be a safe change. -- ___ Python

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-04-16 Thread R. David Murray
R. David Murray added the comment: The support. ClawsMail is broken, IMO. -- ___ Python tracker ___ ___

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Do you mean rejecting the support of Claws Mail IMAP-cache folder or just the patch? -- ___ Python tracker ___

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-04-16 Thread R. David Murray
R. David Murray added the comment: Honestly, given the open questions my inclination would be to reject this. -- ___ Python tracker ___

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-03-24 Thread Serhiy Storchaka
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

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2017-03-24 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +709 ___ Python tracker ___ ___

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2014-09-01 Thread Tim Chase
Tim Chase added the comment: I had to tweak the example reproduction code as it seemed to succeed (i.e., fail to demonstrate the problem) in some instances. The same exception occurs, but here's the full original traceback: $ cd

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2014-08-31 Thread Tim Chase
New submission from Tim Chase: If a mailbox.MH() object is created by pointing at a path that exists but doesn't contain a .mh_sequences file, it raises an exception upon iteration over .{iter,}items() rather than gracefully assuming that the file is empty. I encountered this by pointing it

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2014-08-31 Thread Tim Chase
Changes by Tim Chase gum...@users.sourceforge.net: -- keywords: +patch Added file: http://bugs.python.org/file36515/mailbox_mh_sequences.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22319

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2014-08-31 Thread Tim Chase
Changes by Tim Chase gum...@users.sourceforge.net: Added file: http://bugs.python.org/file36516/mailbox_mh_sequences_lbyl.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22319 ___

[issue22319] mailbox.MH chokes on directories without .mh_sequences

2014-08-31 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, r.david.murray stage: - patch review versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org