Message340645
| Author | llehtahw |
|---|---|
| Recipients | llehtahw |
| Date | 2019-04-22.08:49:29 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1555922969.45.0.450842121898.issue36697@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
>>> import inspect
>>> a = 0
>>> b = 1
>>> def abc():
>>> return a.b
>>> print(inspect.getclosurevars(abc))
ClosureVars(nonlocals={}, globals={'a': 0, 'b': 1}, builtins={}, unbound=set())
Should "'b': 1" be in globals dict? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-04-22 08:49:29 | llehtahw | set | recipients: + llehtahw |
| 2019-04-22 08:49:29 | llehtahw | set | messageid: <1555922969.45.0.450842121898.issue36697@roundup.psfhosted.org> |
| 2019-04-22 08:49:29 | llehtahw | link | issue36697 messages |
| 2019-04-22 08:49:29 | llehtahw | create | |