[issue6789] ftplib storelines does not honor strings returned in fp.readline

2010-04-17 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Closed as a duplicate of 6822 which provides a patch. -- nosy: +giampaolo.rodola resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org

[issue6789] ftplib storelines does not honor strings returned in fp.readline

2009-08-27 Thread Ayman
New submission from Ayman ayman.alsair...@gmail.com: in ftplibs.storlines, a call is done on what should be a Text stream: fp.readline() 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\ftplib.py,