Writing secure code is difficult. Once you learn a language, a module or a framework, you find out how it imagined to be used. Once thinking about security, you wish to think about how it can be misused. Python isn't any exception, even inside the quality library there are documented bad practices for writing hardened applications.
Here are my top 10, in no explicit order, common gotchas in Python applications.
1. Input injection: