Josiah Carlson wrote: > I did have a post that was going to show that they were related, but > then I remembered that because of __metaclass__ assignment semantics, it > needs to necessarily have access to the class body dictionary at the > point of assignment, so the compiler, etc., cannot be taught to extract > everything. Syntax is necessary to offer an ordered dictionary > semantics.
I still think that extra arguments are unnecessary in any case, because anything you could do by passing args to the dict creation function could be done by using a function instead of a class for the "metaclass". Does anyone have a counter-example? -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
