cpython/Misc/NEWS.d
Miss Islington (bot) d1524148cd
bpo-30088: Document that existing dir structure isn't verified by mailbox.Maildir (GH-1163)
Hi,

I've faced an issue w/ `mailbox.Maildir()`. The case is following:
1. I create a folder with `tempfile.TemporaryDirectory()`, so it's empty
2. I pass that folder path as an argument when instantiating `mailbox.Maildir()`
3. Then I receive an exception happening because "there's no such file or directory" (namely `cur`, `tmp` or `new`) during interaction with Maildir

**Expected result:** subdirs are created during `Maildir()` instance creation.

**Actual result:** subdirs are assumed as existing which leads to exceptions during use.

**Workaround:** remove the actual dir before passing the path to `Maildir()`. It will be created automatically with all subdirs needed.

**Fix:** This PR. Basically it adds creation of subdirs regardless of whether the base dir existed before.

https://bugs.python.org/issue30088
(cherry picked from commit e44184749c)

Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
2019-07-13 07:59:32 -07:00
..
next bpo-30088: Document that existing dir structure isn't verified by mailbox.Maildir (GH-1163) 2019-07-13 07:59:32 -07:00
3.5.0.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.0a1.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.0a2.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.5.0a3.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.0a4.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.5.0b1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.0b2.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.0b3.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.0b4.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.0rc1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.0rc2.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.0rc3.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.0rc4.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.1rc1.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.2.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.2rc1.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.3.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.3rc1.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.4.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.4rc1.rst [3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253) 2018-10-31 11:00:24 +02:00
3.5.5.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.5.5rc1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.0.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.0a1.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.0a2.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.0a3.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.0a4.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.0b1.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.0b2.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.0b3.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.0b4.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.0rc1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.0rc2.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.1rc1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.2.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.2rc1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.2rc2.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.3.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.3rc1.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.4.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.4rc1.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.6.5.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.5rc1.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.6.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.6.6rc1.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.7.0.rst 3.7.0 final 2018-06-26 23:07:35 -04:00
3.7.0a1.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.7.0a2.rst
3.7.0a3.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.7.0a4.rst
3.7.0b1.rst
3.7.0b2.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.7.0b3.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.7.0b4.rst
3.7.0b5.rst [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-10 15:39:17 +02:00
3.7.0rc1.rst
3.7.1.rst 3.7.1final 2018-10-20 02:04:19 -04:00
3.7.1rc1.rst Fix "catchs" typos in NEWS entries (GH-12364) 2019-03-24 22:22:36 -04:00
3.7.1rc2.rst 3.7.1final 2018-10-20 02:04:19 -04:00
3.7.2.rst 3.7.2final 2018-12-23 16:37:36 -05:00
3.7.2rc1.rst Revert "bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)" 2018-12-24 02:04:44 -05:00
3.7.3.rst 3.7.3 2019-03-25 16:21:05 -04:00
3.7.3rc1.rst Fix "catchs" typos in NEWS entries (GH-12364) 2019-03-24 22:22:36 -04:00
3.7.4.rst 3.7.4 final 2019-07-08 14:03:50 -04:00
3.7.4rc1.rst [3.7] bpo-37500: update Misc/NEWS entries to mention revert 2019-07-08 12:39:12 -04:00
3.7.4rc2.rst 3.7.4rc2 2019-07-02 14:51:09 -04:00