Author satra
Recipients eric.smith, satra, serhiy.storchaka
Date 2018-12-16.14:38:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544971105.05.0.788709270274.issue35510@psf.upfronthosting.co.za>
In-reply-to
Content
thank you + serhiy.storchaka

while that works in an interactive namespace, it fails in the following setting, which is closer to my dynamic use case.

```
class A:
    def __init__(self, fields=None):
        self.B = dc.make_dataclass('B', fields or [])
        self.B.__module__ = __name__
        # ...
        self.C = self.B()
```

now pickling A() fails.
History
Date User Action Args
2018-12-16 14:38:25satrasetrecipients: + satra, eric.smith, serhiy.storchaka
2018-12-16 14:38:25satrasetmessageid: <1544971105.05.0.788709270274.issue35510@psf.upfronthosting.co.za>
2018-12-16 14:38:25satralinkissue35510 messages
2018-12-16 14:38:24satracreate