{"action":"created","issue":{"url":"https://api.github.com/repos/kivy/oscpy/issues/3","repository_url":"https://api.github.com/repos/kivy/oscpy","labels_url":"https://api.github.com/repos/kivy/oscpy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kivy/oscpy/issues/3/comments","events_url":"https://api.github.com/repos/kivy/oscpy/issues/3/events","html_url":"https://github.com/kivy/oscpy/issues/3","id":340395286,"node_id":"MDU6SXNzdWUzNDAzOTUyODY=","number":3,"title":"Feature request: catch none matching address","user":{"login":"ptrdvds","id":2574849,"node_id":"MDQ6VXNlcjI1NzQ4NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/2574849?v=4","gravatar_id":"","url":"https://api.github.com/users/ptrdvds","html_url":"https://github.com/ptrdvds","followers_url":"https://api.github.com/users/ptrdvds/followers","following_url":"https://api.github.com/users/ptrdvds/following{/other_user}","gists_url":"https://api.github.com/users/ptrdvds/gists{/gist_id}","starred_url":"https://api.github.com/users/ptrdvds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptrdvds/subscriptions","organizations_url":"https://api.github.com/users/ptrdvds/orgs","repos_url":"https://api.github.com/users/ptrdvds/repos","events_url":"https://api.github.com/users/ptrdvds/events{/privacy}","received_events_url":"https://api.github.com/users/ptrdvds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T20:34:27Z","updated_at":"2018-07-13T00:37:58Z","closed_at":null,"author_association":"NONE","body":"What really would be helpfull is the possibility to have a catch none matching address.\r\nSomething like: \r\n\r\n@osc.address(None):\r\ndef catch_none_matching(values)\r\n...\r\n\r\nThis way you can do advanced matching in the \"catch_none_matching\" function.\r\n\r\nJust my two cents.\r\nRegards, Peter\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kivy/oscpy/issues/comments/404691377","html_url":"https://github.com/kivy/oscpy/issues/3#issuecomment-404691377","issue_url":"https://api.github.com/repos/kivy/oscpy/issues/3","id":404691377,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDY5MTM3Nw==","user":{"login":"tshirtman","id":22759,"node_id":"MDQ6VXNlcjIyNzU5","avatar_url":"https://avatars1.githubusercontent.com/u/22759?v=4","gravatar_id":"","url":"https://api.github.com/users/tshirtman","html_url":"https://github.com/tshirtman","followers_url":"https://api.github.com/users/tshirtman/followers","following_url":"https://api.github.com/users/tshirtman/following{/other_user}","gists_url":"https://api.github.com/users/tshirtman/gists{/gist_id}","starred_url":"https://api.github.com/users/tshirtman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshirtman/subscriptions","organizations_url":"https://api.github.com/users/tshirtman/orgs","repos_url":"https://api.github.com/users/tshirtman/repos","events_url":"https://api.github.com/users/tshirtman/events{/privacy}","received_events_url":"https://api.github.com/users/tshirtman/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T00:37:58Z","updated_at":"2018-07-13T00:37:58Z","author_association":"MEMBER","body":"I was looking at the OSC 1.0 specification for a \"default\" semantic of some sort, but i don't seem to find it, so i guess it's up to us.\r\n\r\nI think i would prefer\r\n\r\n```\r\n@osc.default()\r\ndef catch_none_matching(address, values)\r\n    ...\r\n```\r\nBut i'm not entirely sure if it's worth defining a new method for that."}}
{"actor":{"display_login":"tshirtman"}}