{"action":"closed","issue":{"url":"https://api.github.com/repos/cshtarkov/autobump/issues/5","repository_url":"https://api.github.com/repos/cshtarkov/autobump","labels_url":"https://api.github.com/repos/cshtarkov/autobump/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/cshtarkov/autobump/issues/5/comments","events_url":"https://api.github.com/repos/cshtarkov/autobump/issues/5/events","html_url":"https://github.com/cshtarkov/autobump/issues/5","id":181494147,"number":5,"title":"Python Handler: Fields in classes and modules sometimes get ignored erroneously","user":{"login":"cshtarkov","id":2294137,"avatar_url":"https://avatars.githubusercontent.com/u/2294137?v=3","gravatar_id":"","url":"https://api.github.com/users/cshtarkov","html_url":"https://github.com/cshtarkov","followers_url":"https://api.github.com/users/cshtarkov/followers","following_url":"https://api.github.com/users/cshtarkov/following{/other_user}","gists_url":"https://api.github.com/users/cshtarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/cshtarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshtarkov/subscriptions","organizations_url":"https://api.github.com/users/cshtarkov/orgs","repos_url":"https://api.github.com/users/cshtarkov/repos","events_url":"https://api.github.com/users/cshtarkov/events{/privacy}","received_events_url":"https://api.github.com/users/cshtarkov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-06T18:43:18Z","updated_at":"2016-10-07T18:52:43Z","closed_at":"2016-10-07T18:52:43Z","body":"The Python handler compares members of classes and modules with `id()`, so if multiple are assigned the same value, only one gets converted. Consider:\r\n```python\r\nclass c(object):\r\n    f1 = None\r\n    f2 = None\r\n```\r\nIf `_container_to_unit()` is called on this class, both `f1` and `f2` get ignored because there is some built-in field which also has the value `None`.\r\n"}}
{"actor":{"display_login":"cshtarkov"}}