{"action":"created","issue":{"url":"https://api.github.com/repos/karimbahgat/Pyqtree/issues/12","repository_url":"https://api.github.com/repos/karimbahgat/Pyqtree","labels_url":"https://api.github.com/repos/karimbahgat/Pyqtree/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/karimbahgat/Pyqtree/issues/12/comments","events_url":"https://api.github.com/repos/karimbahgat/Pyqtree/issues/12/events","html_url":"https://github.com/karimbahgat/Pyqtree/issues/12","id":280712704,"node_id":"MDU6SXNzdWUyODA3MTI3MDQ=","number":12,"title":"Result of intersect() is a set, not a list","user":{"login":"jpatokal","id":278761,"node_id":"MDQ6VXNlcjI3ODc2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/278761?v=4","gravatar_id":"","url":"https://api.github.com/users/jpatokal","html_url":"https://github.com/jpatokal","followers_url":"https://api.github.com/users/jpatokal/followers","following_url":"https://api.github.com/users/jpatokal/following{/other_user}","gists_url":"https://api.github.com/users/jpatokal/gists{/gist_id}","starred_url":"https://api.github.com/users/jpatokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpatokal/subscriptions","organizations_url":"https://api.github.com/users/jpatokal/orgs","repos_url":"https://api.github.com/users/jpatokal/repos","events_url":"https://api.github.com/users/jpatokal/events{/privacy}","received_events_url":"https://api.github.com/users/jpatokal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-12-09T11:43:47Z","updated_at":"2018-09-13T01:18:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Per the API docs, `intersect()` returns a list; however, in reality, it returns a set.  This makes it impossible to store non-hashable types like dicts with `insert()`.\r\n\r\nI [forked the repo](https://github.com/jpatokal/Pyqtree) and changed the set to a list, which otherwise works fine, but sometimes the list contains duplicates.  I presume the set is intended as a way to work around this, but why is this happening and would it be possible to fix at the source?\r\n"},"comment":{"url":"https://api.github.com/repos/karimbahgat/Pyqtree/issues/comments/420850396","html_url":"https://github.com/karimbahgat/Pyqtree/issues/12#issuecomment-420850396","issue_url":"https://api.github.com/repos/karimbahgat/Pyqtree/issues/12","id":420850396,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDg1MDM5Ng==","user":{"login":"karimbahgat","id":6413369,"node_id":"MDQ6VXNlcjY0MTMzNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/6413369?v=4","gravatar_id":"","url":"https://api.github.com/users/karimbahgat","html_url":"https://github.com/karimbahgat","followers_url":"https://api.github.com/users/karimbahgat/followers","following_url":"https://api.github.com/users/karimbahgat/following{/other_user}","gists_url":"https://api.github.com/users/karimbahgat/gists{/gist_id}","starred_url":"https://api.github.com/users/karimbahgat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karimbahgat/subscriptions","organizations_url":"https://api.github.com/users/karimbahgat/orgs","repos_url":"https://api.github.com/users/karimbahgat/repos","events_url":"https://api.github.com/users/karimbahgat/events{/privacy}","received_events_url":"https://api.github.com/users/karimbahgat/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T01:18:29Z","updated_at":"2018-09-13T01:18:29Z","author_association":"OWNER","body":"Tested the set() of id() idea, and it only slowed it down from the original 0.01 secs, to ca 0.05, which is much much better and absolutely acceptable. Going for that for now. "}}
{"actor":{"display_login":"karimbahgat"}}