Ordering python sets
Lie Ryan
lie.1296 at gmail.com
Sat Oct 25 18:32:56 EDT 2008
On Sat, 25 Oct 2008 18:20:46 -0400, Terry Reedy wrote:
> Lie Ryan wrote:
>
>
>> <anotherrandommusing>
>> Since python is dynamic language, I think it should be possible to do
>> something like this:
>>
>> a = list([1, 2, 3, 4, 5], implementation = 'linkedlist')
>
> For this to work, the abstract list would have to know about all
> implementations of the abstraction.
/the exact syntax isn't really important/
/abstract type and implementation separation is the important point/
Actually, if I want to force it, that syntax could work using the same
magic used by event-based syst
More information about the Python-list
mailing list