{"action":"created","issue":{"url":"https://api.github.com/repos/yihuang/cprotobuf/issues/9","labels_url":"https://api.github.com/repos/yihuang/cprotobuf/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/yihuang/cprotobuf/issues/9/comments","events_url":"https://api.github.com/repos/yihuang/cprotobuf/issues/9/events","html_url":"https://github.com/yihuang/cprotobuf/issues/9","id":79865046,"number":9,"title":"Python 3 support","user":{"login":"masihyeganeh","id":692335,"avatar_url":"https://avatars.githubusercontent.com/u/692335?v=3","gravatar_id":"","url":"https://api.github.com/users/masihyeganeh","html_url":"https://github.com/masihyeganeh","followers_url":"https://api.github.com/users/masihyeganeh/followers","following_url":"https://api.github.com/users/masihyeganeh/following{/other_user}","gists_url":"https://api.github.com/users/masihyeganeh/gists{/gist_id}","starred_url":"https://api.github.com/users/masihyeganeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masihyeganeh/subscriptions","organizations_url":"https://api.github.com/users/masihyeganeh/orgs","repos_url":"https://api.github.com/users/masihyeganeh/repos","events_url":"https://api.github.com/users/masihyeganeh/events{/privacy}","received_events_url":"https://api.github.com/users/masihyeganeh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-23T14:43:09Z","updated_at":"2015-11-28T07:37:24Z","closed_at":null,"body":"Are you going to make it compatible with python 3?\r\n\r\nInstall log on Mac:\r\n```\r\nCollecting cprotobuf\r\n  Using cached cprotobuf-0.1.4.tar.gz\r\nInstalling collected packages: cprotobuf\r\n  Running setup.py install for cprotobuf\r\n    Complete output from command /path/to/project/bin/python -c \"import setuptools, tokenize;__file__='/private/var/folders/s6/vy6lsvy52t10dklqxlyvxx7w0000gn/T/pycharm-packaging0.tmp/cprotobuf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /var/folders/s6/vy6lsvy52t10dklqxlyvxx7w0000gn/T/pip-8h9upbrq-record/install-record.txt --single-version-externally-managed --compile --install-headers /path/to/project/bin/../include/site/python3.4/cprotobuf:\r\n    running install\r\n    running build\r\n    running build_py\r\n    creating build\r\n    creating build/lib.macosx-10.10-x86_64-3.4\r\n    creating build/lib.macosx-10.10-x86_64-3.4/cprotobuf\r\n    copying cprotobuf/__init__.py -> build/lib.macosx-10.10-x86_64-3.4/cprotobuf\r\n    copying cprotobuf/plugin_pb.py -> build/lib.macosx-10.10-x86_64-3.4/cprotobuf\r\n    running build_ext\r\n    cythoning cprotobuf/internal.pyx to cprotobuf/internal.c\r\n    warning: cprotobuf/utils.pxi:8:4: bytearray already a builtin Cython type\r\n    building 'cprotobuf.internal' extension\r\n    creating build/temp.macosx-10.10-x86_64-3.4\r\n    creating build/temp.macosx-10.10-x86_64-3.4/cprotobuf\r\n    clang -Wno-unused-result -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/include/python3.4m -c cprotobuf/internal.c -o build/temp.macosx-10.10-x86_64-3.4/cprotobuf/internal.o\r\n    cprotobuf/internal.c:1837:18: error: no member named 'ob_size' in 'PyByteArrayObject'\r\n      __pyx_v_array->ob_size = __pyx_v_size;\r\n      ~~~~~~~~~~~~~  ^\r\n    cprotobuf/internal.c:4289:18: error: no member named 'ob_size' in 'PyByteArrayObject'\r\n      __pyx_v_array->ob_size = __pyx_v_ss;\r\n      ~~~~~~~~~~~~~  ^\r\n    cprotobuf/internal.c:4676:18: error: no member named 'ob_size' in 'PyByteArrayObject'\r\n      __pyx_v_array->ob_size = (__pyx_v_buff - __pyx_v_array->ob_bytes);\r\n      ~~~~~~~~~~~~~  ^\r\n    cprotobuf/internal.c:9604:15: warning: implicit declaration of function 'PyString_AsStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]\r\n      __pyx_t_1 = PyString_AsStringAndSize(__pyx_v_s, (&__pyx_v_buff), (&__pyx_v_size)); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 248; __pyx_clineno = __LINE__; goto __pyx_L1_error;}\r\n                  ^\r\n    1 warning and 3 errors generated.\r\n    error: command 'clang' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\n\r\n    Command \"/path/to/project/bin/python -c \"import setuptools, tokenize;__file__='/private/var/folders/s6/vy6lsvy52t10dklqxlyvxx7w0000gn/T/pycharm-packaging0.tmp/cprotobuf/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /var/folders/s6/vy6lsvy52t10dklqxlyvxx7w0000gn/T/pip-8h9upbrq-record/install-record.txt --single-version-externally-managed --compile --install-headers /path/to/project/bin/../include/site/python3.4/cprotobuf\" failed with error code 1 in /private/var/folders/s6/vy6lsvy52t10dklqxlyvxx7w0000gn/T/pycharm-packaging0.tmp/cprotobuf\r\n```"},"comment":{"url":"https://api.github.com/repos/yihuang/cprotobuf/issues/comments/160257751","html_url":"https://github.com/yihuang/cprotobuf/issues/9#issuecomment-160257751","issue_url":"https://api.github.com/repos/yihuang/cprotobuf/issues/9","id":160257751,"user":{"login":"gromakovsky","id":2556409,"avatar_url":"https://avatars.githubusercontent.com/u/2556409?v=3","gravatar_id":"","url":"https://api.github.com/users/gromakovsky","html_url":"https://github.com/gromakovsky","followers_url":"https://api.github.com/users/gromakovsky/followers","following_url":"https://api.github.com/users/gromakovsky/following{/other_user}","gists_url":"https://api.github.com/users/gromakovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/gromakovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gromakovsky/subscriptions","organizations_url":"https://api.github.com/users/gromakovsky/orgs","repos_url":"https://api.github.com/users/gromakovsky/repos","events_url":"https://api.github.com/users/gromakovsky/events{/privacy}","received_events_url":"https://api.github.com/users/gromakovsky/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T07:37:23Z","updated_at":"2015-11-28T07:37:23Z","body":"Good, thank you!"}}