This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients belopolsky, docs@python, mark.dickinson
Date 2010-06-29.19:11:16
SpamBayes Score 0.003771671
Marked as misclassified No
Message-id <1277838678.15.0.603660855603.issue9117@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-06-29 19:11:18mark.dickinsonsetrecipients: + mark.dickinson, belopolsky, docs@python
2010-06-29 19:11:18mark.dickinsonsetmessageid: <1277838678.15.0.603660855603.issue9117@psf.upfronthosting.co.za>
2010-06-29 19:11:16mark.dickinsonlinkissue9117 messages
2010-06-29 19:11:16mark.dickinsoncreate