{"action":"reopened","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2439","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2439/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2439/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2439/events","html_url":"https://github.com/spyder-ide/spyder/issues/2439","id":76502046,"number":2439,"title":"Rope not autocompleting when *args or **kwargs are present in function definition","user":{"login":"dougthor42","id":5386897,"avatar_url":"https://avatars.githubusercontent.com/u/5386897?v=3","gravatar_id":"","url":"https://api.github.com/users/dougthor42","html_url":"https://github.com/dougthor42","followers_url":"https://api.github.com/users/dougthor42/followers","following_url":"https://api.github.com/users/dougthor42/following{/other_user}","gists_url":"https://api.github.com/users/dougthor42/gists{/gist_id}","starred_url":"https://api.github.com/users/dougthor42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougthor42/subscriptions","organizations_url":"https://api.github.com/users/dougthor42/orgs","repos_url":"https://api.github.com/users/dougthor42/repos","events_url":"https://api.github.com/users/dougthor42/events{/privacy}","received_events_url":"https://api.github.com/users/dougthor42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Editor","name":"Editor","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/5","html_url":"https://github.com/spyder-ide/spyder/milestones/v3.0","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/5/labels","id":982077,"number":5,"title":"v3.0","description":"","creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":270,"closed_issues":95,"state":"open","created_at":"2015-02-16T23:17:23Z","updated_at":"2015-05-21T21:51:12Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-05-14T21:51:44Z","updated_at":"2015-05-21T21:51:12Z","closed_at":null,"body":"### Summary\r\n\r\n~~Jedi~~ Rope autocompletion does not work when `*args` or `**kwargs` are present in a function definition.\r\n\r\n### Steps to Reproduce\r\n1. Open up a new python file.\r\n2. Type the following:\r\n\r\n    ```python\r\n    def function(*args):\r\n        my_variable = 5\r\n        my_v\r\n    #      ^ Press `tab` here\r\n    ```\r\n\r\n3. After typing `my_v`, press <kbd>Tab</kbd>. Notice that no autocompletion happens\r\n4. Replace `*args` with `**dict_of_args`.\r\n5. Press <kbd>Tab</kbd> in the same location as before. Again, autocompletion does not work.\r\n6. Remove `**dict_of_args` and repeat. Autocompletion now works.\r\n\r\n### Expected Output\r\n\r\nAutocompletion of variable names should work even if `*args` or `**kwargs` are present in function definition.\r\n\r\n### Additional Info\r\n\r\n~~Related [Jedi Issue #558](https://github.com/davidhalter/jedi/issues/588)~~\r\nI thought that I was using Jedi when looking into this issue, but I was mistaken.\r\n\r\n### Version and main components\r\n\r\n* Spyder Version:  2.3.4\r\n* Python Version:  3.4.3\r\n* Qt Version    :  4.8.6, PyQt4 (API v2) 4.11.3 on Windows\r\n\r\n## Optional dependencies\r\n\r\npyflakes >=0.6.0:  0.8.1 (OK)\r\npep8 >=0.6      :  1.6.2 (OK)\r\nIPython >=1.0   :  3.0.0 (OK)\r\nzmq >=2.1.11    :  14.5.0 (OK)\r\npygments >=1.6  :  2.0.2 (OK)\r\npandas >=0.13.1 :  0.16.0 (OK)\r\nsphinx >=0.6.6  :  1.3.1 (OK)\r\nrope >=0.9.2    :  0.9.4-1 (OK)\r\njedi >=0.8.1    :  0.9.0 (OK)\r\nmatplotlib >=1.0:  1.4.3 (OK)\r\nsympy >=0.7.3   :  0.7.6 (OK)\r\ncoverage >=0.25 :  3.7.1 (OK)\r\npylint >=0.25   :  1.4.3 (OK)\r\n"}}