{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4557","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4557/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4557/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4557/events","html_url":"https://github.com/matplotlib/matplotlib/issues/4557","id":91179812,"number":4557,"title":"Problem with datetime","user":{"login":"Gurdil","id":8937083,"avatar_url":"https://avatars.githubusercontent.com/u/8937083?v=3","gravatar_id":"","url":"https://api.github.com/users/Gurdil","html_url":"https://github.com/Gurdil","followers_url":"https://api.github.com/users/Gurdil/followers","following_url":"https://api.github.com/users/Gurdil/following{/other_user}","gists_url":"https://api.github.com/users/Gurdil/gists{/gist_id}","starred_url":"https://api.github.com/users/Gurdil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gurdil/subscriptions","organizations_url":"https://api.github.com/users/Gurdil/orgs","repos_url":"https://api.github.com/users/Gurdil/repos","events_url":"https://api.github.com/users/Gurdil/events{/privacy}","received_events_url":"https://api.github.com/users/Gurdil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/needs%20confirmation","name":"needs confirmation","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/15","html_url":"https://github.com/matplotlib/matplotlib/milestones/unassigned","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/15/labels","id":719140,"number":15,"title":"unassigned","description":null,"creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":89,"closed_issues":51,"state":"open","created_at":"2014-07-12T20:04:20Z","updated_at":"2015-06-26T15:58:26Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-26T07:27:54Z","updated_at":"2015-06-26T16:03:13Z","closed_at":null,"body":"```python\r\nfrom matplotlib import pyplot as plt\r\nfrom datetime import datetime\r\n\r\ndatetime.strptime(\"Sep\", '%b')\r\n```\r\n\r\nthrow an exception :  \r\nTraceback (most recent call last):\r\n  File \"/home/workspace/python/ephemeride/t.py\", line 10, in <module>\r\n    datetime.strptime(\"Sep\", '%b')\r\n  File \"/usr/lib/python3.4/_strptime.py\", line 500, in _strptime_datetime\r\n    tt, fraction = _strptime(data_string, format)\r\n  File \"/usr/lib/python3.4/_strptime.py\", line 337, in _strptime\r\n    (data_string, format))\r\nValueError: time data 'Sep' does not match format '%b'\r\n\r\nThe exception doesn't occur if the matplotlib is not imported.\r\npython 3.4.2/Ubuntu 14.10"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/115741736","html_url":"https://github.com/matplotlib/matplotlib/issues/4557#issuecomment-115741736","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4557","id":115741736,"user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T16:03:13Z","updated_at":"2015-06-26T16:03:13Z","body":"I can not reproduce this.  \r\n\r\n```\r\ndd_3k) ✔ ~ \r\n11:57 $ python\r\nPython 3.4.3 |Continuum Analytics, Inc.| (default, Jun  4 2015, 15:29:08) \r\n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from datetime import datetime\r\n>>> datetime.strptime(\"Sep\", '%b')\r\ndatetime.datetime(1900, 9, 1, 0, 0)\r\n>>> \r\n>>> \r\n(dd_3k) ✔ ~ \r\n11:57 $ \r\n(dd_3k) ✔ ~ \r\n11:57 $ python\r\nPython 3.4.3 |Continuum Analytics, Inc.| (default, Jun  4 2015, 15:29:08) \r\n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from matplotlib import pyplot as plt\r\n>>> from datetime import datetime\r\n>>> datetime.strptime(\"Sep\", '%b')\r\ndatetime.datetime(1900, 9, 1, 0, 0)\r\n>>> \r\n```\r\n\r\nDoes \r\n\r\n```\r\n>>> import datetime\r\n>>> datetime.__file__\r\n```\r\n\r\ngive you the same result in both cases?\r\n\r\nwhat version of mpl are you using and how did you install ite?"}}