>> **Encapsulation** is one of the 3 basic characteristics of OOP.

This isn't an encapsulation issue.  From the first hit on Google for the
word:

    In programming, the process of combining elements to create a new
    entity.  For example, a procedure is a type of encapsulation because it
    combines a series of computer instructions.  Likewise, a complex data
    type, such as a record or class, relies on encapsulation.  Object-
    oriented programming languages rely heavily on encapsulation to create
    high-level objects.  Encapsulation is closely related to abstraction and
    information hiding.

Python does encapsulation just fine.  Your beef is with its information
hiding.

Skip
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to