Eric V. Smith added the comment:

There's a typo here in 'executable':

+          '`{} -m venv`'.format(exeutable), file=sys.stderr)

And this could now be:
    print('WARNING: the pyenv script is deprecated in favour of '
          f'`{executable} -m venv`', file=sys.stderr)

!

And since there is no .format() call, you can't accidentally pass it file=.

----------
nosy: +eric.smith
Added file: http://bugs.python.org/file40861/issue25154-1.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25154>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to