[Python-Dev] Boundary checks on arguments to time.strftime()
bac at OCF.Berkeley.EDU
Tue Mar 2 00:24:05 EST 2004
Brett C. wrote:
> OK, so I will raise TypeError and check everything for time.strftime().
> asctime() is the only iffy thing. I say either leave it be or force
> the month value to January if it is out of the proper range. Any
> opinions on one or the other? I am leaning towards the former personally.
OK, added the checks and checked them in. I left asctime() alone.
More information about the Python-Dev