This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Patch for strftime problem on German Windows
Type: behavior Stage:
Components: Extension Modules Versions: Python 3.0
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: christian.heimes, gvanrossum
Priority: normal Keywords: patch

Created on 2007-10-23 08:35 by christian.heimes, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
py3k_win_strftime.patch christian.heimes, 2007-10-23 08:35
Messages (2)
msg56675 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-10-23 08:35
The patch fixes the failing unit tests for time and strptime on German
and probably other Windows installations.

-                       ret = PyUnicode_FromStringAndSize(outbuf, buflen);
+                       ret = PyUnicode_Decode(outbuf, buflen,
+                                              TZNAME_ENCODING, NULL);
msg56691 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-10-23 19:43
Committed revision 58619.
History
Date User Action Args
2022-04-11 14:56:27adminsetgithub: 45655
2007-10-23 19:43:34gvanrossumsetstatus: open -> closed
assignee: gvanrossum
resolution: accepted
messages: + msg56691
nosy: + gvanrossum
2007-10-23 17:00:17loewissetkeywords: + patch
2007-10-23 08:35:59christian.heimescreate