Irit Katriel added the comment:
Closing as the discussion stalled about 7 years ago and was then leaning
towards rejecting the suggestion.
--
nosy: +iritkatriel
resolution: -> rejected
stage: needs patch -> resolved
status: open -> closed
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: -ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22738
___
___
Python-bugs-list
Terry J. Reedy added the comment:
On Win7, current Firefox, '-c' looks the same (definitely lowercase) for 2.7,8,
3.4.2, and 3.5.0a0,
I agree both that the sys.argv entry should be left as is and that 'interpret'
is better than 'feed' or the current verbiage. I think 'cmd' should be left as
R. David Murray added the comment:
I am hard pressed to come up with anything useful you can do with the argument
to -c without quoting it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22738
Terry J. Reedy added the comment:
Semi-useful: print a numeric expression without spaces
C:\Users\Terrypython -c print(2**50)
1125899906842624
Less useful: print a string expression without spaces or double quotes
C:\Users\Terrypython -c print('*'*50)
R. David Murray added the comment:
Ah, I see. Those don't work in my shell, since the '*' gets interpreted as a
globbing character. I didn't know it worked on Windows.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22738
R. David Murray added the comment:
Well, again, your suggested change for sys.argv is less optimal English. The
text as is seems fine to me.
'feed' is a term generally used when there is a source separate from the
command (for example, we speak about a unix pipe feeding data from one command
Van Ly added the comment:
I don't know what you mean by optimal English. As is, the English is of the
native English speaker's comfy couch guides speaking to guides kind rather than
guides speaking to audience wanting to be guided by.
The suggestion I offered is imperfect and can be improved
Van Ly added the comment:
-c str : interpret str as a program (terminates option list)
+1 (feed is shorter)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22738
___