Message135158
On Python 3.2, calling abort() on an ftplib.FTP object will cause an exception:
>>> ftp = ftplib.FTP('localhost')
>>> ftp.abort()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.2/ftplib.py", line 246, in abort
self.sock.sendall(line, MSG_OOB)
TypeError: 'str' does not support the buffer interface
The offending line, ftplib.py:246, should be replaced by
self.sock.sendall(line.encode(self.encoding), MSG_OOB) |
|
Date |
User |
Action |
Args |
2011-05-04 21:45:12 | nneonneo | set | recipients:
+ nneonneo |
2011-05-04 21:45:12 | nneonneo | set | messageid: <1304545512.58.0.371208627272.issue12002@psf.upfronthosting.co.za> |
2011-05-04 21:45:11 | nneonneo | link | issue12002 messages |
2011-05-04 21:45:11 | nneonneo | create | |
|