{"action":"created","issue":{"url":"https://api.github.com/repos/hynek/attrs/issues/40","repository_url":"https://api.github.com/repos/hynek/attrs","labels_url":"https://api.github.com/repos/hynek/attrs/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/hynek/attrs/issues/40/comments","events_url":"https://api.github.com/repos/hynek/attrs/issues/40/events","html_url":"https://github.com/hynek/attrs/issues/40","id":152991920,"number":40,"title":"Support passing the dict class to asdict","user":{"login":"Tinche","id":1909233,"avatar_url":"https://avatars.githubusercontent.com/u/1909233?v=3","gravatar_id":"","url":"https://api.github.com/users/Tinche","html_url":"https://github.com/Tinche","followers_url":"https://api.github.com/users/Tinche/followers","following_url":"https://api.github.com/users/Tinche/following{/other_user}","gists_url":"https://api.github.com/users/Tinche/gists{/gist_id}","starred_url":"https://api.github.com/users/Tinche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tinche/subscriptions","organizations_url":"https://api.github.com/users/Tinche/orgs","repos_url":"https://api.github.com/users/Tinche/repos","events_url":"https://api.github.com/users/Tinche/events{/privacy}","received_events_url":"https://api.github.com/users/Tinche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-04T11:45:20Z","updated_at":"2016-05-06T09:33:52Z","closed_at":null,"body":"A feature idea: attr.asdict currently turns classed into ordinary Python dicts. It'd be useful if a dict factory could be passed in (defauting to just `dict`). The main use case would be to pass in OrderedDict.\r\n\r\nI have a situation at work that this would be useful for, but we're approaching the problem from a different angle so we probably won't need it. Just thought it might be a useful feature and simple to implement. I could put together a pull request."},"comment":{"url":"https://api.github.com/repos/hynek/attrs/issues/comments/217397234","html_url":"https://github.com/hynek/attrs/issues/40#issuecomment-217397234","issue_url":"https://api.github.com/repos/hynek/attrs/issues/40","id":217397234,"user":{"login":"hynek","id":41240,"avatar_url":"https://avatars.githubusercontent.com/u/41240?v=3","gravatar_id":"","url":"https://api.github.com/users/hynek","html_url":"https://github.com/hynek","followers_url":"https://api.github.com/users/hynek/followers","following_url":"https://api.github.com/users/hynek/following{/other_user}","gists_url":"https://api.github.com/users/hynek/gists{/gist_id}","starred_url":"https://api.github.com/users/hynek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hynek/subscriptions","organizations_url":"https://api.github.com/users/hynek/orgs","repos_url":"https://api.github.com/users/hynek/repos","events_url":"https://api.github.com/users/hynek/events{/privacy}","received_events_url":"https://api.github.com/users/hynek/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T09:33:52Z","updated_at":"2016-05-06T09:33:52Z","body":"I guess it might be worth it if it doesn’t add too much complexity.  Retaining the order of the attributes sounds like a good thing."}}