Message298545
The documentation for co_names in the inspect module is:
"tuple of names of local variables"
Local variable names are however in co_varnames while co_names contains global variable names. This description should read:
"tuple of names of global variables"
Relevant StackOverflow post here:
https://stackoverflow.com/q/45147260/1953800 |
|
Date |
User |
Action |
Args |
2017-07-17 17:29:35 | jalexvig | set | recipients:
+ jalexvig, docs@python |
2017-07-17 17:29:35 | jalexvig | set | messageid: <1500312575.69.0.52467451771.issue30951@psf.upfronthosting.co.za> |
2017-07-17 17:29:35 | jalexvig | link | issue30951 messages |
2017-07-17 17:29:35 | jalexvig | create | |
|