Skip to content

Incorrect __name__ #665

@sebastinas

Description

@sebastinas
% bpython
bpython version 0.17.dev17 on top of Python 3.5.3rc1 /usr/bin/python3
>>> __name__
'__console__'
>>> 

vs.

% python3
Python 3.5.3rc1 (default, Jan  3 2017, 04:40:57)
[GCC 6.3.0 20161229] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> __name__
'__main__'
>>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions