Message109510
C code changes eliminating round-trips between timdelta and int offsets committed in r82642 and Python code changes committed to sandbox in r82641.
Now the requested behavior change is easy and I am about +0.5 on relaxing the offset checks to allow seconds in the offsets and about +0.1 on removing the checks altogether and allowing arbitrary timedeltas even over 1 day.
The only substantive question in my mind is how to handle printing in formats like %z which only provide 4 digits for UTC offset. Two options seem reasonable: a) truncate sub-minute offsets; and b) follow RFC 3339 recommendation and translate the time into the nearest whole-minute timezone.
I am slightly is favor of (a), but this whole problem may be a reason to reject this RFE. |
|
Date |
User |
Action |
Args |
2010-07-08 00:06:09 | belopolsky | set | recipients:
+ belopolsky, jamesh, mark.dickinson, vstinner, benjamin.peterson |
2010-07-08 00:06:08 | belopolsky | set | messageid: <1278547568.64.0.437682297885.issue5288@psf.upfronthosting.co.za> |
2010-07-08 00:06:07 | belopolsky | link | issue5288 messages |
2010-07-08 00:06:04 | belopolsky | create | |
|