                      ptr += 1
                  else:
                      ptr += 1
  
      property rights:
          def __get__(self):
              """The rightward immediate children of the word, in the syntactic
              dependency parse."""
 
</s>
                nr_iter += 1
                # This is ugly, but it's a way to guard out infinite loops
                if nr_iter >= 10000000:
                    raise RuntimeError(
                        "Possibly infinite loop encountered while looking for token.lefts")
                      ptr += 1
                  else:
                      ptr += 1
                nr_iter += 1
                # This is ugly, but it's a way to guard out infinite loops
                if nr_iter >= 10000000:
                    raise RuntimeError(
                        "Possibly infinite loop encountered while looking for token.lefts")
  
      property rights:
          def __get__(self):
              """The rightward immediate children of the word, in the syntactic
              dependency parse."""
keep keep add keep keep keep keep keep
 * Add loop guard to Token.lefts and Token.rights properties
spacy/tokens/token.pyx