Ammar Askar added the comment:

I've attached two patches that fix this behavior, one by simply foregoing the 
fold detection for this time range on windows (the patch that I'd argue is 
simpler and more readable)

And one that truncates the passed values to local to not be negative. This one 
would have been simple but unfortunately there's the complication that there 
are two local calls and additionally, the second one cannot be truncated to 
exactly 0 because then we incorrectly detect a fold for the timestamp 0.

----------
keywords: +patch
Added file: http://bugs.python.org/file46091/forego_fold_detection.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to