{"action":"closed","number":8272,"pull_request":{"url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/8272","id":173280060,"html_url":"https://github.com/RobotLocomotion/drake/pull/8272","diff_url":"https://github.com/RobotLocomotion/drake/pull/8272.diff","patch_url":"https://github.com/RobotLocomotion/drake/pull/8272.patch","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/8272","number":8272,"state":"closed","locked":false,"title":" pydrake deprecation: Add `deprecated` decorator ","user":{"login":"EricCousineau-TRI","id":26719449,"avatar_url":"https://avatars1.githubusercontent.com/u/26719449?v=4","gravatar_id":"","url":"https://api.github.com/users/EricCousineau-TRI","html_url":"https://github.com/EricCousineau-TRI","followers_url":"https://api.github.com/users/EricCousineau-TRI/followers","following_url":"https://api.github.com/users/EricCousineau-TRI/following{/other_user}","gists_url":"https://api.github.com/users/EricCousineau-TRI/gists{/gist_id}","starred_url":"https://api.github.com/users/EricCousineau-TRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricCousineau-TRI/subscriptions","organizations_url":"https://api.github.com/users/EricCousineau-TRI/orgs","repos_url":"https://api.github.com/users/EricCousineau-TRI/repos","events_url":"https://api.github.com/users/EricCousineau-TRI/events{/privacy}","received_events_url":"https://api.github.com/users/EricCousineau-TRI/received_events","type":"User","site_admin":false},"body":"Addresses discussion in https://github.com/robotlocomotion/drake/pull/8257\r\n\r\nThis is a relatively simple implementation which relies on the `warnings` module.\r\n\r\nThis differs from the implementation in https://stackoverflow.com/questions/2536307/how-do-i-deprecate-python-functions, in that it is triggered upon access to the function, not when the function is called.\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/robotlocomotion/drake/8272)\r\n<!-- Reviewable:end -->\r\n","created_at":"2018-03-06T21:01:49Z","updated_at":"2018-03-14T14:14:21Z","closed_at":"2018-03-14T14:14:21Z","merged_at":"2018-03-14T14:14:21Z","merge_commit_sha":"7750447d2f7035b00a481f12ea9ab975d1c43948","assignee":{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars3.githubusercontent.com/u/17596505?v=4","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false},"assignees":[{"login":"ggould-tri","id":17596413,"avatar_url":"https://avatars2.githubusercontent.com/u/17596413?v=4","gravatar_id":"","url":"https://api.github.com/users/ggould-tri","html_url":"https://github.com/ggould-tri","followers_url":"https://api.github.com/users/ggould-tri/followers","following_url":"https://api.github.com/users/ggould-tri/following{/other_user}","gists_url":"https://api.github.com/users/ggould-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/ggould-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggould-tri/subscriptions","organizations_url":"https://api.github.com/users/ggould-tri/orgs","repos_url":"https://api.github.com/users/ggould-tri/repos","events_url":"https://api.github.com/users/ggould-tri/events{/privacy}","received_events_url":"https://api.github.com/users/ggould-tri/received_events","type":"User","site_admin":false},{"login":"jwnimmer-tri","id":17596505,"avatar_url":"https://avatars3.githubusercontent.com/u/17596505?v=4","gravatar_id":"","url":"https://api.github.com/users/jwnimmer-tri","html_url":"https://github.com/jwnimmer-tri","followers_url":"https://api.github.com/users/jwnimmer-tri/followers","following_url":"https://api.github.com/users/jwnimmer-tri/following{/other_user}","gists_url":"https://api.github.com/users/jwnimmer-tri/gists{/gist_id}","starred_url":"https://api.github.com/users/jwnimmer-tri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwnimmer-tri/subscriptions","organizations_url":"https://api.github.com/users/jwnimmer-tri/orgs","repos_url":"https://api.github.com/users/jwnimmer-tri/repos","events_url":"https://api.github.com/users/jwnimmer-tri/events{/privacy}","received_events_url":"https://api.github.com/users/jwnimmer-tri/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/8272/commits","review_comments_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/8272/comments","review_comment_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/8272/comments","statuses_url":"https://api.github.com/repos/RobotLocomotion/drake/statuses/6c54c53a4a2ad734538fed333386cdf22a664895","head":{"label":"EricCousineau-TRI:feature/py_deprecated","ref":"feature/py_deprecated","sha":"6c54c53a4a2ad734538fed333386cdf22a664895","user":{"login":"EricCousineau-TRI","id":26719449,"avatar_url":"https://avatars1.githubusercontent.com/u/26719449?v=4","gravatar_id":"","url":"https://api.github.com/users/EricCousineau-TRI","html_url":"https://github.com/EricCousineau-TRI","followers_url":"https://api.github.com/users/EricCousineau-TRI/followers","following_url":"https://api.github.com/users/EricCousineau-TRI/following{/other_user}","gists_url":"https://api.github.com/users/EricCousineau-TRI/gists{/gist_id}","starred_url":"https://api.github.com/users/EricCousineau-TRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricCousineau-TRI/subscriptions","organizations_url":"https://api.github.com/users/EricCousineau-TRI/orgs","repos_url":"https://api.github.com/users/EricCousineau-TRI/repos","events_url":"https://api.github.com/users/EricCousineau-TRI/events{/privacy}","received_events_url":"https://api.github.com/users/EricCousineau-TRI/received_events","type":"User","site_admin":false},"repo":{"id":86362731,"name":"drake","full_name":"EricCousineau-TRI/drake","owner":{"login":"EricCousineau-TRI","id":26719449,"avatar_url":"https://avatars1.githubusercontent.com/u/26719449?v=4","gravatar_id":"","url":"https://api.github.com/users/EricCousineau-TRI","html_url":"https://github.com/EricCousineau-TRI","followers_url":"https://api.github.com/users/EricCousineau-TRI/followers","following_url":"https://api.github.com/users/EricCousineau-TRI/following{/other_user}","gists_url":"https://api.github.com/users/EricCousineau-TRI/gists{/gist_id}","starred_url":"https://api.github.com/users/EricCousineau-TRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricCousineau-TRI/subscriptions","organizations_url":"https://api.github.com/users/EricCousineau-TRI/orgs","repos_url":"https://api.github.com/users/EricCousineau-TRI/repos","events_url":"https://api.github.com/users/EricCousineau-TRI/events{/privacy}","received_events_url":"https://api.github.com/users/EricCousineau-TRI/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EricCousineau-TRI/drake","description":"A planning, control, and analysis toolbox for nonlinear dynamical systems.  More info at","fork":true,"url":"https://api.github.com/repos/EricCousineau-TRI/drake","forks_url":"https://api.github.com/repos/EricCousineau-TRI/drake/forks","keys_url":"https://api.github.com/repos/EricCousineau-TRI/drake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EricCousineau-TRI/drake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EricCousineau-TRI/drake/teams","hooks_url":"https://api.github.com/repos/EricCousineau-TRI/drake/hooks","issue_events_url":"https://api.github.com/repos/EricCousineau-TRI/drake/issues/events{/number}","events_url":"https://api.github.com/repos/EricCousineau-TRI/drake/events","assignees_url":"https://api.github.com/repos/EricCousineau-TRI/drake/assignees{/user}","branches_url":"https://api.github.com/repos/EricCousineau-TRI/drake/branches{/branch}","tags_url":"https://api.github.com/repos/EricCousineau-TRI/drake/tags","blobs_url":"https://api.github.com/repos/EricCousineau-TRI/drake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EricCousineau-TRI/drake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EricCousineau-TRI/drake/git/refs{/sha}","trees_url":"https://api.github.com/repos/EricCousineau-TRI/drake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EricCousineau-TRI/drake/statuses/{sha}","languages_url":"https://api.github.com/repos/EricCousineau-TRI/drake/languages","stargazers_url":"https://api.github.com/repos/EricCousineau-TRI/drake/stargazers","contributors_url":"https://api.github.com/repos/EricCousineau-TRI/drake/contributors","subscribers_url":"https://api.github.com/repos/EricCousineau-TRI/drake/subscribers","subscription_url":"https://api.github.com/repos/EricCousineau-TRI/drake/subscription","commits_url":"https://api.github.com/repos/EricCousineau-TRI/drake/commits{/sha}","git_commits_url":"https://api.github.com/repos/EricCousineau-TRI/drake/git/commits{/sha}","comments_url":"https://api.github.com/repos/EricCousineau-TRI/drake/comments{/number}","issue_comment_url":"https://api.github.com/repos/EricCousineau-TRI/drake/issues/comments{/number}","contents_url":"https://api.github.com/repos/EricCousineau-TRI/drake/contents/{+path}","compare_url":"https://api.github.com/repos/EricCousineau-TRI/drake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EricCousineau-TRI/drake/merges","archive_url":"https://api.github.com/repos/EricCousineau-TRI/drake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EricCousineau-TRI/drake/downloads","issues_url":"https://api.github.com/repos/EricCousineau-TRI/drake/issues{/number}","pulls_url":"https://api.github.com/repos/EricCousineau-TRI/drake/pulls{/number}","milestones_url":"https://api.github.com/repos/EricCousineau-TRI/drake/milestones{/number}","notifications_url":"https://api.github.com/repos/EricCousineau-TRI/drake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EricCousineau-TRI/drake/labels{/name}","releases_url":"https://api.github.com/repos/EricCousineau-TRI/drake/releases{/id}","deployments_url":"https://api.github.com/repos/EricCousineau-TRI/drake/deployments","created_at":"2017-03-27T17:10:44Z","updated_at":"2017-03-27T17:10:59Z","pushed_at":"2018-03-13T02:36:41Z","git_url":"git://github.com/EricCousineau-TRI/drake.git","ssh_url":"git@github.com:EricCousineau-TRI/drake.git","clone_url":"https://github.com/EricCousineau-TRI/drake.git","svn_url":"https://github.com/EricCousineau-TRI/drake","homepage":"http://drake.mit.edu","size":223807,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"RobotLocomotion:master","ref":"master","sha":"9fea3ae292860c0a84007a280f0fadd92288261e","user":{"login":"RobotLocomotion","id":6496345,"avatar_url":"https://avatars1.githubusercontent.com/u/6496345?v=4","gravatar_id":"","url":"https://api.github.com/users/RobotLocomotion","html_url":"https://github.com/RobotLocomotion","followers_url":"https://api.github.com/users/RobotLocomotion/followers","following_url":"https://api.github.com/users/RobotLocomotion/following{/other_user}","gists_url":"https://api.github.com/users/RobotLocomotion/gists{/gist_id}","starred_url":"https://api.github.com/users/RobotLocomotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobotLocomotion/subscriptions","organizations_url":"https://api.github.com/users/RobotLocomotion/orgs","repos_url":"https://api.github.com/users/RobotLocomotion/repos","events_url":"https://api.github.com/users/RobotLocomotion/events{/privacy}","received_events_url":"https://api.github.com/users/RobotLocomotion/received_events","type":"Organization","site_admin":false},"repo":{"id":16256144,"name":"drake","full_name":"RobotLocomotion/drake","owner":{"login":"RobotLocomotion","id":6496345,"avatar_url":"https://avatars1.githubusercontent.com/u/6496345?v=4","gravatar_id":"","url":"https://api.github.com/users/RobotLocomotion","html_url":"https://github.com/RobotLocomotion","followers_url":"https://api.github.com/users/RobotLocomotion/followers","following_url":"https://api.github.com/users/RobotLocomotion/following{/other_user}","gists_url":"https://api.github.com/users/RobotLocomotion/gists{/gist_id}","starred_url":"https://api.github.com/users/RobotLocomotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobotLocomotion/subscriptions","organizations_url":"https://api.github.com/users/RobotLocomotion/orgs","repos_url":"https://api.github.com/users/RobotLocomotion/repos","events_url":"https://api.github.com/users/RobotLocomotion/events{/privacy}","received_events_url":"https://api.github.com/users/RobotLocomotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RobotLocomotion/drake","description":"A planning, control, and analysis toolbox for nonlinear dynamical systems.  More info at","fork":false,"url":"https://api.github.com/repos/RobotLocomotion/drake","forks_url":"https://api.github.com/repos/RobotLocomotion/drake/forks","keys_url":"https://api.github.com/repos/RobotLocomotion/drake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobotLocomotion/drake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobotLocomotion/drake/teams","hooks_url":"https://api.github.com/repos/RobotLocomotion/drake/hooks","issue_events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/events{/number}","events_url":"https://api.github.com/repos/RobotLocomotion/drake/events","assignees_url":"https://api.github.com/repos/RobotLocomotion/drake/assignees{/user}","branches_url":"https://api.github.com/repos/RobotLocomotion/drake/branches{/branch}","tags_url":"https://api.github.com/repos/RobotLocomotion/drake/tags","blobs_url":"https://api.github.com/repos/RobotLocomotion/drake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobotLocomotion/drake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobotLocomotion/drake/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobotLocomotion/drake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobotLocomotion/drake/statuses/{sha}","languages_url":"https://api.github.com/repos/RobotLocomotion/drake/languages","stargazers_url":"https://api.github.com/repos/RobotLocomotion/drake/stargazers","contributors_url":"https://api.github.com/repos/RobotLocomotion/drake/contributors","subscribers_url":"https://api.github.com/repos/RobotLocomotion/drake/subscribers","subscription_url":"https://api.github.com/repos/RobotLocomotion/drake/subscription","commits_url":"https://api.github.com/repos/RobotLocomotion/drake/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobotLocomotion/drake/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobotLocomotion/drake/contents/{+path}","compare_url":"https://api.github.com/repos/RobotLocomotion/drake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobotLocomotion/drake/merges","archive_url":"https://api.github.com/repos/RobotLocomotion/drake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobotLocomotion/drake/downloads","issues_url":"https://api.github.com/repos/RobotLocomotion/drake/issues{/number}","pulls_url":"https://api.github.com/repos/RobotLocomotion/drake/pulls{/number}","milestones_url":"https://api.github.com/repos/RobotLocomotion/drake/milestones{/number}","notifications_url":"https://api.github.com/repos/RobotLocomotion/drake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/labels{/name}","releases_url":"https://api.github.com/repos/RobotLocomotion/drake/releases{/id}","deployments_url":"https://api.github.com/repos/RobotLocomotion/drake/deployments","created_at":"2014-01-26T16:11:05Z","updated_at":"2018-03-14T08:20:43Z","pushed_at":"2018-03-14T14:14:21Z","git_url":"git://github.com/RobotLocomotion/drake.git","ssh_url":"git@github.com:RobotLocomotion/drake.git","clone_url":"https://github.com/RobotLocomotion/drake.git","svn_url":"https://github.com/RobotLocomotion/drake","homepage":"http://drake.mit.edu","size":319760,"stargazers_count":805,"watchers_count":805,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":506,"mirror_url":null,"archived":false,"open_issues_count":589,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":506,"open_issues":589,"watchers":805,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/8272"},"html":{"href":"https://github.com/RobotLocomotion/drake/pull/8272"},"issue":{"href":"https://api.github.com/repos/RobotLocomotion/drake/issues/8272"},"comments":{"href":"https://api.github.com/repos/RobotLocomotion/drake/issues/8272/comments"},"review_comments":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/8272/comments"},"review_comment":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RobotLocomotion/drake/pulls/8272/commits"},"statuses":{"href":"https://api.github.com/repos/RobotLocomotion/drake/statuses/6c54c53a4a2ad734538fed333386cdf22a664895"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"EricCousineau-TRI","id":26719449,"avatar_url":"https://avatars1.githubusercontent.com/u/26719449?v=4","gravatar_id":"","url":"https://api.github.com/users/EricCousineau-TRI","html_url":"https://github.com/EricCousineau-TRI","followers_url":"https://api.github.com/users/EricCousineau-TRI/followers","following_url":"https://api.github.com/users/EricCousineau-TRI/following{/other_user}","gists_url":"https://api.github.com/users/EricCousineau-TRI/gists{/gist_id}","starred_url":"https://api.github.com/users/EricCousineau-TRI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricCousineau-TRI/subscriptions","organizations_url":"https://api.github.com/users/EricCousineau-TRI/orgs","repos_url":"https://api.github.com/users/EricCousineau-TRI/repos","events_url":"https://api.github.com/users/EricCousineau-TRI/events{/privacy}","received_events_url":"https://api.github.com/users/EricCousineau-TRI/received_events","type":"User","site_admin":false},"comments":15,"review_comments":0,"maintainer_can_modify":false,"commits":7,"additions":443,"deletions":214,"changed_files":18}}
{"actor":{"display_login":"EricCousineau-TRI"}}