Terry J. Reedy added the comment:
(3.6 only gets security fixes.) Please be more specific: venv produces 6 types
of scripts. Which type(s) are seen as buggy? Can you paste a script produced
by venv and its ShellCheck output? (The web site has a paste-in box.) Have
you used ShellCheck?
New submission from D. A. Pellegrino :
The activate scripts created by the venv module do not pass checks by
ShellCheck (https://www.shellcheck.net/). ShellCheck generally has a point for
each warning and note generated against the venv activate scripts. Addressing
the ShellCheck reports woul