We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/jackjansen' closed_at = <Date 2009-03-30.22:52:08.148> created_at = <Date 2004-12-22.09:51:03.000> labels = ['OS-mac'] title = 'Carbon.File.FSCatalogInfo.createDate implementation' updated_at = <Date 2009-03-30.22:52:08.147> user = 'https://github.com/ronaldoussoren'
bugs.python.org fields:
activity = <Date 2009-03-30.22:52:08.147> actor = 'ronaldoussoren' assignee = 'jackjansen' closed = True closed_date = <Date 2009-03-30.22:52:08.148> closer = 'ronaldoussoren' components = ['macOS'] creation = <Date 2004-12-22.09:51:03.000> creator = 'ronaldoussoren' dependencies = [] files = [] hgrepos = [] issue_num = 1089624 keywords = [] message_count = 2.0 messages = ['60619', '84699'] nosy_count = 2.0 nosy_names = ['jackjansen', 'ronaldoussoren'] pr_nums = [] priority = 'normal' resolution = 'wont fix' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue1089624' versions = ['Python 2.4']
The text was updated successfully, but these errors were encountered:
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
Sorry, something went wrong.
Closing this as won't fix. Nobody else complained and changing this might break existing code.
jackjansen
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: