[Differential] [Request, 50 lines] D3842: Type hints from keyword arguments to named parameters.

flherne (Francis Herne) noreply at phabricator.kde.org
Wed Dec 28 21:28:54 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
  Type hints from keyword arguments to named parameters.
  
  Before, all types of keyword arguments were rolled into the **kwargs parameter, if present, or ignored.
  
  When a keyword argument's name matches that of a normal parameter, its type should be used as a hint for that and not for **kwargs.
  
  See tests for examples.

TEST PLAN
  No changes in existing tests. Four new tests that previously failed and now pass.
  
  duchainify stress-testing currently

REPOSITORY
  R53 KDevelop: Python Support

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

AFFECTED FILES
  duchain/declarationbuilder.cpp
  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/20161228/876d7de5/attachment.html>


More information about the KDevelop-devel mailing list