[Checkins] [zopefoundation/DocumentTemplate] 5716eb: Turn iterables into lists for `in` operator.

GitHub noreply at github.com
Tue May 16 19:44:00 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/DocumentTemplate
  Commit: 5716eb8e9683624cfeb0d235e6074c1a9ae02892
      https://github.com/zopefoundation/DocumentTemplate/commit/5716eb8e9683624cfeb0d235e6074c1a9ae02892
  Author: Hanno Schlichting <hanno at hannosch.eu>
  Date:   2017-05-16 (Tue, 16 May 2017)

  Changed paths:
    M src/DocumentTemplate/DT_In.py
    M src/DocumentTemplate/DT_InSV.py

  Log Message:
  -----------
  Turn iterables into lists for `in` operator.

The implementation is currently written in a way that would try
to consume the iterator multiple times and cannot deal with new
memoryviews like those returned by dict.keys().




More information about the checkins mailing list