{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/8179","labels_url":"https://api.github.com/repos/sympy/sympy/issues/8179/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/8179/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/8179/events","html_url":"https://github.com/sympy/sympy/issues/8179","id":44717791,"number":8179,"title":"Implement symmetric difference for finite sets","user":{"login":"pelegm","id":3422626,"avatar_url":"https://avatars.githubusercontent.com/u/3422626?v=3","gravatar_id":"","url":"https://api.github.com/users/pelegm","html_url":"https://github.com/pelegm","followers_url":"https://api.github.com/users/pelegm/followers","following_url":"https://api.github.com/users/pelegm/following{/other_user}","gists_url":"https://api.github.com/users/pelegm/gists{/gist_id}","starred_url":"https://api.github.com/users/pelegm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelegm/subscriptions","organizations_url":"https://api.github.com/users/pelegm/orgs","repos_url":"https://api.github.com/users/pelegm/repos","events_url":"https://api.github.com/users/pelegm/events{/privacy}","received_events_url":"https://api.github.com/users/pelegm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sympy/sympy/labels/Easy+to+Fix","name":"Easy to Fix","color":"009800"},{"url":"https://api.github.com/repos/sympy/sympy/labels/Sets","name":"Sets","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-02T18:03:04Z","updated_at":"2015-01-07T15:39:58Z","closed_at":null,"body":"In python,\r\n```python\r\nset([1,2,3]) ^ set([2,3,4])  ## returns {1, 4}\r\n```\r\n\r\nWhy not in sympy as well?\r\n```python\r\nFiniteSet(1,2,3) ^ FiniteSet(2,3,4)  ## should return FiniteSet(1,4)\r\n```\r\n\r\nFor that, all we need is to write `__xor__`.\r\n\r\nI'd recommend writing a `.symmetric_difference` method, and then call it from `.__xor__`."},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/69039222","html_url":"https://github.com/sympy/sympy/issues/8179#issuecomment-69039222","issue_url":"https://api.github.com/repos/sympy/sympy/issues/8179","id":69039222,"user":{"login":"kaichogami","id":6412770,"avatar_url":"https://avatars.githubusercontent.com/u/6412770?v=3","gravatar_id":"","url":"https://api.github.com/users/kaichogami","html_url":"https://github.com/kaichogami","followers_url":"https://api.github.com/users/kaichogami/followers","following_url":"https://api.github.com/users/kaichogami/following{/other_user}","gists_url":"https://api.github.com/users/kaichogami/gists{/gist_id}","starred_url":"https://api.github.com/users/kaichogami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaichogami/subscriptions","organizations_url":"https://api.github.com/users/kaichogami/orgs","repos_url":"https://api.github.com/users/kaichogami/repos","events_url":"https://api.github.com/users/kaichogami/events{/privacy}","received_events_url":"https://api.github.com/users/kaichogami/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T15:39:57Z","updated_at":"2015-01-07T15:39:57Z","body":"I am new to SymPy and I would like to work on this starter bug to start contributing as well as to get to know about the codebase."}}