Message69202
- My original issue was that time.strptime() makes difference between 61 and
62 seconds
- 17h AM, 78 s, 128min everyone can easly transform correctly, I just wanted
to use function for
boundarie checking: rising error for 62 sec and not for 61 is confusing!
- I just wanted to point out that Python should be consistent: to provide
the same behaviour for 60,61 and 62 sec.
The conclusion is over as far as I am concerned.
I got the picture (you standpoint), and I hope, you too.
Thank you, once again,
Regards
Neven
----------------------
On Thu, Jul 3, 2008 at 3:49 PM, Facundo Batista <report@bugs.python.org>
wrote:
>
> Facundo Batista <facundo@taniquetil.com.ar> added the comment:
>
> Closing as invalid, two reasons:
>
> - Your original issue was that time.strptime() didn't allow 62 seconds,
> not that it allowed 60 or 61.
>
> - If you use it to validate input... how do you actually know that
> 03/25/2012 17:13:61 AM' is an invalid date?
>
> I suggest to bring this issue in the python list if you have further
> doubts.
>
> Thank you!!
>
> ----------
> resolution: -> invalid
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue3269>
> _______________________________________
> |
File name |
Uploaded |
unnamed
|
nevgor,
2008-07-03.14:03:54
|
|
Date |
User |
Action |
Args |
2008-07-03 14:03:58 | nevgor | set | spambayes_score: 0.00909238 -> 0.009092378 recipients:
+ nevgor, facundobatista |
2008-07-03 14:03:56 | nevgor | link | issue3269 messages |
2008-07-03 14:03:56 | nevgor | create | |
|