[Python-Dev] Adding support for %U and %W for strptime in b2

Anthony Baxter anthony at interlink.com.au
Mon Oct 18 03:37:32 CEST 2004

Brett C. wrote:
> Now the question is whether this is a bug fix or a feature 
> implementation.  If it is a bug fix I can check it right in.  The only 
> reason it wasn't in since the beginning is I didn't think of the day of 
> the week being all you needed to figure out the date with %W or %U.  If 
> it is considered a feature, though, I will just add a note that %U and 
> %W consume values but do nothing with them.

This is a bugfix - %U and %W were documented as working, and there's
absolutely no conceivable way that anyone could be _relying_ on the
current behaviour.

Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.

More information about the Python-Dev mailing list