bruns added a comment.
Third option: just use `original.items()`. This is slightly more expensive in python 2 (it generates a temporary list<k,v> instead of passing an iterator), but is functionally identical. I don't think the overhead is an issue here - it is only called when tracing. For python 3, `future.utils.viewitems(dict)` is identical to `dict.items()`. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D14912 To: bruns, #frameworks Cc: arojas, kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns