[issue13135] Using type() as a constructor doesn't support new class keyword arguments

2011-10-08 Thread Marty Alchin
Marty Alchin added the comment: Hrm, that does seem to satisfy the case I was immediately concerned with, but I was thinking there was another issue with it, but now I'm having trouble pinning down an example. I'll just assume I was getting ahead of myself. Thanks for the san

[issue13135] Using type() as a constructor doesn't support new class keyword arguments

2011-10-08 Thread Marty Alchin
New submission from Marty Alchin : PEP 3115 introduced keyword arguments to class definitions and changed metaclasses to use them instead. Unfortunately, `type()` doesn't seem to have been updated to accept those keyword arguments as well. What this amounts to is that using `type()`