Change by Siva Krishna Giri Babu Avvaru :
--
nosy: sivakrishnaavvaru
priority: normal
severity: normal
status: open
title: Traceback (most recent call last): File "", line 1, in
NameError: name 'python' is not defined
type: compile error
versions: Python 3.9
___
New submission from Karthikeyan Singaravelan :
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.
--
nosy: +xtreak
typ
Raymond Hettinger added the comment:
Do you care to propose a minimal PR adding the word "unsigned"?
Marking as low priority because the referenced docs are over a decade old and
we've not seen a single case of someone being confused by it.
--
assignee: -> rhettinger
components: +Do
Josh Rosenberg added the comment:
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.
--
nosy: +josh.r
status: open -> pending
__
Serhiy Storchaka added the comment:
Other example is:
>>> import sys
>>> import xml
>>> import xml.__init__
>>> sys.modules['xml']
>>> sys.modules['xml.__init__']
>>> sys.modules['xml'] is sys.modules['xml.__init__']
False
I'm not sure we should do anything about it other than say "Don't do
Serhiy Storchaka added the comment:
This is because the code of the main() function is roughly equivalent to
result = next(iter)
for item in iter:
if item > result:
result = item
It can be changed to use "result < item" instead of "item > result", but it can
has s
101 - 106 of 106 matches
Mail list logo