Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpython don't like "__main__" #959

Copy link
Copy link
@o101010

Description

@o101010
Issue body actions

Hi,

I use bpython as replacement for the standart python's REPL (thanks linux's alias !). I try to start a script with bpython by using command like bpython script.py but I have no output.

After some test, I discover that it come from the test if __name__ == "__main__" os always false. It's due to the fact that name is "console" with bpython .

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.