Suggestion: make sequence and map interfaces more similar
Mark Lawrence
breamoreboy at yahoo.co.uk
Sat Mar 26 06:29:09 EDT 2016
More information about the Python-list mailing list
Sat Mar 26 06:29:09 EDT 2016
- Previous message (by thread): Suggestion: make sequence and map interfaces more similar
- Next message (by thread): Suggestion: make sequence and map interfaces more similar
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26/03/2016 00:35, Marco Sulla wrote: > > I'd like to see vdict implemented anyway. It can't break old code and add a > map type that has a common interface with sequences. > I cannot see this happening unless you provide a patch on the bug tracker. However I suspect you can get the same thing by subclassing dict. Why don't you try it and let us know how you get on? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
- Previous message (by thread): Suggestion: make sequence and map interfaces more similar
- Next message (by thread): Suggestion: make sequence and map interfaces more similar
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list