{"action":"closed","number":208,"pull_request":{"url":"https://api.github.com/repos/inducer/pudb/pulls/208","id":97498566,"html_url":"https://github.com/inducer/pudb/pull/208","diff_url":"https://github.com/inducer/pudb/pull/208.diff","patch_url":"https://github.com/inducer/pudb/pull/208.patch","issue_url":"https://api.github.com/repos/inducer/pudb/issues/208","number":208,"state":"closed","locked":false,"title":"Monokai","user":{"login":"epmoyer","id":136718,"avatar_url":"https://avatars.githubusercontent.com/u/136718?v=3","gravatar_id":"","url":"https://api.github.com/users/epmoyer","html_url":"https://github.com/epmoyer","followers_url":"https://api.github.com/users/epmoyer/followers","following_url":"https://api.github.com/users/epmoyer/following{/other_user}","gists_url":"https://api.github.com/users/epmoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/epmoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epmoyer/subscriptions","organizations_url":"https://api.github.com/users/epmoyer/orgs","repos_url":"https://api.github.com/users/epmoyer/repos","events_url":"https://api.github.com/users/epmoyer/events{/privacy}","received_events_url":"https://api.github.com/users/epmoyer/received_events","type":"User","site_admin":false},"body":"This change adds \"monokai\" and \"monokai-256\" to the built-in Themes. It faithfully reproduces all Monokai styling except for coloring optional argument names orange in function calls (implementing that would have required a two-pass parser to go backwards and change the token type of the argument name after encountering the \"=\" which follows it.)\r\n\r\nThis implementation adds several new palette items: \"namespace\", \"operator\", \"argument\", \"builtin\", \"pseudo\", \"dunder\", \"exception\", and \"keyword2\".  Their meaning is documented near the top of theme.py\r\n\r\nAll legacy Themes have been updated to assign colors to the new palette items such that the legacy themes appear identical before and after this change.  The addition of the new palette items makes it possible, if you like, to expand the colorization of the legacy themes in the future. I thought it was cleanest for me to keep this pull request focussed on the new theme and not muddy the waters by making any changes to the appearance of the legacy ones.\r\n\r\nI have tested on Python 3.5 and 2.7, and raw/curses (though both appear identical on my platform).\r\n\r\n**monokai-256 vs Sublime**\r\n<img width=\"941\" alt=\"monokai-256\" src=\"https://cloud.githubusercontent.com/assets/136718/21089341/23d53790-bfec-11e6-985b-97d5b4691238.png\">\r\n\r\n**monokai vs Sublime**\r\n<img width=\"921\" alt=\"monokai\" src=\"https://cloud.githubusercontent.com/assets/136718/21089343/29260ddc-bfec-11e6-8452-2153948ddd41.png\">\r\n\r\n**Legacy themes with Monokai build (left) and trunk build (right)**\r\n<img width=\"1439\" alt=\"classic_compare\" src=\"https://cloud.githubusercontent.com/assets/136718/21089359/43dcf078-bfec-11e6-9580-dc2ab6205552.png\">\r\n\r\n<img width=\"1435\" alt=\"vim_compare\" src=\"https://cloud.githubusercontent.com/assets/136718/21089365/574e5c78-bfec-11e6-808c-21aabf266ac4.png\">\r\n\r\n<img width=\"1437\" alt=\"dark_vim_compare\" src=\"https://cloud.githubusercontent.com/assets/136718/21089370/6879634e-bfec-11e6-8a27-555e23be0401.png\">\r\n\r\n<img width=\"1439\" alt=\"midnight_compare\" src=\"https://cloud.githubusercontent.com/assets/136718/21089381/7b30e14c-bfec-11e6-91b8-c52611a17223.png\">\r\n\r\n<img width=\"1437\" alt=\"solarized_compare\" src=\"https://cloud.githubusercontent.com/assets/136718/21089396/926bfc52-bfec-11e6-8704-b9da78212ecb.png\">\r\n\r\n<img width=\"1436\" alt=\"agr-256_compare\" src=\"https://cloud.githubusercontent.com/assets/136718/21089412/b3d8873e-bfec-11e6-8c4d-8df3505044d5.png\">\r\n\r\n","created_at":"2016-12-12T05:58:34Z","updated_at":"2016-12-14T16:24:57Z","closed_at":"2016-12-14T16:24:57Z","merged_at":"2016-12-14T16:24:57Z","merge_commit_sha":"37639edd6128d2ee353e64ba335527b6a393932a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/inducer/pudb/pulls/208/commits","review_comments_url":"https://api.github.com/repos/inducer/pudb/pulls/208/comments","review_comment_url":"https://api.github.com/repos/inducer/pudb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inducer/pudb/issues/208/comments","statuses_url":"https://api.github.com/repos/inducer/pudb/statuses/9749243e3c35111130e9635cea2bf07a98f3097c","head":{"label":"epmoyer:monokai","ref":"monokai","sha":"9749243e3c35111130e9635cea2bf07a98f3097c","user":{"login":"epmoyer","id":136718,"avatar_url":"https://avatars.githubusercontent.com/u/136718?v=3","gravatar_id":"","url":"https://api.github.com/users/epmoyer","html_url":"https://github.com/epmoyer","followers_url":"https://api.github.com/users/epmoyer/followers","following_url":"https://api.github.com/users/epmoyer/following{/other_user}","gists_url":"https://api.github.com/users/epmoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/epmoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epmoyer/subscriptions","organizations_url":"https://api.github.com/users/epmoyer/orgs","repos_url":"https://api.github.com/users/epmoyer/repos","events_url":"https://api.github.com/users/epmoyer/events{/privacy}","received_events_url":"https://api.github.com/users/epmoyer/received_events","type":"User","site_admin":false},"repo":{"id":76224972,"name":"pudb","full_name":"epmoyer/pudb","owner":{"login":"epmoyer","id":136718,"avatar_url":"https://avatars.githubusercontent.com/u/136718?v=3","gravatar_id":"","url":"https://api.github.com/users/epmoyer","html_url":"https://github.com/epmoyer","followers_url":"https://api.github.com/users/epmoyer/followers","following_url":"https://api.github.com/users/epmoyer/following{/other_user}","gists_url":"https://api.github.com/users/epmoyer/gists{/gist_id}","starred_url":"https://api.github.com/users/epmoyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epmoyer/subscriptions","organizations_url":"https://api.github.com/users/epmoyer/orgs","repos_url":"https://api.github.com/users/epmoyer/repos","events_url":"https://api.github.com/users/epmoyer/events{/privacy}","received_events_url":"https://api.github.com/users/epmoyer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/epmoyer/pudb","description":"Full-screen console debugger for Python","fork":true,"url":"https://api.github.com/repos/epmoyer/pudb","forks_url":"https://api.github.com/repos/epmoyer/pudb/forks","keys_url":"https://api.github.com/repos/epmoyer/pudb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epmoyer/pudb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epmoyer/pudb/teams","hooks_url":"https://api.github.com/repos/epmoyer/pudb/hooks","issue_events_url":"https://api.github.com/repos/epmoyer/pudb/issues/events{/number}","events_url":"https://api.github.com/repos/epmoyer/pudb/events","assignees_url":"https://api.github.com/repos/epmoyer/pudb/assignees{/user}","branches_url":"https://api.github.com/repos/epmoyer/pudb/branches{/branch}","tags_url":"https://api.github.com/repos/epmoyer/pudb/tags","blobs_url":"https://api.github.com/repos/epmoyer/pudb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epmoyer/pudb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epmoyer/pudb/git/refs{/sha}","trees_url":"https://api.github.com/repos/epmoyer/pudb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epmoyer/pudb/statuses/{sha}","languages_url":"https://api.github.com/repos/epmoyer/pudb/languages","stargazers_url":"https://api.github.com/repos/epmoyer/pudb/stargazers","contributors_url":"https://api.github.com/repos/epmoyer/pudb/contributors","subscribers_url":"https://api.github.com/repos/epmoyer/pudb/subscribers","subscription_url":"https://api.github.com/repos/epmoyer/pudb/subscription","commits_url":"https://api.github.com/repos/epmoyer/pudb/commits{/sha}","git_commits_url":"https://api.github.com/repos/epmoyer/pudb/git/commits{/sha}","comments_url":"https://api.github.com/repos/epmoyer/pudb/comments{/number}","issue_comment_url":"https://api.github.com/repos/epmoyer/pudb/issues/comments{/number}","contents_url":"https://api.github.com/repos/epmoyer/pudb/contents/{+path}","compare_url":"https://api.github.com/repos/epmoyer/pudb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epmoyer/pudb/merges","archive_url":"https://api.github.com/repos/epmoyer/pudb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epmoyer/pudb/downloads","issues_url":"https://api.github.com/repos/epmoyer/pudb/issues{/number}","pulls_url":"https://api.github.com/repos/epmoyer/pudb/pulls{/number}","milestones_url":"https://api.github.com/repos/epmoyer/pudb/milestones{/number}","notifications_url":"https://api.github.com/repos/epmoyer/pudb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epmoyer/pudb/labels{/name}","releases_url":"https://api.github.com/repos/epmoyer/pudb/releases{/id}","deployments_url":"https://api.github.com/repos/epmoyer/pudb/deployments","created_at":"2016-12-12T05:30:56Z","updated_at":"2016-12-12T05:30:57Z","pushed_at":"2016-12-14T16:03:47Z","git_url":"git://github.com/epmoyer/pudb.git","ssh_url":"git@github.com:epmoyer/pudb.git","clone_url":"https://github.com/epmoyer/pudb.git","svn_url":"https://github.com/epmoyer/pudb","homepage":"http://mathema.tician.de/software/pudb","size":925,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inducer:master","ref":"master","sha":"214b8332ac63e10c4a8a1f183fdbab8e751ed957","user":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"repo":{"id":1745896,"name":"pudb","full_name":"inducer/pudb","owner":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/inducer/pudb","description":"Full-screen console debugger for Python","fork":false,"url":"https://api.github.com/repos/inducer/pudb","forks_url":"https://api.github.com/repos/inducer/pudb/forks","keys_url":"https://api.github.com/repos/inducer/pudb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inducer/pudb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inducer/pudb/teams","hooks_url":"https://api.github.com/repos/inducer/pudb/hooks","issue_events_url":"https://api.github.com/repos/inducer/pudb/issues/events{/number}","events_url":"https://api.github.com/repos/inducer/pudb/events","assignees_url":"https://api.github.com/repos/inducer/pudb/assignees{/user}","branches_url":"https://api.github.com/repos/inducer/pudb/branches{/branch}","tags_url":"https://api.github.com/repos/inducer/pudb/tags","blobs_url":"https://api.github.com/repos/inducer/pudb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inducer/pudb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inducer/pudb/git/refs{/sha}","trees_url":"https://api.github.com/repos/inducer/pudb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inducer/pudb/statuses/{sha}","languages_url":"https://api.github.com/repos/inducer/pudb/languages","stargazers_url":"https://api.github.com/repos/inducer/pudb/stargazers","contributors_url":"https://api.github.com/repos/inducer/pudb/contributors","subscribers_url":"https://api.github.com/repos/inducer/pudb/subscribers","subscription_url":"https://api.github.com/repos/inducer/pudb/subscription","commits_url":"https://api.github.com/repos/inducer/pudb/commits{/sha}","git_commits_url":"https://api.github.com/repos/inducer/pudb/git/commits{/sha}","comments_url":"https://api.github.com/repos/inducer/pudb/comments{/number}","issue_comment_url":"https://api.github.com/repos/inducer/pudb/issues/comments{/number}","contents_url":"https://api.github.com/repos/inducer/pudb/contents/{+path}","compare_url":"https://api.github.com/repos/inducer/pudb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inducer/pudb/merges","archive_url":"https://api.github.com/repos/inducer/pudb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inducer/pudb/downloads","issues_url":"https://api.github.com/repos/inducer/pudb/issues{/number}","pulls_url":"https://api.github.com/repos/inducer/pudb/pulls{/number}","milestones_url":"https://api.github.com/repos/inducer/pudb/milestones{/number}","notifications_url":"https://api.github.com/repos/inducer/pudb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inducer/pudb/labels{/name}","releases_url":"https://api.github.com/repos/inducer/pudb/releases{/id}","deployments_url":"https://api.github.com/repos/inducer/pudb/deployments","created_at":"2011-05-13T23:44:30Z","updated_at":"2016-12-13T17:05:32Z","pushed_at":"2016-12-14T16:24:57Z","git_url":"git://github.com/inducer/pudb.git","ssh_url":"git@github.com:inducer/pudb.git","clone_url":"https://github.com/inducer/pudb.git","svn_url":"https://github.com/inducer/pudb","homepage":"http://mathema.tician.de/software/pudb","size":1022,"stargazers_count":691,"watchers_count":691,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":74,"forks":67,"open_issues":74,"watchers":691,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inducer/pudb/pulls/208"},"html":{"href":"https://github.com/inducer/pudb/pull/208"},"issue":{"href":"https://api.github.com/repos/inducer/pudb/issues/208"},"comments":{"href":"https://api.github.com/repos/inducer/pudb/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/inducer/pudb/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/inducer/pudb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inducer/pudb/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/inducer/pudb/statuses/9749243e3c35111130e9635cea2bf07a98f3097c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"inducer","id":352067,"avatar_url":"https://avatars.githubusercontent.com/u/352067?v=3","gravatar_id":"","url":"https://api.github.com/users/inducer","html_url":"https://github.com/inducer","followers_url":"https://api.github.com/users/inducer/followers","following_url":"https://api.github.com/users/inducer/following{/other_user}","gists_url":"https://api.github.com/users/inducer/gists{/gist_id}","starred_url":"https://api.github.com/users/inducer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inducer/subscriptions","organizations_url":"https://api.github.com/users/inducer/orgs","repos_url":"https://api.github.com/users/inducer/repos","events_url":"https://api.github.com/users/inducer/events{/privacy}","received_events_url":"https://api.github.com/users/inducer/received_events","type":"User","site_admin":false},"comments":9,"review_comments":6,"commits":8,"additions":390,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"inducer"}}