Skip to content

Incorrect __name__ #665

Closed
Closed

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__'
>>>

Activity

  1. sebastinas commented on Jan 8, 2017

    @sebastinas
    ContributorAuthor

    This seems to be a curtsies only bug.

  2. added a commit that references this issue on Feb 25, 2026
    f189da1
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions