Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: edee20ff506779b7a7d4e10321a0a619ce0eb03d
      
https://github.com/django/django/commit/edee20ff506779b7a7d4e10321a0a619ce0eb03d
  Author: Luke Plant <[email protected]>
  Date:   2012-06-14 (Thu, 14 Jun 2012)

  Changed paths:
    M django/template/smartif.py

  Log Message:
  -----------
  Reverted part of 169b1a40 which was mistakenly applied to a non-iterator 
class.

Doing next(IfParser()) works for Python 2.7, because it calls
IfParser.next(), but in Python 3 will call IfParser.__next__() which does
not work since it is not an iterator and does not have that method.


  Commit: fd6a9d35d9034436d2f8092717c5b210da6ff6ce
      
https://github.com/django/django/commit/fd6a9d35d9034436d2f8092717c5b210da6ff6ce
  Author: Luke Plant <[email protected]>
  Date:   2012-06-14 (Thu, 14 Jun 2012)

  Changed paths:
    M django/template/smartif.py

  Log Message:
  -----------
  IfParser.next() method renamed to avoid confusion with iterator protocol.


Compare: https://github.com/django/django/compare/023b70415b68...fd6a9d35d903

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to