{"action":"opened","issue":{"url":"https://api.github.com/repos/google/python-subprocess32/issues/53","repository_url":"https://api.github.com/repos/google/python-subprocess32","labels_url":"https://api.github.com/repos/google/python-subprocess32/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/google/python-subprocess32/issues/53/comments","events_url":"https://api.github.com/repos/google/python-subprocess32/issues/53/events","html_url":"https://github.com/google/python-subprocess32/issues/53","id":330553013,"node_id":"MDU6SXNzdWUzMzA1NTMwMTM=","number":53,"title":"subprocess.run is not backported to python 3.4","user":{"login":"eight04","id":1324510,"node_id":"MDQ6VXNlcjEzMjQ1MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/1324510?v=4","gravatar_id":"","url":"https://api.github.com/users/eight04","html_url":"https://github.com/eight04","followers_url":"https://api.github.com/users/eight04/followers","following_url":"https://api.github.com/users/eight04/following{/other_user}","gists_url":"https://api.github.com/users/eight04/gists{/gist_id}","starred_url":"https://api.github.com/users/eight04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eight04/subscriptions","organizations_url":"https://api.github.com/users/eight04/orgs","repos_url":"https://api.github.com/users/eight04/repos","events_url":"https://api.github.com/users/eight04/events{/privacy}","received_events_url":"https://api.github.com/users/eight04/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-08T07:43:08Z","updated_at":"2018-06-08T07:43:08Z","closed_at":null,"author_association":"NONE","body":"```\r\nPython 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (In\r\ntel)] on win32\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import subprocess32\r\n>>> subprocess32.run\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'run'\r\n>>> subprocess32.__file__\r\n'C:\\\\Program Files (x86)\\\\Python34\\\\lib\\\\subprocess.py'\r\n```\r\n*C:\\Users\\Owner\\AppData\\Roaming\\Python\\Python34\\site-packages\\subprocess32\\__init__.py*\r\n```py\r\n\"\"\"When installed as subprocess32, this sets up a redirect to subprocess.\"\"\"\r\n\r\nimport subprocess\r\nimport sys\r\nif sys.version_info[:2] < (3,3):\r\n    raise ImportError('Ancient Python 3 versions are not supported.')\r\n# Doing this could crash some older Python interpreters due to the module\r\n# reference going away before the import is complete?\r\nsys.modules['subprocess32'] = subprocess\r\n```\r\n\r\nPython 2 works fine. I guess something needs to be fixed in the build script?\r\nhttps://github.com/google/python-subprocess32/blob/035d02a242738fabfc0c4b866d3b186f981e9898/setup.py#L61-L65"}}
{"actor":{"display_login":"eight04"}}