Message285371
> I think the old code unlikely will be broken if preserve an exception type and don't change conditions for raising an error.
Currently there could be no error when the object gets a timezone. The timezone is simply discarded and only when microseconds comes to 0 there is a ValueError. I don't think the user code would prepare to catch the ValueError. I don't oppose make timestamp more strict but just not sure if it's suitable. |
|
Date |
User |
Action |
Args |
2017-01-13 09:19:45 | xiang.zhang | set | recipients:
+ xiang.zhang, lemburg, ghaering, belopolsky, serhiy.storchaka, bozo.kopic |
2017-01-13 09:19:45 | xiang.zhang | set | messageid: <1484299185.09.0.337597973036.issue29099@psf.upfronthosting.co.za> |
2017-01-13 09:19:45 | xiang.zhang | link | issue29099 messages |
2017-01-13 09:19:44 | xiang.zhang | create | |
|