[issue20858] Enhancements/fixes to pure-python datetime module

Alexander Belopolsky report at bugs.python.org
Sun Jul 13 17:35:33 CEST 2014


Alexander Belopolsky added the comment:

Brian,

Could you, please update the summary of your changes from your first post?  For example, you did not mention caching of the timedelta hashes.

This particular chance seems to call for a discussion.

Do we cache timedelta hashes in C implementation?  What is the general wisdom on this technique?  AFAICR, such hashing is done in integer objects, but I vaguely remember an old discussion on whether the same should be done for tuples.  Can you remind me what was the outcome for tuples?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20858>
_______________________________________


More information about the Python-bugs-list mailing list