On 2020-08-03 15:37, Halvard Tislavoll wrote: > I'am dealing with a bug [...] > Python 3.8.4 (default, Jul 20 2020, 20:20:14) > IDLE 3.8.4 > > I have been using IDLE for many years. But now I can not do it. > > Example: > I write a heading for a python script in my text editor, xed and save as > 'test.py'. > .............................................................................................................................. > #! /usr/bin/env python > # -*- coding: utf-8 -*- > > # ... pandas-techniques-python-data-manipulation/ > > import pandas as pd > import numpy as np > > #----------------------------------------------------------- > ............................................................................................................................... > Then I open 'test.py' in IDLE. Everything looks normal. > > I am testing whether it is possible to save with the shortcut ctrl-s. OK. > > But then I write the following line: > > print ("\ n # 1 - Boolean Indexing in Pandas \ n") > > Result: > storage no longer works. And IDLE becomes useless! > > The problem is that print statement no longer support my sign "-" U + 2013 EN > DASH > > but this sign goes well; "-" U + 002D HYPHEN-MINUS
See https://bugs.python.org/issue41300 The problem was introduced in Python 3.8.4 (released 2020-07-13) and has been fixed in 3.8.5 which was released 2020-07-20. -- https://mail.python.org/mailman/listinfo/python-list