Why does Python consistently have a relatively low number of exploits?
Hopefully, this is a result of secure coding practices and not lax security research for Python projects
Some credit could also go to the design of the language and the conventions this encourages. The core language itself is small, which makes testing easier, while the standard library provides lots of key functionality with less of a need to reinvent the wheel – though this still happens of course. The focus on readability comes from an appreciation that code will probably have to be maintained by someone other than the author. Strong but dynamic typing means fewer gotchas due to automatic type-casting, though mutables still pose problems, whilst allowing short, expressive and flexible code.
But no resting on our laurels, though!