Message402663
Hello,
I have this situation:
----------------
def test():
if True :
print("Exception"+DiaObjectFactoryHelper)
else:
from . import DiaObjectFactoryHelper
pass
test()
---------------
it generates instead of (like the the line 'from . import' is commented) :
"NameError: name 'DiaObjectFactoryHelper' is not defined"
this:
UnboundLocalError: local variable 'DiaObjectFactoryHelper' referenced before assignment
PS: The github authentificatiion did not work, did not manage to grab email even if set public |
|
Date |
User |
Action |
Args |
2021-09-26 15:25:13 | stars-of-stras | set | recipients:
+ stars-of-stras |
2021-09-26 15:25:13 | stars-of-stras | set | messageid: <1632669913.29.0.580043897174.issue45294@roundup.psfhosted.org> |
2021-09-26 15:25:13 | stars-of-stras | link | issue45294 messages |
2021-09-26 15:25:13 | stars-of-stras | create | |
|