New submission from Grzegorz Krasoń <grzegorz.kra...@gmail.com>:

I'm not certain if this is intended behavior, but I would like to make sure. 
Please resolve with the lowest priority.

It seems tricky that line #6 can influence instruction that chronologically 
appears earlier. Especially taking into account that line #6 is never executed.

----------
components: Interpreter Core
files: demo.py
messages: 363099
nosy: Grzegorz Krasoń
priority: normal
severity: normal
status: open
title: Declaring local variable invalidates access to a global variable
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file48941/demo.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39818>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to