Skip to content

python -m and runpy.run_module set different __name__ by default #82122

@Julian

Description

@Julian
mannequin
BPO 37941
Nosy @ncoghlan, @Julian

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2019-09-03.07:41:37.528>
created_at = <Date 2019-08-24.17:59:15.011>
labels = ['invalid']
title = 'python -m and runpy.run_module set different __name__ by default'
updated_at = <Date 2019-09-12.14:19:58.420>
user = 'https://github.com/Julian'

bugs.python.org fields:

activity = <Date 2019-09-12.14:19:58.420>
actor = 'Julian'
assignee = 'none'
closed = True
closed_date = <Date 2019-09-03.07:41:37.528>
closer = 'ncoghlan'
components = []
creation = <Date 2019-08-24.17:59:15.011>
creator = 'Julian'
dependencies = []
files = []
hgrepos = []
issue_num = 37941
keywords = []
message_count = 5.0
messages = ['350387', '351069', '351075', '352030', '352175']
nosy_count = 2.0
nosy_names = ['ncoghlan', 'Julian']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue37941'
versions = []

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions