[Differential] [Request, 94 lines] D3540: Get iterable content using __iter__() and __next__().

flherne (Francis Herne) noreply at phabricator.kde.org
Tue Nov 29 20:20:35 UTC 2016


flherne created this revision.
flherne added a reviewer: brauch.
flherne set the repository for this revision to R53 KDevelop: Python Support.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  BUG: 369363
  Supports unpacking and iterating over custom sequence types.
  See tests for examples (some by Nicolás Alvarez).
  
  Returning `iter(builtin_container)` isn't handled usefully because they use docstring cheats with no real return values.

TEST PLAN
  Added tests for new functionality.
  No regressions in existing tests.
  
  Processed some small projects and quite a bit of CPython without crashing.

REPOSITORY
  R53 KDevelop: Python Support

REVISION DETAIL
  https://phabricator.kde.org/D3540

AFFECTED FILES
  duchain/declarationbuilder.cpp
  duchain/declarationbuilder.h
  duchain/expressionvisitor.cpp
  duchain/helpers.cpp
  duchain/helpers.h
  duchain/tests/pyduchaintest.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: flherne, brauch
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161129/d43aeab6/attachment.html>


More information about the KDevelop-devel mailing list