Will python never intend to support private, protected and public?

Simon Brunning simon.brunning at gmail.com
Wed Sep 28 08:52:44 EDT 2005


On 28 Sep 2005 05:35:25 -0700, Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> I don't see anything on the CGLIB web page (in about 1 minute of
> looking) that says it can get around private and protected.  It looks
> like something that disassembles class files and reassembles them into
> new classes from them with additional interfaces.  That's a lot
> different than being able to reach into an already-existing class
> instance and get at its private variables.

I've never directly used CGLIB myself, but I do use JMock and
Hibernate, and AFAIK both use CGLIB to modify private and protected
members. I could certainly be wrong, though. Anyway, this is getting a
bit OT...

--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/



More information about the Python-list mailing list