{"action":"created","issue":{"url":"https://api.github.com/repos/bear/parsedatetime/issues/126","labels_url":"https://api.github.com/repos/bear/parsedatetime/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/bear/parsedatetime/issues/126/comments","events_url":"https://api.github.com/repos/bear/parsedatetime/issues/126/events","html_url":"https://github.com/bear/parsedatetime/issues/126","id":107940576,"number":126,"title":"\"Unresolved attribute reference 'parse' for class 'object'... \" in Pycharm IDE.","user":{"login":"sbonnick","id":7943864,"avatar_url":"https://avatars.githubusercontent.com/u/7943864?v=3","gravatar_id":"","url":"https://api.github.com/users/sbonnick","html_url":"https://github.com/sbonnick","followers_url":"https://api.github.com/users/sbonnick/followers","following_url":"https://api.github.com/users/sbonnick/following{/other_user}","gists_url":"https://api.github.com/users/sbonnick/gists{/gist_id}","starred_url":"https://api.github.com/users/sbonnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbonnick/subscriptions","organizations_url":"https://api.github.com/users/sbonnick/orgs","repos_url":"https://api.github.com/users/sbonnick/repos","events_url":"https://api.github.com/users/sbonnick/events{/privacy}","received_events_url":"https://api.github.com/users/sbonnick/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bear/parsedatetime/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"bear","id":1267,"avatar_url":"https://avatars.githubusercontent.com/u/1267?v=3","gravatar_id":"","url":"https://api.github.com/users/bear","html_url":"https://github.com/bear","followers_url":"https://api.github.com/users/bear/followers","following_url":"https://api.github.com/users/bear/following{/other_user}","gists_url":"https://api.github.com/users/bear/gists{/gist_id}","starred_url":"https://api.github.com/users/bear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bear/subscriptions","organizations_url":"https://api.github.com/users/bear/orgs","repos_url":"https://api.github.com/users/bear/repos","events_url":"https://api.github.com/users/bear/events{/privacy}","received_events_url":"https://api.github.com/users/bear/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-09-23T15:04:22Z","updated_at":"2015-09-26T16:13:11Z","closed_at":"2015-09-26T16:13:11Z","body":"Error:\r\n\"Unresolved attribute reference 'parse' for class 'object'... \" in Pycharm IDE.\r\n\r\nVersion:\r\nparsedatetime-1.5\r\n\r\nCode to reproduce:\r\n\r\n        from time import mktime\r\n        import parsedatetime\r\n        from datetime import datetime\r\n\r\n        cal = parsedatetime.Calendar()\r\n        time_struct, parse_status = cal.parse(\"tomorrow\")\r\n        datetime.fromtimestamp(mktime(time_struct))\r\n\r\n`cal.parse` -> cal is not being detects as class Calendar and instead as object, which of course has no definition parse. Not sure what exactly is causing this, but my guess would be due to Calendar() being embedded in the __init__.py file. \r\n\r\nI do not see this issue while importing any other python modules."},"comment":{"url":"https://api.github.com/repos/bear/parsedatetime/issues/comments/143467500","html_url":"https://github.com/bear/parsedatetime/issues/126#issuecomment-143467500","issue_url":"https://api.github.com/repos/bear/parsedatetime/issues/126","id":143467500,"user":{"login":"philiptzou","id":809865,"avatar_url":"https://avatars.githubusercontent.com/u/809865?v=3","gravatar_id":"","url":"https://api.github.com/users/philiptzou","html_url":"https://github.com/philiptzou","followers_url":"https://api.github.com/users/philiptzou/followers","following_url":"https://api.github.com/users/philiptzou/following{/other_user}","gists_url":"https://api.github.com/users/philiptzou/gists{/gist_id}","starred_url":"https://api.github.com/users/philiptzou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philiptzou/subscriptions","organizations_url":"https://api.github.com/users/philiptzou/orgs","repos_url":"https://api.github.com/users/philiptzou/repos","events_url":"https://api.github.com/users/philiptzou/events{/privacy}","received_events_url":"https://api.github.com/users/philiptzou/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T16:13:11Z","updated_at":"2015-09-26T16:13:11Z","body":"Well happy ending of this issue. See #128."}}