Message378978
Calling PyStructSequence_NewType() with a NULL field in the desc.doc parameter (explicitly allowed as per docs) leads to a crash in
Objects/typeobject.c:2956
2956 size_t len = strlen(old_doc)+1;
where old_doc is NULL.
If the doc string is set, the call succeeds, but with a warning
(stdin):1: DeprecationWarning: builtin type G_SGROUP has no __module__ attribute
(where G_SGROUP is my new type), which did not happen in 3.6, and which I do not think can be suppressed by function call arguments. |
|
| Date |
User |
Action |
Args |
| 2020-10-19 18:27:05 | wdi2 | set | recipients:
+ wdi2 |
| 2020-10-19 18:27:05 | wdi2 | set | messageid: <1603132025.42.0.432168177789.issue42083@roundup.psfhosted.org> |
| 2020-10-19 18:27:05 | wdi2 | link | issue42083 messages |
| 2020-10-19 18:27:05 | wdi2 | create | |
|