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 r.david.murray
Recipients ezio.melotti, r.david.murray, skip.montanaro
Date 2013-11-01.17:47:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383328042.09.0.987924032217.issue19475@psf.upfronthosting.co.za>
In-reply-to
Content
It may be simple but as Ezio has pointed out, it has already been rejected :)

The problem with being generous in what you accept in this context is that the parsing is using a specific format string, and the semantics of that format string are based on external "standards" and are pretty inflexible.

The pythonic solution, IMO, is to have datetime's constructor accept what its str produces.  And indeed, exactly this has been suggested by Alexander Belopolsky in issue 15873. So I'm going to close this one as a duplicate of that one.
History
Date User Action Args
2013-11-01 17:47:22r.david.murraysetrecipients: + r.david.murray, skip.montanaro, ezio.melotti
2013-11-01 17:47:22r.david.murraysetmessageid: <1383328042.09.0.987924032217.issue19475@psf.upfronthosting.co.za>
2013-11-01 17:47:22r.david.murraylinkissue19475 messages
2013-11-01 17:47:22r.david.murraycreate