<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 18, 2015 at 1:35 PM, Carl Meyer <span dir="ltr"><<a href="mailto:carl@oddbird.net" target="_blank">carl@oddbird.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":3qj" class="a3s" style="overflow:hidden">One problem with both `fold` and `repeat` is that this flag (per the<br>
PEP) also influences resolution of "missing" times, in which case there<br>
is no fold (there's a gap) and no time is repeated.</div></blockquote></div><br>I thought about this and my answer is that a "gap" is a negative "fold", so in the fold you have t.replace(fold=True) - t.replace(fold=False) > 0 and in the gap - the opposite t.replace(fold=True) - t.replace(fold=False) < 0.  While admittedly, this is an a posteriori justification, it makes perfect sense to me.</div></div>