Message257180
I don't think the problem is about the underscores, since this work...
class Foo:
def f1(self):
__obj = object()
def f2():
nonlocal __obj
__obj = []
f2()
return isinstance(__obj, list)
f = Foo()
print(f.f1()) |
|
Date |
User |
Action |
Args |
2015-12-29 12:58:27 | acucci | set | recipients:
+ acucci, brett.cannon, georg.brandl, ncoghlan, benjamin.peterson, serhiy.storchaka, yselivanov, sirkonst |
2015-12-29 12:58:27 | acucci | set | messageid: <1451393907.9.0.488124311842.issue25973@psf.upfronthosting.co.za> |
2015-12-29 12:58:27 | acucci | link | issue25973 messages |
2015-12-29 12:58:27 | acucci | create | |
|