Activity log for bug #1402868

Date Who What changed Old value New value Message
2014-12-15 23:40:25 Thomas Roten bug added bug
2014-12-15 23:41:09 Thomas Roten description I can create an rrule object like this: >>> bysetpos = rrule(freq=0, byweekday=6, bysetpos=-13) >>> bysetpos[0] datetime.datetime(2015, 10, 4, 14, 18, 5) I can also create another object like this: >>> byeaster = rrule(freq=0, byeaster=182) >>> byeaster[0] datetime.datetime(2015, 10, 4, 14, 17, 56) But, if I combine those rules, I can an exception: >>> easter_and_setpos = rrule(freq=0, byeaster=182, byweekday=6, bysetpos=-13) >>> easter_and_setpos[0] Traceback (most recent call last): File "/Users/tsr/.virtualenvs/sacredtime/lib/python3.4/site-packages/dateutil/rrule.py", line 144, in __getitem__ res = advance_iterator(gen) StopIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/tsr/.virtualenvs/sacredtime/lib/python3.4/site-packages/dateutil/rrule.py", line 146, in __getitem__ raise IndexError IndexError Is this intentional or a bug? I can create an rrule object like this:     >>> bysetpos = rrule(freq=0, byweekday=6, bysetpos=-13)     >>> bysetpos[0]     datetime.datetime(2015, 10, 4, 14, 18, 5) I can also create another object like this:     >>> byeaster = rrule(freq=0, byeaster=182)     >>> byeaster[0]     datetime.datetime(2015, 10, 4, 14, 17, 56) But, if I combine those rules, I get an exception:     >>> easter_and_setpos = rrule(freq=0, byeaster=182, byweekday=6, bysetpos=-13)     >>> easter_and_setpos[0]     Traceback (most recent call last):       File "/Users/tsr/.virtualenvs/sacredtime/lib/python3.4/site-packages/dateutil/rrule.py", line 144, in __getitem__         res = advance_iterator(gen)     StopIteration     During handling of the above exception, another exception occurred:     Traceback (most recent call last):        File "<stdin>", line 1, in <module>        File "/Users/tsr/.virtualenvs/sacredtime/lib/python3.4/site-packages/dateutil/rrule.py", line 146, in __getitem__          raise IndexError      IndexError Is this intentional or a bug?