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

Vincent Legoll report at bugs.python.org
Sun Aug 2 00:29:41 CEST 2009


New submission from Vincent Legoll <vincent.legoll at gmail.com>:

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: +patch
title: Lib/ftplib.py -> Lib/ftplib.py netrc class parsing problem
Added file: http://bugs.python.org/file14625/py3k-ftplib.py-use-before-assignment.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6623>
_______________________________________


More information about the Python-bugs-list mailing list