Xuanji Li <xua...@gmail.com> added the comment: The patch attached (issue_10464_fix) moves handling of the '#' character from shlex to netrc, and makes netrc consider as comments lines whose first not-whitespace character is '#' instead of all text following '#' (which is what shlex does and which causes this bug). It also includes a test case.
---------- Added file: http://bugs.python.org/file19818/issue_10464_fix.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10464> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com