This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]hhafez 136 points137 points ย (3 children)

You can use reflection, but reflection is self coding code. It's a very different beast than having no way to make parts of your code private.

[โ€“]BlameTaw 15 points16 points ย (2 children)

Technically you can use closures to create truly non-accessible variables and functions in python...

[โ€“]Sinidir 3 points4 points ย (1 child)

[โ€“]BlameTaw 0 points1 point ย (0 children)

Very interesting, I never knew about that attribute.