On Mon, Aug 31, 2015 at 2:53 PM, Tim Peters <[email protected]> wrote:

> BTW, it just occurred to me that PEP 495 has already broken
> datetime.__hash__.  ...
>

The PEP did not and in the reference implementation, I am careful to reset
fold/first before computing the hash:

https://github.com/abalkin/cpython/blob/issue24773/Lib/datetime.py#L1178
_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to