Change by Ali Mohammad Pur :
--
title: 'virtualenv --clear' should prompt user before nuking entire directory
-> 'venv --clear' should prompt user before nuking entire directory
___
Python tracker
<https://
Ali Mohammad Pur added the comment:
> If similar behavior is also an issue with the Python standard library venv
> module (which is a derivative of virtualenv), please update this issue
> accordingly
Yes, my bad, I should have mentioned that this applies to venv, I will update
New submission from Ali Mohammad Pur :
`virtualenv --clear` is extremely eager to delete the passed directory without
any sort of confirmation, leading to possible data-loss
(e.g. with a mistyped command, or a misunderstanding of what it actually does).
Simply deleting an entire directory tree