[issue42578] Add tip when encountering UnicodeDecode/Encode Error in open()

2020-12-05 Thread wyz23x2
wyz23x2 added the comment: >>> (1,)(2, 3) :1: SyntaxWarning: 'tuple' object is not callable; perhaps you missed a comma? -- ___ Python tracker ___ ___

[issue42578] Add tip when encountering UnicodeDecode/Encode Error in open()

2020-12-05 Thread wyz23x2
New submission from wyz23x2 : Programmers often stumble over UnicodeDecode/EncodeError during open(), and especially beginners don't know what to do. There are lots of questions on Stackoverflow: https://stackoverflow.com/questions/16528468/while-reading-file-on-python-i-got-a-unicodedecodeerro