Louie Lu added the comment:

I think this patch make the behavior changed.

Documentation wrote that: "If create is True, the mailbox is created if it does 
not exist.", the current version did that exactly, it won't create subdir (tmp, 
new, and cur) when dir exists.

The situation face here is that TemporaryDirectory() create a valid dir without 
Maildir structure subdir (tmp, new, and cur), and the `create` parameter won't 
create subdir (because the dir is exist!).

Not sure if this behavior change is worth or not. I'll also upload an PoC for 
this.

----------
nosy: +louielu
Added file: http://bugs.python.org/file46808/poc.py

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

Reply via email to