Skip to content

'#' in python shell make ... until input is received #78

Description

@HyeockJinKim
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:

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.
>>> #
... 
>>> 

Activity

  1. added
    bugSomething isn't working
    on Sep 15, 2019
  2. added a commit that references this issue on Sep 15, 2019
    bcb3785
  3. ncw commented on Sep 15, 2019

    @ncw
    Collaborator

    Yes, this is definitely a bug!

    I've created a PR to fix #79

  4. added a commit that references this issue on Sep 15, 2019
    9a4df56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions