[New-bugs-announce] [issue1314] Patch for strftime problem on German Windows

Christian Heimes report at bugs.python.org
Tue Oct 23 10:35:59 CEST 2007


New submission from Christian Heimes:

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);

----------
components: Extension Modules
files: py3k_win_strftime.patch
messages: 56675
nosy: tiran
severity: normal
status: open
title: Patch for strftime problem on German Windows
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file8595/py3k_win_strftime.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1314>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3k_win_strftime.patch
Type: text/x-diff
Size: 473 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071023/ec394a3a/attachment.patch 


More information about the New-bugs-announce mailing list