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 mckenzm
Recipients eric.smith, mckenzm
Date 2021-11-08.07:52:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636357946.22.0.0288545730497.issue45746@roundup.psfhosted.org>
In-reply-to
Content
To answer your original questions : Linux Host and Client, amd MVS (EBCDIC records) to Linux.

hacks to overcome (in libftp):

def print_line(line):
    '''Default retrlines callback to print a line.'''
    print(line, end='')            <==== suppress here

and... 
               if not line:
                    break
                if line[-2:] == CRLF:   <== left these
                    line = line[:-2]
                elif line[-1:] == '\n':
                    line = line[:-1]
                callback(line + '\n')  <== added it back here.
History
Date User Action Args
2021-11-08 07:52:26mckenzmsetrecipients: + mckenzm, eric.smith
2021-11-08 07:52:26mckenzmsetmessageid: <1636357946.22.0.0288545730497.issue45746@roundup.psfhosted.org>
2021-11-08 07:52:26mckenzmlinkissue45746 messages
2021-11-08 07:52:26mckenzmcreate