This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients benjamin.peterson, eric.smith, loewis
Date 2008-09-27.18:42:02
SpamBayes Score 0.000521134
Marked as misclassified No
Message-id <>
In-reply-to <>
> 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):

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:05loewissetrecipients: + loewis, eric.smith, benjamin.peterson
2008-09-27 18:42:03loewislinkissue3982 messages
2008-09-27 18:42:02loewiscreate