Issue 1016: [PATCH] Updated fix for string to unicode fixes in time and datetime (original) (raw)

Issue1016

Created on 2007-08-24 22:55 by ero.carrera, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
time_datetime_pystring_patch_2.diff ero.carrera,2007-08-24 22:55
Messages (2)
msg55279 - (view) Author: Ero Carrera (ero.carrera) Date: 2007-08-24 22:55
Small patch for the references leak in datetime and changed a strlen to PyUnicode_GET_SIZE() in time
msg55433 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-08-29 20:33
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.
History
Date User Action Args
2022-04-11 14:56:26 admin set github: 45357
2007-09-02 20:04:44 loewis set keywords: + patch
2007-08-29 20:33:37 gvanrossum set status: open -> closedresolution: duplicatemessages: + nosy: + gvanrossum
2007-08-24 22:55:24 ero.carrera create