Terry J. Reedy added the comment:

One can paste multiple lines, comprising multiple statements, into the console 
interprer.  (Shell only recognizes a single pasted statement.)  
I agree, however, that it seems that Python could keep the split version of the 
input line for the purpose of tracebacks.  I just tried

C:\Users\Terry>python -c "import sys; print(sys.argv)"
['-c']

I expected to see to see a list of 3 strings, not 1.

----------

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

Reply via email to