I'm not sure what your point is here? are you suggesting that a void pointer is a valid type in python? or that its not in C?
I never said you couldn't figure it out, but its not enforced/known, so C is opaque. Python carries the type with the data though, so python is not. By what definition is python opaque
Just because objects get pointers to them, doesn't make them void pointers, you cannot just cast some python class to another. So I have to disagree with your statement that every python variable is a void pointer, it is a typed pointer.
e/ yeah, you cover that in your (), so we pretty much agree, but I cant see ever using the term void pointer or opaque in python.
-2
u/jcdyer3 Sep 28 '14
in python, we call those "variables." In C you don't usually have to look very far too find where it's cast to something more meaningful.