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 bmispelon
Recipients berker.peksag, bmispelon, serhiy.storchaka, taleinat
Date 2015-06-09.21:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433883996.78.0.903187892901.issue24416@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-06-09 21:06:36bmispelonsetrecipients: + bmispelon, taleinat, berker.peksag, serhiy.storchaka
2015-06-09 21:06:36bmispelonsetmessageid: <1433883996.78.0.903187892901.issue24416@psf.upfronthosting.co.za>
2015-06-09 21:06:36bmispelonlinkissue24416 messages
2015-06-09 21:06:36bmispeloncreate