[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list