{"action":"created","issue":{"url":"https://api.github.com/repos/aflc/editdistance/issues/4","repository_url":"https://api.github.com/repos/aflc/editdistance","labels_url":"https://api.github.com/repos/aflc/editdistance/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/aflc/editdistance/issues/4/comments","events_url":"https://api.github.com/repos/aflc/editdistance/issues/4/events","html_url":"https://github.com/aflc/editdistance/issues/4","id":135498019,"number":4,"title":"Bug with strings longer than 32 chars when compiled on windows","user":{"login":"zoharby","id":6084508,"avatar_url":"https://avatars.githubusercontent.com/u/6084508?v=3","gravatar_id":"","url":"https://api.github.com/users/zoharby","html_url":"https://github.com/zoharby","followers_url":"https://api.github.com/users/zoharby/followers","following_url":"https://api.github.com/users/zoharby/following{/other_user}","gists_url":"https://api.github.com/users/zoharby/gists{/gist_id}","starred_url":"https://api.github.com/users/zoharby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoharby/subscriptions","organizations_url":"https://api.github.com/users/zoharby/orgs","repos_url":"https://api.github.com/users/zoharby/repos","events_url":"https://api.github.com/users/zoharby/events{/privacy}","received_events_url":"https://api.github.com/users/zoharby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T18:16:37Z","updated_at":"2016-02-22T18:27:08Z","closed_at":null,"body":"I get:\r\n>>> s=\"123456789012345678901234567890123\"\r\n>>> editdistance.eval(s,s)\r\n64L\r\n\r\nI'm running on:\r\nWindows 8 64bit\r\nPython 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)] on win32\r\nCompiled with (I think):\r\nMicrosoft Visual C++ Compiler Package for Python 2.7\r\nI also have Visual Studio 2013 installed\r\n"},"comment":{"url":"https://api.github.com/repos/aflc/editdistance/issues/comments/187306457","html_url":"https://github.com/aflc/editdistance/issues/4#issuecomment-187306457","issue_url":"https://api.github.com/repos/aflc/editdistance/issues/4","id":187306457,"user":{"login":"zoharby","id":6084508,"avatar_url":"https://avatars.githubusercontent.com/u/6084508?v=3","gravatar_id":"","url":"https://api.github.com/users/zoharby","html_url":"https://github.com/zoharby","followers_url":"https://api.github.com/users/zoharby/followers","following_url":"https://api.github.com/users/zoharby/following{/other_user}","gists_url":"https://api.github.com/users/zoharby/gists{/gist_id}","starred_url":"https://api.github.com/users/zoharby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoharby/subscriptions","organizations_url":"https://api.github.com/users/zoharby/orgs","repos_url":"https://api.github.com/users/zoharby/repos","events_url":"https://api.github.com/users/zoharby/events{/privacy}","received_events_url":"https://api.github.com/users/zoharby/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T18:27:08Z","updated_at":"2016-02-22T18:27:08Z","body":"Took a look at the source code, and I'm guessing it's related to the compilation on a 32-bit python distribution since you're using bit operations on 64-bit variables. I guess one of the variables is wrongly defined as size_t instead of uint64_t"}}