]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport patch 1.57 to 2.1.2. Apparently ftp servers that send 227
authorGuido van Rossum <guido@python.org>
Tue, 18 Dec 2001 14:17:02 +0000 (14:17 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Dec 2001 14:17:02 +0000 (14:17 +0000)
commita5d6faaa0b53687b4e1080dab448ef01e29352cb
treeeddf7a8815ff2e46923c0560a5cc9314528e0c67
parent3c2b6f54005fe45225f417bb95e469953311c0a6
Backport patch 1.57 to 2.1.2.  Apparently ftp servers that send 227
responses that the original parse227() routine can't handle are
becoming more common.

"""
Change the 227 response parser to use a more liberal regular
expression.  This is needed for certain servers that (in violation of
the standard) don't return the parentheses in the response.

This fixes SF bug #441712 by Henrik Weber (not exactly using his
patch).
"""
Lib/ftplib.py