diff options
author | Barry Warsaw <barry@python.org> | 2000-09-01 06:09:23 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-09-01 06:09:23 (GMT) |
commit | 100d81e8e3d06a82a6d9cefee209ac7862951720 (patch) | |
tree | 904ce1f132a2927fe801fb15415e3144b84b0012 /BeOS/README.readline-2.2 | |
parent | e0d9a83bea5f78964217fd1f2dd82027841c9444 (diff) | |
download | cpython-100d81e8e3d06a82a6d9cefee209ac7862951720.zip cpython-100d81e8e3d06a82a6d9cefee209ac7862951720.tar.gz cpython-100d81e8e3d06a82a6d9cefee209ac7862951720.tar.bz2 |
Added support for RFC 959's REST command (restart), closing SF patch
#101187, which some modifications. Specifically,
ntransfercmd(), transfercmd(), and retrbinary() all grow an optional
`rest' argument, which if not None, is used as the argument to an FTP
REST comman dbefore the socket is returned. Differences from the SF
patch:
- always compare against None with `is' or `is not' instead of == or !=
- no parens around conditional
- RFC 959 defines the argument to REST is a string containing any
ASCII characters in the range [33..126]. Therefore, we use the %s
format character instead of %f or %d as suggested in the patch's
comments. Note that we do /not/ sanity checkthe contents of the
rest argument (but we'll document this in the library reference
manual).
Diffstat (limited to 'BeOS/README.readline-2.2')
0 files changed, 0 insertions, 0 deletions