matplotlib/matplotlib — pull request #938 by jkseppan (2012-06-09 11:12:17+00:00)
Title: Simplify ttconv loop

Replace a while loop with complicated break and continue cases by a for loop that has the iteration and end-condition testing in one place only.

This was last touched by @mdboom and @cgohlke in #933; does this look right and does the #933 crash stay fixed?