[Python-ideas] Ordered storage of keyword arguments (original) (raw)
Chris Rebert pyideas at rebertia.com
Thu Oct 28 10:38:09 CEST 2010
- Previous message: [Python-ideas] Ordered storage of keyword arguments
- Next message: [Python-ideas] Ordered storage of keyword arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Oct 28, 2010 at 1:13 AM, M.-A. Lemburg <mal at egenix.com> wrote:
I don't see much use in having the order of providing the keyword arguments in a function call always available. Perhaps there's a way to have this optionally, i.e. by allowing odicts to be passed in as keyword argument dict ?!
Where I do see a real use is making the order of class attribute and method definition accessible in Python (without having to use meta-class hacks like e.g. Django's ORM does).
So, you want to make class bodies use (C-implemented) OrderedDicts by default, thus rendering metaclass prepare() definitions for that purpose ("meta-class hacks") superfluous?
Cheers, Chris
- Previous message: [Python-ideas] Ordered storage of keyword arguments
- Next message: [Python-ideas] Ordered storage of keyword arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]