Message73939
> I'm working on the tests for ftplib. [1] The dummy server uses string
> formatting to build responses.
I see. I propose to add a method push_string, defined as
def push_string(self, s):
self.push(s.encode("ascii")
In FTP, the responses are, by definition, ASCII-encoded strings.
The proper way to generate them is to make a string, then encode it. |
|
Date |
User |
Action |
Args |
2008-09-27 18:42:05 | loewis | set | recipients:
+ loewis, eric.smith, benjamin.peterson |
2008-09-27 18:42:03 | loewis | link | issue3982 messages |
2008-09-27 18:42:02 | loewis | create | |
|