#pythonmistake

Python PeakPythonPeak
2026-01-24

Why does this Python worker drop messages?

Why does this Python worker drop messages in production. The Python code acknowledges the queue before the database commit, so failures lose data permanently. In Python pipelines this creates silent gaps.

...

youtube.com/watch?v=SAcVyYDFUF0

Python PeakPythonPeak
2026-01-24

Why is this Python command injection possible?

Why is this Python command injection possible in a media service. The Python code builds a shell command with user input and runs it with shell=True. In Python backends this allows attackers to execute commands.

...

youtube.com/watch?v=4Bkzc5ZVrxE

Python PeakPythonPeak
2026-01-22

What's wrong with this Python asyncio gather?

What's wrong with this Python asyncio gather in a fan-out call. The Python code lets one failure cancel all other tasks, so partial writes never finish. In Python services this causes missing records and inconsistent state.

...

youtube.com/watch?v=sDLObQv7Luc

Python PeakPythonPeak
2026-01-21

What's wrong with this Python account transfer?

What's wrong with this Python account transfer in production. The Python code updates two balances without a transaction, so crashes leave money missing or duplicated. In Python finance services this creates inconsistent ledgers.

...

youtube.com/watch?v=xoGIKrtHHt8

Python PeakPythonPeak
2026-01-20

Why is this Python cache a security risk?

Why is this Python cache a security risk in production. The Python code unpickles data from a client controlled source, which can execute arbitrary code. In Python services this is a remote code execution vulnerability.

...

youtube.com/watch?v=ZTCtqjdlANk

Python PeakPythonPeak
2026-01-12

Why does this Python cache serve the wrong language?

Why does this Python cache serve the wrong language in production. The Python code caches responses without locale in the key, so users see another language. In Python APIs this becomes a localization incident.

...

youtube.com/watch?v=YA1sMwee9Z4

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst