Python fails Postel’s Law parsing email messages, with a workaround
The next-generation email parser in Python silently ignores data it doesn’t understand, sometimes to the detriment of the caller.
The next-generation email parser in Python silently ignores data it doesn’t understand, sometimes to the detriment of the caller.
What started out as a simple message archiving task turned into many hours of debugging, fixing, and cleaning up the old archives. Both frustrating and fun at the same time.
I ported TMDA from Python 2 to Python 3 so I could keep using it on my mail server. Turns out somebody already did that, but here’s my port anyway in case it’s useful to someone.
My kids watch a lot of Netflix. Some of them watch it too much, and my wife and I want to be able to turn off the spigot at night so that they’ll go to sleep without us having to confiscate all the phones and tablets in the house. Unfortunately, Netflix doesn’t have parental controls… Read More »
If you’ve arrived at this page, it’s probably because you’re searching the web for an answer why, even though you’ve called logbook.compat.redirect_logging() in your Python Flask app, you’re still not getting any Flask logging in your log files. The problem is that Flask sets the propagate flag on its logger to False by default, so even though Logbook’s… Read More »