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 stereobutter
Recipients stereobutter
Date 2018-05-22.09:56:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526982970.55.0.682650639539.issue33599@psf.upfronthosting.co.za>
In-reply-to
Content
Try 
from types import SimpleNamespace
import copy
class Person(SimpleNamespace):
    def __init__(self, name, **kwargs):
        self.name = name
        super().__init__(**kwargs)

bob = Person('Bob', job='tester')
clone = copy.copy(bob)

For me this results in 
TypeError: __init__() missing 1 required positional argument: 'name'
History
Date User Action Args
2018-05-22 09:56:10stereobuttersetrecipients: + stereobutter
2018-05-22 09:56:10stereobuttersetmessageid: <1526982970.55.0.682650639539.issue33599@psf.upfronthosting.co.za>
2018-05-22 09:56:10stereobutterlinkissue33599 messages
2018-05-22 09:56:10stereobuttercreate