]> granicus.if.org Git - python/commit
Minimal changes to make ftplib work. Basically, this opens the stream in
authorGuido van Rossum <guido@python.org>
Tue, 17 Jul 2007 20:45:57 +0000 (20:45 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 17 Jul 2007 20:45:57 +0000 (20:45 +0000)
commit52b8976a033073963078d8c38447c5126dfb39ce
tree1cb8ff1a8dd46998d0d74cbc33824d8ef2c7fa98
parent93adc5dfaf23c197be99fd133754ed8858749767
Minimal changes to make ftplib work.  Basically, this opens the stream in
text mode and encodes commands being sent.  The default encoding is ASCII,
there's a class/instance variable 'encoding' you could set to change it.
Lib/ftplib.py