-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed as duplicate of#90484
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-venvRelated to the venv moduleRelated to the venv moduletype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
# Add a code block here, if requiredI don't know what to say besides who in their right mind thought executing rm -rf with no warning to the user was a good idea?
There is nothing in the documentation that even hints to the user that venv is going to do a thing so stupid that even non devs use rm -rf / as a joke.
A bug report was filed in 2022 on the old tracker, and, much to my endless amusement, it still exists today!
Please, please, I beg you, do SOMETHING about the default behavior. Play an ominous tone. Make the screen flash red in warning. Show a gif of a programmer crying.
Or just, you know, at least confirm that the user wants you to indiscriminately and recursively delete everything.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtopic-venvRelated to the venv moduleRelated to the venv moduletype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error