diff options
author | Guido van Rossum <guido@python.org> | 2001-01-15 16:36:08 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-15 16:36:08 (GMT) |
commit | da91f227ec82607edce2d56d5aa41019b1417eb7 (patch) | |
tree | a23cf3e6521e842f45b0da66be7d977c87987113 | |
parent | e6ccf3ab966c37f25c3c0e4da58c3b0bc7c5a1f6 (diff) | |
download | cpython-da91f227ec82607edce2d56d5aa41019b1417eb7.zip cpython-da91f227ec82607edce2d56d5aa41019b1417eb7.tar.gz cpython-da91f227ec82607edce2d56d5aa41019b1417eb7.tar.bz2 |
Add note about ftplib defaulting to passive mode.
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |