{"action":"created","issue":{"url":"https://api.github.com/repos/mikekap/unicodedata2/issues/2","labels_url":"https://api.github.com/repos/mikekap/unicodedata2/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mikekap/unicodedata2/issues/2/comments","events_url":"https://api.github.com/repos/mikekap/unicodedata2/issues/2/events","html_url":"https://github.com/mikekap/unicodedata2/issues/2","id":96540169,"number":2,"title":"Python 2.6: undefined symbol: Py_TOUPPER","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-22T11:17:25Z","updated_at":"2015-08-06T08:01:01Z","closed_at":null,"body":"unicodedata2 compiles OK on Python2.6.6, but on import it fails.\r\n\r\n```\r\n$ python2.6\r\nPython 2.6.6 (r266:84292, Jun 18 2015, 19:35:20) \r\n[GCC 4.8.3 20140911 (Red Hat 4.8.3-7)] on linux4\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import unicodedata2\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nImportError: /usr/local/lib/python2.6/site-packages/unicodedata2.so: undefined symbol: Py_TOUPPER\r\n```\r\n\r\nOn Python 2.7 it works OK."},"comment":{"url":"https://api.github.com/repos/mikekap/unicodedata2/issues/comments/128283974","html_url":"https://github.com/mikekap/unicodedata2/issues/2#issuecomment-128283974","issue_url":"https://api.github.com/repos/mikekap/unicodedata2/issues/2","id":128283974,"user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T08:01:01Z","updated_at":"2015-08-06T08:01:01Z","body":"After more testing, it appears that Py_TOUPPER was introduced in v2.7.3.\r\n\r\nThe change to unicodedata was https://hg.python.org/cpython/rev/60d80880bf88\r\n\r\nI assume that it was part of http://bugs.python.org/issue1813"}}