{"action":"created","issue":{"url":"https://api.github.com/repos/limist/py-moneyed/issues/66","repository_url":"https://api.github.com/repos/limist/py-moneyed","labels_url":"https://api.github.com/repos/limist/py-moneyed/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/limist/py-moneyed/issues/66/comments","events_url":"https://api.github.com/repos/limist/py-moneyed/issues/66/events","html_url":"https://github.com/limist/py-moneyed/issues/66","id":108891607,"number":66,"title":"Confusing Money.__repr__","user":{"login":"megapctr","id":4096683,"avatar_url":"https://avatars.githubusercontent.com/u/4096683?v=3","gravatar_id":"","url":"https://api.github.com/users/megapctr","html_url":"https://github.com/megapctr","followers_url":"https://api.github.com/users/megapctr/followers","following_url":"https://api.github.com/users/megapctr/following{/other_user}","gists_url":"https://api.github.com/users/megapctr/gists{/gist_id}","starred_url":"https://api.github.com/users/megapctr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megapctr/subscriptions","organizations_url":"https://api.github.com/users/megapctr/orgs","repos_url":"https://api.github.com/users/megapctr/repos","events_url":"https://api.github.com/users/megapctr/events{/privacy}","received_events_url":"https://api.github.com/users/megapctr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-29T15:13:56Z","updated_at":"2016-03-30T15:04:58Z","closed_at":null,"body":"It's odd to display a value different from the actual one. Take a look:\r\n\r\n```\r\nIn [20]: a, b\r\nOut[20]: (17 XYZ, 17 XYZ)\r\n\r\nIn [21]: a == b  # They're equal, right?\r\nOut[21]: False\r\n\r\nIn [22]: a.amount, b.amount  # Nope. Here's why:\r\nOut[22]: (Decimal('17.77'), Decimal('17.78'))\r\n```\r\n\r\nHere's the `Money.__repr__` method: https://github.com/limist/py-moneyed/blob/master/moneyed/classes.py#L80\r\nCould you explain why is it doing that?"},"comment":{"url":"https://api.github.com/repos/limist/py-moneyed/issues/comments/203479479","html_url":"https://github.com/limist/py-moneyed/issues/66#issuecomment-203479479","issue_url":"https://api.github.com/repos/limist/py-moneyed/issues/66","id":203479479,"user":{"login":"spookylukey","id":62745,"avatar_url":"https://avatars.githubusercontent.com/u/62745?v=3","gravatar_id":"","url":"https://api.github.com/users/spookylukey","html_url":"https://github.com/spookylukey","followers_url":"https://api.github.com/users/spookylukey/followers","following_url":"https://api.github.com/users/spookylukey/following{/other_user}","gists_url":"https://api.github.com/users/spookylukey/gists{/gist_id}","starred_url":"https://api.github.com/users/spookylukey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spookylukey/subscriptions","organizations_url":"https://api.github.com/users/spookylukey/orgs","repos_url":"https://api.github.com/users/spookylukey/repos","events_url":"https://api.github.com/users/spookylukey/events{/privacy}","received_events_url":"https://api.github.com/users/spookylukey/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T15:04:58Z","updated_at":"2016-03-30T15:04:58Z","body":"Sorry, I forgot about https://github.com/limist/py-moneyed/pull/67 which does implement a fix."}}