kivy/kivy — pull request #2542 by Kovak (2014-10-01 21:47:45+00:00)
Title: Fix carousel crash on load_next if empty, replace float(nan) with None

Carousel currently crashes if you have it load_next and it is empty. This makes it difficult to run an automated carousel with photos added/removed programmatically. Also the float('nan') seemed like a weird way around not using allownone for _index property. I think it would be more pythonic to switch this to None.