[Python-Dev] Boundary checks on arguments to time.strftime() (original) (raw)
Brett C. bac at OCF.Berkeley.EDU
Tue Mar 2 00:24:05 EST 2004
- Previous message: [Python-Dev] Re: PEP 309 re-written
- Next message: [Python-Dev] python installation in solaris machine
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-Brett
- Previous message: [Python-Dev] Re: PEP 309 re-written
- Next message: [Python-Dev] python installation in solaris machine
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]