You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In python shell, #, ... is printed until input is received.
Since # is single-line comment, ... should be printed only once in shell.
The output in python3 is:
Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> #
...
>>>
The text was updated successfully, but these errors were encountered:
Before this change, entering a comment in the REPL caused the REPL to
read the comment indefinitely effectively breaking it.
After this change the behaviour should be exactly the same as python3/
Before this change, entering a comment in the REPL caused the REPL to
read the comment indefinitely effectively breaking it.
After this change the behaviour is the same as pypy. The cpython
behaviour is slightly different printing a '...' after a comment line.
This is rather illogical and difficult to emulate properly.
Hyeockz:bin hyeockjinkim$ ./gpython Python 3.4.0 (none, unknown) [Gpython dev] - os/arch: darwin/amd64 - go version: go1.11.4 >>> # ... ... ... ... ... ...
In python shell,
#
,...
is printed until input is received.Since
#
is single-line comment,...
should be printed only once in shell.The output in python3 is:
The text was updated successfully, but these errors were encountered: