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.

Author jkloth
Recipients CharlieClark, Dominik Geldmacher, Manjusaka, jkloth, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-05-06.15:57:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ok, now let's try it using the C runtime directly:

import ctypes, struct
libc = ctypes.cdll.msvcrt
buf = ctypes.create_string_buffer(1024)
tm = struct.pack('9i', 2019, 5, 6, 9, 50, 4, 0, 126, 1)
print('count:', libc.strftime(buf, 1024, b'%Z', tm))
print('value:', buf.value)
Date User Action Args
2019-05-06 15:57:30jklothsetrecipients: + jkloth, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, Manjusaka, CharlieClark, Dominik Geldmacher
2019-05-06 15:57:30jklothsetmessageid: <>
2019-05-06 15:57:30jklothlinkissue36792 messages
2019-05-06 15:57:30jklothcreate