{"action":"created","issue":{"url":"https://api.github.com/repos/pympler/pympler/issues/22","labels_url":"https://api.github.com/repos/pympler/pympler/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/pympler/pympler/issues/22/comments","events_url":"https://api.github.com/repos/pympler/pympler/issues/22/events","html_url":"https://github.com/pympler/pympler/issues/22","id":98924087,"number":22,"title":"FAIL: test_flatsize_vs_getsizeof (asizeof.test_asizeof.AsizeofTest)","user":{"login":"jlec","id":79732,"avatar_url":"https://avatars.githubusercontent.com/u/79732?v=3","gravatar_id":"","url":"https://api.github.com/users/jlec","html_url":"https://github.com/jlec","followers_url":"https://api.github.com/users/jlec/followers","following_url":"https://api.github.com/users/jlec/following{/other_user}","gists_url":"https://api.github.com/users/jlec/gists{/gist_id}","starred_url":"https://api.github.com/users/jlec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlec/subscriptions","organizations_url":"https://api.github.com/users/jlec/orgs","repos_url":"https://api.github.com/users/jlec/repos","events_url":"https://api.github.com/users/jlec/events{/privacy}","received_events_url":"https://api.github.com/users/jlec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-04T09:09:41Z","updated_at":"2015-09-28T21:39:28Z","closed_at":null,"body":"```\r\nFAIL: test_flatsize_vs_getsizeof (asizeof.test_asizeof.AsizeofTest)\r\nTest asizeof.flatsize() vs sys.getsizeof()\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/var/tmp/portage/dev-python/pympler-0.4.2/work/Pympler-0.4.2/test/asizeof/test_asizeof.py\", line 82, in test_flatsize_vs_getsizeof\r\n    n, e = test_flatsize(failf=self._failf)  # stdf=sys.stderr)\r\n  File \"/var/tmp/portage/dev-python/pympler-0.4.2/work/Pympler-0.4.2/test/asizeof/test_asizeof.py\", line 63, in test_flatsize\r\n    a, s, asizeof._nameof(type(o)), _repr(o))\r\n  File \"/var/tmp/portage/dev-python/pympler-0.4.2/work/Pympler-0.4.2/test/asizeof/test_asizeof.py\", line 76, in _failf\r\n    self.fail(fmt % args)\r\nAssertionError: 904 vs 944 for type: <class 'weakref.KeyedRef'>\r\n\r\n----------------------------------------------------------------------\r\n```\r\n\r\nwith pympler and python2.7"},"comment":{"url":"https://api.github.com/repos/pympler/pympler/issues/comments/143881828","html_url":"https://github.com/pympler/pympler/issues/22#issuecomment-143881828","issue_url":"https://api.github.com/repos/pympler/pympler/issues/22","id":143881828,"user":{"login":"Pankrat","id":281391,"avatar_url":"https://avatars.githubusercontent.com/u/281391?v=3","gravatar_id":"","url":"https://api.github.com/users/Pankrat","html_url":"https://github.com/Pankrat","followers_url":"https://api.github.com/users/Pankrat/followers","following_url":"https://api.github.com/users/Pankrat/following{/other_user}","gists_url":"https://api.github.com/users/Pankrat/gists{/gist_id}","starred_url":"https://api.github.com/users/Pankrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pankrat/subscriptions","organizations_url":"https://api.github.com/users/Pankrat/orgs","repos_url":"https://api.github.com/users/Pankrat/repos","events_url":"https://api.github.com/users/Pankrat/events{/privacy}","received_events_url":"https://api.github.com/users/Pankrat/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T21:39:28Z","updated_at":"2015-09-28T21:39:28Z","body":"Sorry, I haven't had time to look into this yet. We first need to figure out what's the right size and then work on a fix. In any case, the fallback logic that is tested here is only used on Python 2.5 so it shouldn't keep you from using Pympler on 2.7."}}