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

Terry Reedy tjreedy at udel.edu
Mon Dec 19 01:18:02 CET 2011


On 12/18/2011 6:28 PM, Nathan Rice wrote:
> I believe it would be a good idea in instances where it is known that a
> collection of a single type is going to be returned, to return a subclass
> with type information and type specific methods "mixed in".

Are you familiar with numpy, which has typed multi-dimensional arrays 
and array operations? And the option to add user functions to work with 
such?

-- 
Terry Jan Reedy




More information about the Python-ideas mailing list