You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2005-02-10.06:22:39.000>created_at=<Date2001-12-04.21:40:18.000>labels= ['type-feature']
title='commands.mkarg function should be public'updated_at=<Date2005-02-10.06:22:39.000>user='https://bugs.python.org/donut'
There is a strange ommision in the commands module, you
can safely get the ls -ld of a file since it
shell-quotes its argument, but yet you cannot safely
run other commands since the mkarg function isn't
"public" (well, not if you only follow the docs, or do
import *).
In addition, since commands.py seems to be unix only,
it would be better for the mkarg functionality to be
moved to the os module so that on other OSes you could
use it with os.system, etc. (well, I guess maybe it
would belong in the os-specific modules like posix, nt,
etc, since its probably varies)
(Though it should probably be given a better name in
that case, like os.mkshellarg or somesuch.)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: