[issue46680] file calls itself

renzo report at bugs.python.org
Tue Feb 8 08:57:09 EST 2022


New submission from renzo <renzo71.cavallini at gmail.com>:

good morning
I created a file called prova.py

inside I put 3 lines
import test
a = 2
print (a)

d questions
why does a file have to call itself .. is it intended?
  how come it prints the value of a twice and does not enter the loop?

----------
components: Build
messages: 412840
nosy: lallo
priority: normal
severity: normal
status: open
title: file calls itself
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46680>
_______________________________________


More information about the Python-bugs-list mailing list