Now that the python formula points to python3 rather than python2, getmail has some problems.
When I invoke getmail from within mutt, I get this:
File "/usr/local/bin/getmail", line 64 except ImportError, o: ^ SyntaxError: invalid syntax
NB: getmail appears to still work after the warning, but I’m not sure how reliable that is or will be.
I don’t know python well enough to be sure, but I’m guessing that this is an upstream problem. That said, Homebrew might want to do something since I have no idea whether getmail’s maintainer intends to move to python3. I’m happy to help out with a pull request, but I wanted to start here since I have very little sense of python and Hombrew at this point.
Maybe (per this conversation) getmail’s formula should recommend
--force installing python@2?
EDIT: This problem is solved. See my post below for a link to the relevant commit, if you’re curious.