On 12/11/20 1:23 AM, grothe wrote: > Package: python3-minimal > Version: 3.9.0-4 > Severity: normal > X-Debbugs-Cc: ajgro...@yahoo.com > > Dear Maintainer, > > If I run the Python3.9.1 interperter and attempt to print multiple lines of > python code to it fails. > > E.g. cut and paste the following three lines into the buffer > > import os > import datetime > import pprint > > and then paste that into an active python interperter get the following. > > grothe@desktop:~$ python3 > Python 3.9.1 (default, Dec 8 2020, 07:51:42) > [GCC 10.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import os > import datetime > import pprint > File "<stdin>", line 1 > import os > import datetime > import pprint > > ^ > SyntaxError: multiple statements found while compiling a single statement > >>> > > Do not get this error under Python 3.7.3 on Debian Stable or under a fresh > build of Python 3.9 from source. > > grothe@desktop:~/pres/olug/Python-3.9.1$ ./python > Python 3.9.1 (default, Dec 10 2020, 18:05:12) > [GCC 10.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import os > import datetime > import pprint > > >>> >>> >>> >>> > >>> > > Does not appear to be a terminal issue as have SSh'd back to the box and get > same issue. Have not fully compared the changes to the python 3.9.1 made by > Debian but belive that is the issue.
I can't reproduce this in a screen and a gnome-terminal.