is python Object oriented??

Chris Rebert clp2 at
Fri Jan 30 07:34:52 CET 2009

On Thu, Jan 29, 2009 at 10:25 PM, alex23 <wuwei23 at> wrote:
> On Jan 30, 4:15 pm, Chris Rebert <c... at> wrote:
>> - Python does not support interfaces in the Java sense (although there
>> are a few third-party libraries that add such support); neither does
>> Smalltalk. Instead, both Smalltalk and Python use duck-typing to
>> similar effect. See
> I haven't yet had reason to use them, but do Abstract Base Classes
> (introduced in 2.6/3.0) go some way to provide more defined interface
> support for Python? My assumption was that was what they'd generally
> be used for...

Ah, excellent point. I neglected to take ABCs into account. Smalltalk
did have those as well.


Follow the path of the Iguana...

More information about the Python-list mailing list