[issue20328] mailbox: add method to delete mailbox

R. David Murray report at bugs.python.org
Wed Aug 20 00:17:06 CEST 2014


R. David Murray added the comment:

Well, if you can delete subfolders, then you aren't deleting the main folder, either (unless it is empty?).  So isn't this really a 'delete_messages' method?  In which case, how does it differ from the 'clear' method?  Only in that it deletes the folder if it is empty?  That doesn't sound like a good API to me.

I find myself really confused as to what your goal is here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20328>
_______________________________________


More information about the Python-bugs-list mailing list