Accessors in Python (getters and setters)

Ed Jensen ejensen at visi.com
Wed Jul 19 12:53:40 EDT 2006


Diez B. Roggisch <deets at nospam.web.de> wrote:
> Ah, you mean like in JAVA

Java is not an acronym.  That is: it's "Java", not "JAVA".

> where the compiler prevents you from accessing
> private variables, but the runtime allows access to these very variables
> via reflection? 

Java does not allow access to private members via reflection.



More information about the Python-list mailing list