{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo/issues/840","labels_url":"https://api.github.com/repos/nengo/nengo/issues/840/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo/issues/840/comments","events_url":"https://api.github.com/repos/nengo/nengo/issues/840/events","html_url":"https://github.com/nengo/nengo/issues/840","id":106243363,"number":840,"title":"More input validation to Vocabulary.add?","user":{"login":"Seanny123","id":1918825,"avatar_url":"https://avatars.githubusercontent.com/u/1918825?v=3","gravatar_id":"","url":"https://api.github.com/users/Seanny123","html_url":"https://github.com/Seanny123","followers_url":"https://api.github.com/users/Seanny123/followers","following_url":"https://api.github.com/users/Seanny123/following{/other_user}","gists_url":"https://api.github.com/users/Seanny123/gists{/gist_id}","starred_url":"https://api.github.com/users/Seanny123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seanny123/subscriptions","organizations_url":"https://api.github.com/users/Seanny123/orgs","repos_url":"https://api.github.com/users/Seanny123/repos","events_url":"https://api.github.com/users/Seanny123/events{/privacy}","received_events_url":"https://api.github.com/users/Seanny123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nengo/nengo/labels/discussion","name":"discussion","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-09-13T22:11:56Z","updated_at":"2015-09-24T17:23:38Z","closed_at":null,"body":"As Jan pointed out while review my SPA similarity plot pull request in Nengo GUI, when you add a semantic pointer via `Vocabulary.add` you can enter basically any string. Maybe I'm misunderstanding what a semantic pointer key is supposed to be used for, but isn't supposed to start in a capitol and not include any weird punctuation? Should we check for this in `Vocabulary.add`?"},"comment":{"url":"https://api.github.com/repos/nengo/nengo/issues/comments/142994861","html_url":"https://github.com/nengo/nengo/issues/840#issuecomment-142994861","issue_url":"https://api.github.com/repos/nengo/nengo/issues/840","id":142994861,"user":{"login":"tbekolay","id":203709,"avatar_url":"https://avatars.githubusercontent.com/u/203709?v=3","gravatar_id":"","url":"https://api.github.com/users/tbekolay","html_url":"https://github.com/tbekolay","followers_url":"https://api.github.com/users/tbekolay/followers","following_url":"https://api.github.com/users/tbekolay/following{/other_user}","gists_url":"https://api.github.com/users/tbekolay/gists{/gist_id}","starred_url":"https://api.github.com/users/tbekolay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbekolay/subscriptions","organizations_url":"https://api.github.com/users/tbekolay/orgs","repos_url":"https://api.github.com/users/tbekolay/repos","events_url":"https://api.github.com/users/tbekolay/events{/privacy}","received_events_url":"https://api.github.com/users/tbekolay/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T17:23:38Z","updated_at":"2015-09-24T17:23:38Z","body":"+1 for option 2 also.\r\n\r\nOption 4 would have to be a `compat` style switch for Python 3+ specific things (Python 2 can't deal with unicode identifiers in many cases), so no need to do it now (might be worth making a long-term issue for Python 3 / unicode stuff)."}}