You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-05-10.20:53:17.884>created_at=<Date2021-05-07.15:00:44.871>labels= ['type-bug', 'invalid', 'expert-unicode', '3.11']
title='Possible divide by zero problems'updated_at=<Date2021-05-10.20:53:17.880>user='https://github.com/yiyuaner'
Should we add an explicit check on variable char_size before using it in division?
Search for "There are 4 forms of Unicode strings" in Include/cpython/unicodeobject.h. char_size cannot be 0 in resize_compact(): it's checked by 2 assertions:
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: