Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'python' is not defined #86731

Closed
sivakrishnaavvaru mannequin opened this issue Dec 4, 2020 · 2 comments
Labels
3.9 only security fixes type-bug An unexpected behavior, bug, or error

Comments

@sivakrishnaavvaru
Copy link
Mannequin

sivakrishnaavvaru mannequin commented Dec 4, 2020

BPO 42565
Nosy @MojoVampire, @tirkarthi

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 2021-01-24.12:50:42.420>
created_at = <Date 2020-12-04.02:51:26.394>
labels = ['type-bug', 'invalid', '3.9']
title = 'Traceback (most recent call last):   File "<stdin>", line 1, in <module> NameError: name \'python\' is not defined'
updated_at = <Date 2021-01-24.12:50:42.417>
user = 'https://bugs.python.org/sivakrishnaavvaru'

bugs.python.org fields:

activity = <Date 2021-01-24.12:50:42.417>
actor = 'iritkatriel'
assignee = 'none'
closed = True
closed_date = <Date 2021-01-24.12:50:42.420>
closer = 'iritkatriel'
components = []
creation = <Date 2020-12-04.02:51:26.394>
creator = 'sivakrishnaavvaru'
dependencies = []
files = []
hgrepos = []
issue_num = 42565
keywords = []
message_count = 2.0
messages = ['382465', '382467']
nosy_count = 3.0
nosy_names = ['josh.r', 'xtreak', 'sivakrishnaavvaru']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42565'
versions = ['Python 3.9']

@sivakrishnaavvaru sivakrishnaavvaru mannequin added build The build process and cross-build 3.9 only security fixes labels Dec 4, 2020
@tirkarthi
Copy link
Member

Please attach the program to reproduce the issue along with the full traceback in the issue body. It looks like you are trying to use a variable named 'python' which is not present at the given scope during execution.

@tirkarthi tirkarthi added type-bug An unexpected behavior, bug, or error and removed build The build process and cross-build labels Dec 4, 2020
@MojoVampire
Copy link
Mannequin

MojoVampire mannequin commented Dec 4, 2020

Looks like someone tried to run python inside an interactive Python shell, rather than the command line. I'm moving to pending and will eventually close unless they add a repro for some actual bug.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants