summaryrefslogtreecommitdiffstats
path: root/Include/abstract.h
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2000-09-01 06:09:23 (GMT)
committerBarry Warsaw <barry@python.org>2000-09-01 06:09:23 (GMT)
commit100d81e8e3d06a82a6d9cefee209ac7862951720 (patch)
tree904ce1f132a2927fe801fb15415e3144b84b0012 /Include/abstract.h
parente0d9a83bea5f78964217fd1f2dd82027841c9444 (diff)
downloadcpython-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 'Include/abstract.h')
0 files changed, 0 insertions, 0 deletions