For example you might use a ready-made WAF written in a non-Python language in front of a Python app.