Petri Lehtinen added the comment:

> I'm investigating it now and will get back with a revised &
> fully tested patch.

Sounds good. FWIW, it only broke on 3.x and default branches, and you can 
probably reproduce it on my own machine, too, by applying the patch and then 
running test_netrc.

This is what shlex documentation says about lineno:

> shlex.lineno
>     Source line number (count of newlines seen so far plus one).

This is a bit vague, as it doesn't really state whether newlines should be 
treated "greedily" (consumbed before the next token is read) or "lazily" 
(consumed only when the next token is read).

----------

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

Reply via email to