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.

Title: Carbon.File.FSCatalogInfo.createDate implementation
Type: Stage:
Components: macOS Versions: Python 2.4
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: jackjansen Nosy List: jackjansen, ronaldoussoren
Priority: normal Keywords:

Created on 2004-12-22 09:51 by ronaldoussoren, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg60619 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2004-12-22 09:51
In Mac/Modules/file/_Filemodule.c UTCDateTime values are 
converted using these functions:
static int
UTCDateTime_Convert(PyObject *v, UTCDateTime *ptr)
        return PyArg_Parse(v, "(HlH)", &ptr->highSeconds, &ptr-
>lowSeconds, &ptr->fraction);

static PyObject *
UTCDateTime_New(UTCDateTime *ptr)
        return Py_BuildValue("(HlH)", ptr->highSeconds, ptr-
>lowSeconds, ptr->fraction);

Shouldn't the format string be "(HLH)" in both cases? The struct 
definition of UTCDateTime contains unsigned times (UInt16, UInt32 
and UInt16).

The same problem is present in Python 2.3
msg84699 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-03-30 22:52
Closing this as won't fix. Nobody else complained and changing this might 
break existing code.
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41356
2009-03-30 22:52:08ronaldoussorensetstatus: open -> closed
resolution: wont fix
messages: + msg84699
2004-12-22 09:51:03ronaldoussorencreate