{"action":"created","issue":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/1485","labels_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1485/labels{/name}","comments_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1485/comments","events_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1485/events","html_url":"https://github.com/tornadoweb/tornado/issues/1485","id":100815960,"number":1485,"title":"HTTPError not copyable","user":{"login":"alunduil","id":169249,"avatar_url":"https://avatars.githubusercontent.com/u/169249?v=3","gravatar_id":"","url":"https://api.github.com/users/alunduil","html_url":"https://github.com/alunduil","followers_url":"https://api.github.com/users/alunduil/followers","following_url":"https://api.github.com/users/alunduil/following{/other_user}","gists_url":"https://api.github.com/users/alunduil/gists{/gist_id}","starred_url":"https://api.github.com/users/alunduil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alunduil/subscriptions","organizations_url":"https://api.github.com/users/alunduil/orgs","repos_url":"https://api.github.com/users/alunduil/repos","events_url":"https://api.github.com/users/alunduil/events{/privacy}","received_events_url":"https://api.github.com/users/alunduil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T16:44:29Z","updated_at":"2015-08-16T23:27:57Z","closed_at":null,"body":"When attempting to make a copy (through a deepcopy of a container), the following exception is raised:\r\n\r\n```\r\nTypeError: __init__() missing 1 required positional argument: 'status_code'\r\n```\r\n\r\nPerhaps a simple __copy__ and __deepcopy__ implementation would be appropriate?  If so, let me know and I can give a pull request a stab.  If it's not appropriate, I can try to find a workaround."},"comment":{"url":"https://api.github.com/repos/tornadoweb/tornado/issues/comments/131639782","html_url":"https://github.com/tornadoweb/tornado/issues/1485#issuecomment-131639782","issue_url":"https://api.github.com/repos/tornadoweb/tornado/issues/1485","id":131639782,"user":{"login":"bdarnell","id":160562,"avatar_url":"https://avatars.githubusercontent.com/u/160562?v=3","gravatar_id":"","url":"https://api.github.com/users/bdarnell","html_url":"https://github.com/bdarnell","followers_url":"https://api.github.com/users/bdarnell/followers","following_url":"https://api.github.com/users/bdarnell/following{/other_user}","gists_url":"https://api.github.com/users/bdarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/bdarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdarnell/subscriptions","organizations_url":"https://api.github.com/users/bdarnell/orgs","repos_url":"https://api.github.com/users/bdarnell/repos","events_url":"https://api.github.com/users/bdarnell/events{/privacy}","received_events_url":"https://api.github.com/users/bdarnell/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T23:27:57Z","updated_at":"2015-08-16T23:27:57Z","body":"There seem to be some subtle and undocumented requirements that should be obeyed when subclassing Exception; I'd rather figure out what these are than add a `__copy__` method. Perhaps all we need is to call `super().__init__()` in the constructor. Does that work?"}}