[Python-Dev] mimetypes.guess_all_extensions()

Barry Warsaw barry@python.org
09 Jun 2003 17:48:41 -0400


On Mon, 2003-06-09 at 16:55, Barry Warsaw wrote:

> I think it would be better to
> simply return an empty list.

> This method is new in Python 2.3 so I don't think backwards
> compatibility should be an issue.  It's a simple fix; are there any
> objections?

The BDFL agrees.  Since there were no unittests of
guess_all_extensions() I added some while updating the docs and
docstrings.  I'll check it all in once I've confirmed there are no other
test failures.

-Barry