{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/223","repository_url":"https://api.github.com/repos/nicolaiarocci/cerberus","labels_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/223/comments","events_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/223/events","html_url":"https://github.com/nicolaiarocci/cerberus/issues/223","id":146143619,"number":223,"title":"How do I check if an item is of the `bytes` type? Also, how do I test things are an instance of `tuple`?","user":{"login":"fake-name","id":1401239,"avatar_url":"https://avatars.githubusercontent.com/u/1401239?v=3","gravatar_id":"","url":"https://api.github.com/users/fake-name","html_url":"https://github.com/fake-name","followers_url":"https://api.github.com/users/fake-name/followers","following_url":"https://api.github.com/users/fake-name/following{/other_user}","gists_url":"https://api.github.com/users/fake-name/gists{/gist_id}","starred_url":"https://api.github.com/users/fake-name/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fake-name/subscriptions","organizations_url":"https://api.github.com/users/fake-name/orgs","repos_url":"https://api.github.com/users/fake-name/repos","events_url":"https://api.github.com/users/fake-name/events{/privacy}","received_events_url":"https://api.github.com/users/fake-name/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-05T23:59:04Z","updated_at":"2016-04-06T18:11:01Z","closed_at":"2016-04-06T13:33:38Z","body":"I'm on python 3, and I need to validate that certain objects are of `bytes` or `bytearray` type. \r\n\r\nI've tried all of the relevant type-names, and none of them appear to work. Additionally, there is apparently nothing in the documentation about either type."},"comment":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/comments/206497837","html_url":"https://github.com/nicolaiarocci/cerberus/issues/223#issuecomment-206497837","issue_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/223","id":206497837,"user":{"login":"fake-name","id":1401239,"avatar_url":"https://avatars.githubusercontent.com/u/1401239?v=3","gravatar_id":"","url":"https://api.github.com/users/fake-name","html_url":"https://github.com/fake-name","followers_url":"https://api.github.com/users/fake-name/followers","following_url":"https://api.github.com/users/fake-name/following{/other_user}","gists_url":"https://api.github.com/users/fake-name/gists{/gist_id}","starred_url":"https://api.github.com/users/fake-name/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fake-name/subscriptions","organizations_url":"https://api.github.com/users/fake-name/orgs","repos_url":"https://api.github.com/users/fake-name/repos","events_url":"https://api.github.com/users/fake-name/events{/privacy}","received_events_url":"https://api.github.com/users/fake-name/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T18:11:01Z","updated_at":"2016-04-06T18:11:01Z","body":"> no, the word tuple isn't mentioned, and there can be no exhausting list that covers all types that are sequences. that is why the doc concerning the abstract class is linked.\r\n\r\nOk, I don't disagree with that, but you should at least cover the native included types. There's a grand total of maybe 10 types in majorly common use."}}