Message309737
> (And, honestly, `dateutil` would provide a version-independent backport anyway).
Why not start with that? Remember: python standard library is where code goes to die. By implementing this feature in dateutil you will not be tied to relatively slow python release schedule. Of course, you cannot change datetime.now from a 3rd party module, but you can provide your own dateutil.now with the desired features.
The only downside I see is that you will need to copy much of datetime.now implementation which is rather convoluted. |
|
Date |
User |
Action |
Args |
2018-01-09 21:17:35 | belopolsky | set | recipients:
+ belopolsky, tim.peters, barry, vstinner, p-ganssle |
2018-01-09 21:17:35 | belopolsky | set | messageid: <1515532655.3.0.467229070634.issue32522@psf.upfronthosting.co.za> |
2018-01-09 21:17:35 | belopolsky | link | issue32522 messages |
2018-01-09 21:17:35 | belopolsky | create | |
|