D14912: Bindings: Make generator forward compatible with Python 3
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Wed Aug 22 21:20:56 BST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20180822/79616b3d/attachment.html>
More information about the Kde-buildsystem
mailing list