[Python-ideas] Adding "Typed" collections/iterators to Python

Steven D'Aprano steve at pearwood.info
Wed Dec 21 01:09:36 CET 2011

Terry Reedy wrote:

> 2.) there are serious dragons in
>> how python handles complex inheritance graphs that result in
>> "object.__new__() takes no parameters", despite not having any builtin
>> bases and having no base class overriding __new__ or __init__
> Best not to use object as the apex of multiple inheritance.

Is that possible in Python 3?

>> Because "typed" is sort of a dirty word in the python community,
> Not exactly true, and unnecessarily combative. More true is that 
> careless use of 'typed' has gotten tiresome. Python is strongly 
> dynamically typed. But people occasionally post -- again the same day 
> you posted to python list -- that Python is weakly typed. I am tired of 
> explaining that 'typed' is not synonymous with 'statically typed'.



More information about the Python-ideas mailing list