{"action":"created","issue":{"url":"https://api.github.com/repos/ekampf/pymaybe/issues/3","labels_url":"https://api.github.com/repos/ekampf/pymaybe/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ekampf/pymaybe/issues/3/comments","events_url":"https://api.github.com/repos/ekampf/pymaybe/issues/3/events","html_url":"https://github.com/ekampf/pymaybe/issues/3","id":99327675,"number":3,"title":"tab completion of maybe objects hangs with IPython","user":{"login":"alecklandgraf","id":2336595,"avatar_url":"https://avatars.githubusercontent.com/u/2336595?v=3","gravatar_id":"","url":"https://api.github.com/users/alecklandgraf","html_url":"https://github.com/alecklandgraf","followers_url":"https://api.github.com/users/alecklandgraf/followers","following_url":"https://api.github.com/users/alecklandgraf/following{/other_user}","gists_url":"https://api.github.com/users/alecklandgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/alecklandgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecklandgraf/subscriptions","organizations_url":"https://api.github.com/users/alecklandgraf/orgs","repos_url":"https://api.github.com/users/alecklandgraf/repos","events_url":"https://api.github.com/users/alecklandgraf/events{/privacy}","received_events_url":"https://api.github.com/users/alecklandgraf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ekampf/pymaybe/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-06T00:33:03Z","updated_at":"2015-08-07T00:22:33Z","closed_at":null,"body":"Hitting `<tab> <tab>` on a `maybe` object seems to hang. Here's my env.\r\n\r\nOSX\r\npython 2.7.3\r\nipython 0.13.1\r\n\r\n```pycon\r\nERROR: Internal Python error in the inspect module.\r\nBelow is the traceback from this internal error.\r\nTraceback (most recent call last):\r\n  File \"/opt/boxen/data/virturalenvs/seed/lib/python2.7/site-packages/IPython/core/ultratb.py\", line 756, in structured_traceback\r\n    records = _fixed_getinnerframes(etb, context, tb_offset)\r\n  File \"/opt/boxen/data/virturalenvs/seed/lib/python2.7/site-packages/IPython/core/ultratb.py\", line 242, in _fixed_getinnerframes\r\n    records  = fix_frame_records_filenames(inspect.getinnerframes(etb, context))\r\n  File \"/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/inspect.py\", line 1043, in getinnerframes\r\n    framelist.append((tb.tb_frame,) + getframeinfo(tb, context))\r\n  File \"/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/inspect.py\", line 1007, in getframeinfo\r\n    lines, lnum = findsource(frame)\r\n  File \"/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/inspect.py\", line 532, in findsource\r\n    module = getmodule(object, file)\r\n  File \"/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/inspect.py\", line 500, in getmodule\r\n    os.path.realpath(f)] = module.__name__\r\n  File \"/opt/boxen/data/virturalenvs/seed/bin/../lib/python2.7/posixpath.py\", line 366, in realpath\r\n    if islink(component):\r\n  File \"/opt/boxen/data/virturalenvs/seed/bin/../lib/python2.7/posixpath.py\", line 133, in islink\r\n    st = os.lstat(path)\r\nKeyboardInterrupt\r\n\r\nUnfortunately, your original traceback can not be constructed.\r\n```"},"comment":{"url":"https://api.github.com/repos/ekampf/pymaybe/issues/comments/128547315","html_url":"https://github.com/ekampf/pymaybe/issues/3#issuecomment-128547315","issue_url":"https://api.github.com/repos/ekampf/pymaybe/issues/3","id":128547315,"user":{"login":"ekampf","id":205185,"avatar_url":"https://avatars.githubusercontent.com/u/205185?v=3","gravatar_id":"","url":"https://api.github.com/users/ekampf","html_url":"https://github.com/ekampf","followers_url":"https://api.github.com/users/ekampf/followers","following_url":"https://api.github.com/users/ekampf/following{/other_user}","gists_url":"https://api.github.com/users/ekampf/gists{/gist_id}","starred_url":"https://api.github.com/users/ekampf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekampf/subscriptions","organizations_url":"https://api.github.com/users/ekampf/orgs","repos_url":"https://api.github.com/users/ekampf/repos","events_url":"https://api.github.com/users/ekampf/events{/privacy}","received_events_url":"https://api.github.com/users/ekampf/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T00:22:33Z","updated_at":"2015-08-07T00:22:33Z","body":"Actually, with Python3 its not hanging:\r\n\r\n<img width=\"1126\" alt=\"screen shot 2015-08-06 at 5 21 43 pm\" src=\"https://cloud.githubusercontent.com/assets/205185/9126222/ac9b82a8-3c5f-11e5-8e5d-8b7c42ad5b5e.png\">\r\n"}}