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 Erik.Cederstrand, aganders3, belopolsky, r.david.murray
Date 2011-05-25.02:26:54
SpamBayes Score 2.522453e-05
Marked as misclassified No
Message-id <1306290415.68.0.608989268944.issue12006@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for wanting to work on this.

It is a little hard to parse from the OP's initial post, but he is asking that %V and %u be supported by datetime.strptime, which they currently are not.  strptime is the generalized constructor for turning a string into a datetime, so no, a new constructor is not the right approach.

The code that implements the strptime method of datetime is in the file _strptime.py in Lib.  Your patch should be against that code.  (Note that this is pretty un-obvious, I had to dig a bit to figure it out!)
History
Date User Action Args
2011-05-25 02:26:55r.david.murraysetrecipients: + r.david.murray, belopolsky, Erik.Cederstrand, aganders3
2011-05-25 02:26:55r.david.murraysetmessageid: <1306290415.68.0.608989268944.issue12006@psf.upfronthosting.co.za>
2011-05-25 02:26:55r.david.murraylinkissue12006 messages
2011-05-25 02:26:54r.david.murraycreate