Re: Errors in python\3.8.3\Lib\nntplib.py

2020-04-29 Thread G Connor
On 4/29/2020 5:29 PM, Chris Angelico wrote: > Try opening the file in binary mode instead. Changed: f = open(postfile,'r')to : f = open(postfile,'rb') and it worked. Thanks man! -- https://mail.python.org/mailman/listinfo/python-list

Re: Errors in python\3.8.3\Lib\nntplib.py

2020-04-29 Thread Chris Angelico
On Thu, Apr 30, 2020 at 7:18 AM G Connor wrote: > > module: python\3.8.2\Lib\nntplib.py > lines 903-907 > --- > for line in f: > if not line.endswith(_CRLF): > line = line.rstrip(b"\r\n") + _CRLF > if line.startswith(b'.'): > line =

Errors in python\3.8.3\Lib\nntplib.py

2020-04-29 Thread G Connor
module: python\3.8.2\Lib\nntplib.py lines 903-907 --- for line in f: if not line.endswith(_CRLF): line = line.rstrip(b"\r\n") + _CRLF if line.startswith(b'.'): line = b'.' + line --- When I try