{"action":"created","issue":{"url":"https://api.github.com/repos/GhostofGoes/get-mac/issues/7","repository_url":"https://api.github.com/repos/GhostofGoes/get-mac","labels_url":"https://api.github.com/repos/GhostofGoes/get-mac/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/GhostofGoes/get-mac/issues/7/comments","events_url":"https://api.github.com/repos/GhostofGoes/get-mac/issues/7/events","html_url":"https://github.com/GhostofGoes/get-mac/issues/7","id":348401974,"node_id":"MDU6SXNzdWUzNDg0MDE5NzQ=","number":7,"title":"get-mac returns None in Python 3.6","user":{"login":"minjin1223","id":9025539,"node_id":"MDQ6VXNlcjkwMjU1Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/9025539?v=4","gravatar_id":"","url":"https://api.github.com/users/minjin1223","html_url":"https://github.com/minjin1223","followers_url":"https://api.github.com/users/minjin1223/followers","following_url":"https://api.github.com/users/minjin1223/following{/other_user}","gists_url":"https://api.github.com/users/minjin1223/gists{/gist_id}","starred_url":"https://api.github.com/users/minjin1223/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minjin1223/subscriptions","organizations_url":"https://api.github.com/users/minjin1223/orgs","repos_url":"https://api.github.com/users/minjin1223/repos","events_url":"https://api.github.com/users/minjin1223/events{/privacy}","received_events_url":"https://api.github.com/users/minjin1223/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-07T16:44:27Z","updated_at":"2018-08-08T03:56:10Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI'm trying to integrate this get_mac_address function on my Python script, but found it returns None from Python 3.6 while it returns correct MAC address on Python 2.7 even though same script is used.\r\n\r\nI've gone through getmac.py and found that inetaddr has different value between Python 2.7 and 3.6. \r\n`def _windows_get_remote_mac_ctypes(host):`\r\n`try:`\r\n`inetaddr = ctypes.windll.wsock32.inetaddr(host))`\r\n\r\nI tried inserting the inetaddr value received from Python 2.7 on Python 3.6's getmac.py, and found that it returns MAC address.\r\nSeems like there's difference on ctypes library between Python 2.7 and 3.6. \r\nDo you have any solution to fix this issue?\r\n\r\nThanks,\r\nMinjin"},"comment":{"url":"https://api.github.com/repos/GhostofGoes/get-mac/issues/comments/411276562","html_url":"https://github.com/GhostofGoes/get-mac/issues/7#issuecomment-411276562","issue_url":"https://api.github.com/repos/GhostofGoes/get-mac/issues/7","id":411276562,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTI3NjU2Mg==","user":{"login":"GhostofGoes","id":6599820,"node_id":"MDQ6VXNlcjY1OTk4MjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6599820?v=4","gravatar_id":"","url":"https://api.github.com/users/GhostofGoes","html_url":"https://github.com/GhostofGoes","followers_url":"https://api.github.com/users/GhostofGoes/followers","following_url":"https://api.github.com/users/GhostofGoes/following{/other_user}","gists_url":"https://api.github.com/users/GhostofGoes/gists{/gist_id}","starred_url":"https://api.github.com/users/GhostofGoes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GhostofGoes/subscriptions","organizations_url":"https://api.github.com/users/GhostofGoes/orgs","repos_url":"https://api.github.com/users/GhostofGoes/repos","events_url":"https://api.github.com/users/GhostofGoes/events{/privacy}","received_events_url":"https://api.github.com/users/GhostofGoes/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T03:56:10Z","updated_at":"2018-08-08T03:56:10Z","author_association":"OWNER","body":"I was able to reproduce the issue you're having with Python 2.7.14 and 3.6.4 on Windows 10.\r\n\r\nDefinitely odd, I'll look into it when I get a chance this week."}}
{"actor":{"display_login":"GhostofGoes"}}