[issue6623] Lib/ftplib.py netrc class parsing problem

2013-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset acf247d25f17 by R David Murray in branch 'default': #6623: Add explicit deprecation warning for ftplib.Netrc. http://hg.python.org/cpython/rev/acf247d25f17 -- nosy: +python-dev ___ Python tracker

[issue6623] Lib/ftplib.py netrc class parsing problem

2009-08-04 Thread Vincent Legoll
Vincent Legoll added the comment: If the macro_lines is not emptied upon end of parsing a macro definition, if there's another macro definiton it will 'inherit' the lines from the previous one, which could very well be uncool. The use before definition should also be fixed. Please advise if a

[issue6623] Lib/ftplib.py netrc class parsing problem

2009-08-01 Thread Vincent Legoll
New submission from Vincent Legoll : The 'macro_lines' list should probably be emptied upon leaving macro parsing mode. Simplify code by using the 'macro_name' variable as the boolean for macro parsing mode. Deprecated code probably should be fixed until completely removed -- keywords: