{"action":"closed","issue":{"url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/74","repository_url":"https://api.github.com/repos/django-oscar/django-oscar-api","labels_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/74/comments","events_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/74/events","html_url":"https://github.com/django-oscar/django-oscar-api/issues/74","id":167691788,"number":74,"title":"Module 'itertools' has no attribute 'imap'","user":{"login":"crgwbr","id":173216,"avatar_url":"https://avatars.githubusercontent.com/u/173216?v=3","gravatar_id":"","url":"https://api.github.com/users/crgwbr","html_url":"https://github.com/crgwbr","followers_url":"https://api.github.com/users/crgwbr/followers","following_url":"https://api.github.com/users/crgwbr/following{/other_user}","gists_url":"https://api.github.com/users/crgwbr/gists{/gist_id}","starred_url":"https://api.github.com/users/crgwbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgwbr/subscriptions","organizations_url":"https://api.github.com/users/crgwbr/orgs","repos_url":"https://api.github.com/users/crgwbr/repos","events_url":"https://api.github.com/users/crgwbr/events{/privacy}","received_events_url":"https://api.github.com/users/crgwbr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/django-oscar/django-oscar-api/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"maerteijn","id":121401,"avatar_url":"https://avatars.githubusercontent.com/u/121401?v=3","gravatar_id":"","url":"https://api.github.com/users/maerteijn","html_url":"https://github.com/maerteijn","followers_url":"https://api.github.com/users/maerteijn/followers","following_url":"https://api.github.com/users/maerteijn/following{/other_user}","gists_url":"https://api.github.com/users/maerteijn/gists{/gist_id}","starred_url":"https://api.github.com/users/maerteijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maerteijn/subscriptions","organizations_url":"https://api.github.com/users/maerteijn/orgs","repos_url":"https://api.github.com/users/maerteijn/repos","events_url":"https://api.github.com/users/maerteijn/events{/privacy}","received_events_url":"https://api.github.com/users/maerteijn/received_events","type":"User","site_admin":false},"assignees":[{"login":"maerteijn","id":121401,"avatar_url":"https://avatars.githubusercontent.com/u/121401?v=3","gravatar_id":"","url":"https://api.github.com/users/maerteijn","html_url":"https://github.com/maerteijn","followers_url":"https://api.github.com/users/maerteijn/followers","following_url":"https://api.github.com/users/maerteijn/following{/other_user}","gists_url":"https://api.github.com/users/maerteijn/gists{/gist_id}","starred_url":"https://api.github.com/users/maerteijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maerteijn/subscriptions","organizations_url":"https://api.github.com/users/maerteijn/orgs","repos_url":"https://api.github.com/users/maerteijn/repos","events_url":"https://api.github.com/users/maerteijn/events{/privacy}","received_events_url":"https://api.github.com/users/maerteijn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-26T19:32:38Z","updated_at":"2016-07-27T14:20:49Z","closed_at":"2016-07-27T14:20:49Z","body":"The function `itertools.imap` was changed to just be `map` in Python 3 ([stackoverflow.com](https://stackoverflow.com/questions/30271712/i-cant-find-imap-in-itertools-in-python)). This breaks the basket list endpoint in Python 3.x.\r\n\r\n[oscarapi/views/basic.py#L58](https://github.com/django-oscar/django-oscar-api/blob/master/oscarapi/views/basic.py#L58)\r\n\r\n```\r\n    def get_queryset(self):\r\n        qs = super(BasketList, self).get_queryset()\r\n        return itertools.imap(\r\n            functools.partial(assign_basket_strategy, request=self.request),\r\n            qs)\r\n```"}}
{"actor":{"display_login":"maerteijn"}}