While testing 3.9a6 in the reportlab package I see this difference from 3.8.2; I built from source using the standard configure make dance. Is this a real change?
robin@minikat:~/devel/reportlab/REPOS/reportlab/tests $ python Python 3.8.2 (default, Apr 8 2020, 14:31:25) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> norm=lambda m: m+(m and(m[-1]!='\n'and'\n'or'')or'\n') >>> robin@minikat:~/devel/reportlab/REPOS/reportlab/tests $ python39 Python 3.9.0a6 (default, Apr 29 2020, 07:46:29) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> norm=lambda m: m+(m and(m[-1]!='\n'and'\n'or'')or'\n') File "<stdin>", line 1 norm=lambda m: m+(m and(m[-1]!='\n'and'\n'or'')or'\n') ^ SyntaxError: invalid string prefix >>> robin@minikat:~/devel/reportlab/REPOS/reportlab/tests $ python39 -X oldparser Python 3.9.0a6 (default, Apr 29 2020, 07:46:29) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> norm=lambda m: m+(m and(m[-1]!='\n'and'\n'or'')or'\n') File "<stdin>", line 1 norm=lambda m: m+(m and(m[-1]!='\n'and'\n'or'')or'\n') ^ SyntaxError: invalid string prefix >>> robin@minikat:~/devel/reportlab/REPOS/reportlab/tests _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/PCQD2REYQ7GT6GVY2FLYEASVKRS756HO/ Code of Conduct: http://python.org/psf/codeofconduct/