There is a module in standard library for such parsing -- shlex.
Improve parsing method of hosts in ssh_config.
Thanks, seems legit. If it's not legit, then we don't have enough tests, but I remember more being added when this parsing change was put in a while back.
The previous parsing code was also written by me. Current tests (https://github.com/paramiko/paramiko/blob/master/tests/test_util.py#L357) are suitable.
Dyslexia strikes again. Actually close #431, not #413