]> granicus.if.org Git - python/commit
Fix SF bug #459767: ftplib fails with files > 2GB
authorGuido van Rossum <guido@python.org>
Tue, 16 Oct 2001 19:45:52 +0000 (19:45 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 16 Oct 2001 19:45:52 +0000 (19:45 +0000)
commitb6aca6afe2c46b57810c0f3e726e6dae5336d324
tree1a5a5614ff5b7f57d2cf42b4772b918ed00bec3e
parent5bf1ecd503c77880ca45d67076907edf1d4d8d65
Fix SF bug #459767: ftplib fails with files > 2GB

size(), parse150(): try int() first, catch OverflowError, fall back to
long().
Lib/ftplib.py