{"action":"created","issue":{"url":"https://api.github.com/repos/django/asgiref/issues/6","repository_url":"https://api.github.com/repos/django/asgiref","labels_url":"https://api.github.com/repos/django/asgiref/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/django/asgiref/issues/6/comments","events_url":"https://api.github.com/repos/django/asgiref/issues/6/events","html_url":"https://github.com/django/asgiref/pull/6","id":186674521,"number":6,"title":"Altert Channel.send on the inmemory layer to send a copy of the message.","user":{"login":"ostcar","id":977937,"avatar_url":"https://avatars.githubusercontent.com/u/977937?v=3","gravatar_id":"","url":"https://api.github.com/users/ostcar","html_url":"https://github.com/ostcar","followers_url":"https://api.github.com/users/ostcar/followers","following_url":"https://api.github.com/users/ostcar/following{/other_user}","gists_url":"https://api.github.com/users/ostcar/gists{/gist_id}","starred_url":"https://api.github.com/users/ostcar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ostcar/subscriptions","organizations_url":"https://api.github.com/users/ostcar/orgs","repos_url":"https://api.github.com/users/ostcar/repos","events_url":"https://api.github.com/users/ostcar/events{/privacy}","received_events_url":"https://api.github.com/users/ostcar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-01T23:21:41Z","updated_at":"2016-11-02T22:14:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/django/asgiref/pulls/6","html_url":"https://github.com/django/asgiref/pull/6","diff_url":"https://github.com/django/asgiref/pull/6.diff","patch_url":"https://github.com/django/asgiref/pull/6.patch"},"body":"The following code acts different with the inmemory layer and the redis layer\r\n\r\n```python\r\nmessage = {'foo': [1,2,3]}\r\nChannel('some_channel').send(message)\r\nmessage['foo'][0] = 'new value'\r\n```\r\nThe inmemory layer sends the object ```message ``` to the receiver and therefore the inner list as reverence. The redis layer creates a string from the message at the moment ```Channel(...).send()``` is called and therefore a copy of the message.\r\n\r\nThis pull request fixes this and both layers should work the same."},"comment":{"url":"https://api.github.com/repos/django/asgiref/issues/comments/258015922","html_url":"https://github.com/django/asgiref/pull/6#issuecomment-258015922","issue_url":"https://api.github.com/repos/django/asgiref/issues/6","id":258015922,"user":{"login":"andrewgodwin","id":36182,"avatar_url":"https://avatars.githubusercontent.com/u/36182?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewgodwin","html_url":"https://github.com/andrewgodwin","followers_url":"https://api.github.com/users/andrewgodwin/followers","following_url":"https://api.github.com/users/andrewgodwin/following{/other_user}","gists_url":"https://api.github.com/users/andrewgodwin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewgodwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewgodwin/subscriptions","organizations_url":"https://api.github.com/users/andrewgodwin/orgs","repos_url":"https://api.github.com/users/andrewgodwin/repos","events_url":"https://api.github.com/users/andrewgodwin/events{/privacy}","received_events_url":"https://api.github.com/users/andrewgodwin/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T22:14:35Z","updated_at":"2016-11-02T22:14:35Z","body":"An actual speed comparison would be what I would do, but I also don't want to pull in msgpack as a dependency just to try and solve this. If you can move the test into the conformance suite I'll pull it in with the deepcopy - I'd rather it be right than slightly faster."}}
{"actor":{"display_login":"andrewgodwin"}}