next() w/ generator-comprehensions inside is not enclosed in parenthesis on refactoring

Issue #27 new
Anonymous created an issue

E.g this works fine:

{{{ -next([a for a in range(5)]) -next((a for a in range(5))) +[a for a in xrange(5)].next() +(a for a in xrange(5)).next() }}}

But it goes wrong with some syntactic sugar:

{{{ -next(a for a in range(5)) +a for a in xrange(5).next() }}}

Comments (0)

  1. Log in to comment