Message320305
| Author | eric.smith |
|---|---|
| Recipients | eric.smith |
| Date | 2018-06-23.12:58:45 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1529758726.17.0.56676864532.issue33947@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
>>> @dataclass ... class C: ... f: "C" ... >>> c = C(None) >>> c.f = c >>> c Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<string>", line 2, in __repr__ File "<string>", line 2, in __repr__ File "<string>", line 2, in __repr__ [Previous line repeated 328 more times] RecursionError: maximum recursion depth exceeded >>> It would be better to produce "C(f=...)". |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-06-23 12:58:46 | eric.smith | set | recipients: + eric.smith |
| 2018-06-23 12:58:46 | eric.smith | set | messageid: <1529758726.17.0.56676864532.issue33947@psf.upfronthosting.co.za> |
| 2018-06-23 12:58:46 | eric.smith | link | issue33947 messages |
| 2018-06-23 12:58:45 | eric.smith | create | |