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 AWhetter
Recipients AWhetter, YoSTEALTH, barry, brandtbucher, maxking, r.david.murray, steve.dower, xtreak
Date 2019-12-30.23:37:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577749060.25.0.918406295756.issue34938@roundup.psfhosted.org>
In-reply-to
Content
Yes I'm happy to make those changes as part of this.

So clarify what needs to change in PR 16567:

1) Include a note in the docs for `inited` that outlines that if it is imported into the local scope, it will not be updated by calls to `init()`. Only `mimetypes.inited` will.

2) Add a clarification to the `add_type()` docs that changes made with `strict=True` means that they will persist after subsequent calls to `init()`.

3) Remove `_default_mime_types()` in favour of public global constants. The documentation currently refers to these globals as the "official MIME types". Should that wording change to use "default" instead of "official", or maybe should the names of the constants change to `OFFICIAL_SUFFIX_MAP` for example?
History
Date User Action Args
2019-12-30 23:37:40AWhettersetrecipients: + AWhetter, barry, r.david.murray, steve.dower, maxking, YoSTEALTH, xtreak, brandtbucher
2019-12-30 23:37:40AWhettersetmessageid: <1577749060.25.0.918406295756.issue34938@roundup.psfhosted.org>
2019-12-30 23:37:40AWhetterlinkissue34938 messages
2019-12-30 23:37:40AWhettercreate