Tim McDonough added the comment:
Yes, there are wrapper scripts on my system. My system was updated from 3.3 to
3.6. The 3.3 and 3.6 wrappers are equivalent and similar to the python2.7
wrapper as shown:
exec -a `dirname $realpath`/python2.7 `dirname $realpath`/python2.7.real "$@&
New submission from Tim McDonough :
I found an odd behavior that seems to be limited to Python 3.6.3.
Python 3.6.3 command scripts seem to prefer wrapping in double quotes instead
of single quotes.
Here is an example of the error.
$ echo -n '{"A":"a"}' |