Accessors in Python (getters and setters)

fuzzylollipop jarrod.roberson at gmail.com
Thu Jul 20 22:07:52 EDT 2006


Ed Jensen wrote:
> 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.

Actually it does.




More information about the Python-list mailing list