Message331067
Another thing to note: I'm pretty sure this was a mistake in the first place. There are many examples of places where the datetime module was just not designed with inheritance in mind, for example:
- issue 32404 / issue 32403 - fromtimestamp not calling __new__
- issue 31222 / 20371 - C implementation of .replace
I think there are many other unreported issues that all stem from similar inconsistencies that we've been slowly shoring up.
One problem is that it's very inconsistent, which makes datetime not particularly friendly to subclass, but to the extent that that's changing, we've been getting *more* friendly to subclasses. |
|
Date |
User |
Action |
Args |
2018-12-04 17:22:35 | p-ganssle | set | recipients:
+ p-ganssle, serhiy.storchaka, Delgan, nixphix |
2018-12-04 17:22:35 | p-ganssle | set | messageid: <1543944155.51.0.788709270274.issue35364@psf.upfronthosting.co.za> |
2018-12-04 17:22:35 | p-ganssle | link | issue35364 messages |
2018-12-04 17:22:35 | p-ganssle | create | |
|