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 EdSchouten
Recipients EdSchouten
Date 2016-09-14.12:35:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473856529.08.0.0656229512786.issue28148@psf.upfronthosting.co.za>
In-reply-to
Content
In issue 28067, we changed _datetimemodule to stop using localtime() and gmtime(), which is nice. I actually needed such a change for CloudABI (https://mail.python.org/pipermail/python-dev/2016-July/145708.html) which does not provide the thread-unsafe variants. Only localtime_r() and gmtime_r() are provided.

If we're starting to make use of these functions, let's complete this by also changing timemodule to use them. I've attached a patch.

Maybe it now makes sense to move the Windows wrappers to some header file, so that they can be shared between both modules. What would be the right location for this?
History
Date User Action Args
2016-09-14 12:35:29EdSchoutensetrecipients: + EdSchouten
2016-09-14 12:35:29EdSchoutensetmessageid: <1473856529.08.0.0656229512786.issue28148@psf.upfronthosting.co.za>
2016-09-14 12:35:28EdSchoutenlinkissue28148 messages
2016-09-14 12:35:28EdSchoutencreate