Re: Contradictory error messages in Python 3.4 - standard library issue!

2016-06-17 Thread Peter Otten
Harrison Chudleigh wrote: > While working on a program, I ran into an error with the usage of the > module tokenize. The following message was displayed. > File > "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", > line 467, in tokenize > encoding, consumed = det

Re: Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Steven D'Aprano
Hi Harrison, and welcome! On Fri, 17 Jun 2016 08:25 am, Harrison Chudleigh wrote: > While working on a program, I ran into an error with the usage of the > module tokenize. So you have an error with the use of tokenize. Fair enough. But why do you imagine that the errors lies in the module its

Re: Re - Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Matt Wheeler
On Thu, 16 Jun 2016, 23:31 Harrison Chudleigh, < harrison.chudlei...@education.nsw.gov.au> wrote: > Sorry! I was trying to indent a line and accidentally sent only half of the > message. > It would be helpful if your reply was actually a reply to your previous message, to enable us to follow the

Re: Re - Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Ned Batchelder
On Thursday, June 16, 2016 at 6:39:27 PM UTC-4, Harrison Chudleigh wrote: > Sorry! I was trying to indent a line and accidentally sent only half of the > message. > > As I was saying, I changed the line and reran the program. However, this > produced another group of error messages. One was - > Fi

Re - Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Harrison Chudleigh
Sorry! I was trying to indent a line and accidentally sent only half of the message. As I was saying, I changed the line and reran the program. However, this produced another group of error messages. One was - File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", line

Contradictory error messages in Python 3.4 - standard library issue!

2016-06-16 Thread Harrison Chudleigh
While working on a program, I ran into an error with the usage of the module tokenize. The following message was displayed. File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", line 467, in tokenize encoding, consumed = detect_encoding(readline) File "/Library/