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 belopolsky
Recipients BreamoreBoy, JohnLeitch, belopolsky, brycedarling, eryksun, georg.brandl, larry, lemburg, paul.moore, python-dev, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-09-06.21:19:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441574351.48.0.395261808028.issue24917@psf.upfronthosting.co.za>
In-reply-to
Content
Historically, time and os modules have been considered low level, thin wrappers over system libc functions.  Users of these modules are the proverbial "consenting adults" who should understand their power and the associated risks.

The place to provide a better behaved strftime function is the datetime module, but I would leave time.stftime pretty much the way it is and would only consider making *fewer* checks on Windows if _Py_BEGIN_SUPPRESS_IPH / _Py_END_SUPPRESS_IPH macros can indeed help to avoid crashes on illegal format strings.
History
Date User Action Args
2015-09-06 21:19:11belopolskysetrecipients: + belopolsky, lemburg, georg.brandl, paul.moore, vstinner, larry, tim.golden, BreamoreBoy, python-dev, zach.ware, eryksun, steve.dower, JohnLeitch, brycedarling
2015-09-06 21:19:11belopolskysetmessageid: <1441574351.48.0.395261808028.issue24917@psf.upfronthosting.co.za>
2015-09-06 21:19:11belopolskylinkissue24917 messages
2015-09-06 21:19:11belopolskycreate