From: Guido van Rossum Date: Mon, 15 Jan 2001 16:36:08 +0000 (+0000) Subject: Add note about ftplib defaulting to passive mode. X-Git-Tag: v2.1a1~266 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da91f227ec82607edce2d56d5aa41019b1417eb7;p=python Add note about ftplib defaulting to passive mode. --- diff --git a/Misc/NEWS b/Misc/NEWS index 0ccf8baeac..2b8e38dc7f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -97,6 +97,13 @@ Core language, builtins, and interpreter Standard library +- The ftplib module now defaults to passive mode, which is deemed a + more useful default given that clients are often inside firewalls + these days. Note that this could break if ftplib is used to connect + to a *server* that is inside a firewall, from outside; this is + expected to be a very rare situation. To fix that, you can call + ftp.set_pasv(0). + - The module site now treats .pth files not only for path configuration, but also supports extensions to the initialization code: Lines starting with import are executed.