{"action":"closed","issue":{"url":"https://api.github.com/repos/aimacode/aima-python/issues/61","repository_url":"https://api.github.com/repos/aimacode/aima-python","labels_url":"https://api.github.com/repos/aimacode/aima-python/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/aimacode/aima-python/issues/61/comments","events_url":"https://api.github.com/repos/aimacode/aima-python/issues/61/events","html_url":"https://github.com/aimacode/aima-python/issues/61","id":138656090,"number":61,"title":"Non-Uniform Representation of Coordinates/Points","user":{"login":"reachtarunhere","id":9061913,"avatar_url":"https://avatars.githubusercontent.com/u/9061913?v=3","gravatar_id":"","url":"https://api.github.com/users/reachtarunhere","html_url":"https://github.com/reachtarunhere","followers_url":"https://api.github.com/users/reachtarunhere/followers","following_url":"https://api.github.com/users/reachtarunhere/following{/other_user}","gists_url":"https://api.github.com/users/reachtarunhere/gists{/gist_id}","starred_url":"https://api.github.com/users/reachtarunhere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reachtarunhere/subscriptions","organizations_url":"https://api.github.com/users/reachtarunhere/orgs","repos_url":"https://api.github.com/users/reachtarunhere/repos","events_url":"https://api.github.com/users/reachtarunhere/events{/privacy}","received_events_url":"https://api.github.com/users/reachtarunhere/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-05T07:02:04Z","updated_at":"2016-03-06T02:12:22Z","closed_at":"2016-03-06T02:12:22Z","body":"Most of the code uses tuples to represent points (example: search.py). The new utils.py treats points as objects as attributes x and y and tends to use a.x,a.y for the coordinates. This can be observed in the distance function.\r\n\r\nThis was done so as to account for https://www.python.org/dev/peps/pep-3113/ which removes support for parameter unpacking in Python3. \r\n\r\n@norvig So a decision needs to be made regarding the representation of points. I feel we can use tuples but manually unpack them at the beginning of the functions. If we do this I can send a PR right away making the required changes.\r\n\r\n"}}