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
{{ message }}
Repository navigation
[PATCH] Updated fix for string to unicode fixes in time and datetime #45357
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=<Date2007-08-29.20:33:37.777>created_at=<Date2007-08-24.22:55:24.408>labels= []
title='[PATCH] Updated fix for string to unicode fixes in time and datetime'updated_at=<Date2007-09-02.20:04:44.980>user='https://bugs.python.org/erocarrera'
The fix to timemodule.c is wrong -- when there are non-ASCII characters
in the unicode string, the length of the UTF-8 conversion is not equal
to that of the original Unicode string.
Activity
erocarrera commentedon Aug 24, 2007
Small patch for the references leak in datetime and changed a strlen to
PyUnicode_GET_SIZE() in time
gvanrossum commentedon Aug 29, 2007
The issue in datetimemodule.c was already fixed.
The fix to timemodule.c is wrong -- when there are non-ASCII characters
in the unicode string, the length of the UTF-8 conversion is not equal
to that of the original Unicode string.