Message413931
> How it should be handled? Currently PyUnicode_InternInPlace ignores any errors and does not return it. It would be backwards-incompatible to change that, moreover as I explained in https://github.com/python/cpython/pull/30683#discussion_r800648477 intern_strings only check if all the items are strings which will be always true in case of deep-freeze so I don't think anything needs to be changed here. I would be interested to know if I am missing something though.
The other functions you are calling *do* return errors. You should not ignore those. If any errors are reported the caller can decide what to do (e.g. call Py_FatalError(). |
|
Date |
User |
Action |
Args |
2022-02-24 17:04:41 | gvanrossum | set | recipients:
+ gvanrossum, vstinner, christian.heimes, corona10, miss-islington, sobolevn, kumaraditya |
2022-02-24 17:04:41 | gvanrossum | set | messageid: <1645722281.54.0.12131083909.issue46430@roundup.psfhosted.org> |
2022-02-24 17:04:41 | gvanrossum | link | issue46430 messages |
2022-02-24 17:04:41 | gvanrossum | create | |
|