Matthew H. McKenzie <gith...@swellhunter.org> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45746>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to