The Python Oracle

inspect.getclosurevars classifies attributes as global or unbound. how to distinguish?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Unforgiving Himalayas Looping

--

Chapters
00:00 Question
01:39 Accepted answer (Score 3)
02:18 Thank you

--

Full question
https://stackoverflow.com/questions/6196...

Accepted answer links:
[Python issue 36697]: https://bugs.python.org/issue36697

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python

#avk47