Mark Dickinson <dicki...@gmail.com> added the comment:

Yes, good plan.  I'll do that.

I'm also not sure about the 'comprehension' bit;  it's true that a 
comprehension is syntactically valid here (e.g., "class A(x for x in 
range(3))"), but it's also entirely useless:  it has to be the sole argument, 
so there can't be a metaclass argument, so the metaclass would have to be type. 
 But type (quite sensibly) won't accept a generator as a base class.

Oh well;  I suppose it doesn't *have* to make sense to be valid syntax...

This still leaves the hard part, which is distilling the essence of PEP 3115 
and adding it to the reference manual.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to