Serhiy Storchaka added the comment:
This is a duplicate of issue16974.
--
nosy: +serhiy.storchaka
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> when "python -c command" does a traceback, it open the file
""
___
New submission from SÅ‚awomir Nizio :
This may lead to e.g. DoS or data leak.
When an exception occurs, the Python interpreter displays the stack trace:
$ python3 a.py
Traceback (most recent call last):
File "a.py", line 2, in
print(1/0)
ZeroDivisionError: division by zero
and does so al