Baptiste Mispelon added the comment:

Here's a second attempt at a patch which seems to work.

I don't know C at all but I used _decimal.c to try and figure out how to use 
namedtuple in C.

The code compiles and the datetime test suite runs.

I've added a test for the new feature and a note in Misc/NEWS as well as a 
versionadded note in the relevant documentation.

Let me know if I've missed anything.

----------
keywords: +patch
Added file: http://bugs.python.org/file39667/issue24416_2.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24416>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to