D14912: Bindings: Make generator forward compatible with Python 3
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Fri Aug 17 23:36:35 BST 2018
bruns created this revision.
bruns added a reviewer: Frameworks.
Herald added projects: Frameworks, Build System.
Herald added subscribers: kde-buildsystem, kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
iteritems is no longer an available method for dict in Python 3. itemviews
from future.utils allows to use the same code for Python 2.7 and 3.
TEST PLAN
Run python3 sip_generator.py ...
Run python2 sip_generator.py ...
Both generate the same code
REPOSITORY
R240 Extra CMake Modules
REVISION DETAIL
https://phabricator.kde.org/D14912
AFFECTED FILES
find-modules/rules_engine.py
To: bruns, #frameworks
Cc: kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20180817/c4e80ce0/attachment-0001.html>
More information about the Kde-buildsystem
mailing list