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 trcarden
Recipients trcarden
Date 2015-05-13.23:46:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431560792.95.0.495596888848.issue24183@psf.upfronthosting.co.za>
In-reply-to
Content
Summary:
Any class that derives from the ABCMeta class doesn't support keyword variable arguments as defined here :https://www.python.org/dev/peps/pep-3115/. 


Expected:
If i define a simple class that derives from ABCMeta that has a kwarg the class should be created (see below

from collections import UserDict
class MyDict(UserDict, bar='baz'):
    pass
dictionary = MyDict()  # Expect this to create a new instance of MyDict.


Actual:

from collections import UserDict
class MyDict(UserDict, bar='baz'):
    pass
dictionary = MyDict()  # This call fails because UserDict inherits from ABCMeta

Traceback (most recent call last):
  File "abc_meta.py", line 4, in <module>
    class MyDict(UserDict, bar='baz'):
History
Date User Action Args
2015-05-13 23:46:32trcardensetrecipients: + trcarden
2015-05-13 23:46:32trcardensetmessageid: <1431560792.95.0.495596888848.issue24183@psf.upfronthosting.co.za>
2015-05-13 23:46:32trcardenlinkissue24183 messages
2015-05-13 23:46:32trcardencreate