Author aymanhs
Recipients aymanhs
Date 2009-08-27.07:18:15
SpamBayes Score 1.50157e-09
Marked as misclassified No
Message-id <>
in ftplibs.storlines, a call is done on what should be a Text stream:
This would work in pre 3.x as it returns bytes but now that readlines
returns a string, the call at lines 477 would fail:

  File "C:\Python31\lib\", line 477, in storlines
    if buf[-1] in B_CRLF: buf = buf[:-1]
TypeError: Type str doesn't support the buffer API

The readline call should then be encoded().
Date User Action Args
2009-08-27 07:18:18aymanhssetrecipients: + aymanhs
2009-08-27 07:18:18aymanhssetmessageid: <>
2009-08-27 07:18:16aymanhslinkissue6789 messages
2009-08-27 07:18:15aymanhscreate