Steve Dower <steve.do...@python.org> added the comment:

You're welcome to it - I deliberately left it for someone else to work on, 
though I'm happy to review and merge.

The visible change of making this lazy is that if someone reads from the dict, 
it'll be missing system-specified content types (until we lazily fill it in 
guess_type() ). Nobody is meant to read from it - it's public for people to 
*add* custom overrides - so this should be okay, but a little bit of GitHub 
research to find out if anyone does wouldn't hurt. Then we can at least warn 
them that it's changing before they run into their own bug.

----------

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

Reply via email to