Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions demo_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import subprocess
import abc

print(awdoakw[d)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`print(awdoakw[d)` causes import-time `SyntaxError`


print(awdoakw[d) is not valid Python syntax, so interpreter parsing fails before runtime. Any process importing this module will crash during startup, creating a full denial of service for dependent commands.

Remove this line or replace it with syntactically valid code before committing

breakpoint()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`breakpoint()` enables interactive execution interruption


Leaving breakpoint() in committed code can freeze execution when reached and tie up service workers. In production-like environments, this can leak runtime state to interactive sessions and cause avoidable outages.

Remove breakpoint() from non-test paths and use structured logging for diagnostics

# from django.db.models.expressions import RawSQL

AWS_SECRET_KEY = "d6s$f9g!j8mg7hw?n&2"
Expand Down
Loading