[protobuf] Re: Python3 Protobufs

2014-08-19 Thread Ilya Kulakov
Hi Jano, I never tried it myself and I always though it's experimental feature and not very well tested. Could you create an issue on github (https://github.com/GreatFruitOmsk/protobuf-py3/issues) ? I'm planning to down integrate all changes from current repository (they pushed a lot of

[protobuf] Re: Python3 Protobufs

2014-08-18 Thread Jano Kupec
Ilya, any ideas what's needed to make PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp work with Python3? http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/ On Thursday, April 17, 2014 5:44:05 PM UTC+2, Ilya Kulakov wrote: The project now passes tests for Python 2.4-2.7 and 3.1-3.4.

[protobuf] Re: Python3 Protobufs

2014-04-17 Thread Ilya Kulakov
The project now passes tests for Python 2.4-2.7 and 3.1-3.4. Probably for Python 3.0 as well, but it's not available for my Linux distro. https://github.com/GreatFruitOmsk/protobuf-py3/releases/tag/2.5.1-pre среда, 16 апреля 2014 г., 17:40:28 UTC+7 пользователь Ilya Kulakov написал: Repo was

[protobuf] Re: Python3 Protobufs

2014-04-16 Thread Ilya Kulakov
Repo was moved to https://github.com/GreatFruitOmsk/protobuf-py3 суббота, 12 апреля 2014 г., 16:44:44 UTC+7 пользователь Ilya Kulakov написал: Here is my attempt to port protobuf 2.5.0 to py3k based on Kirill's pathces: https://github.com/GreatFruitOmsk/python3-protobuf Binary release and

[protobuf] Re: Python3 Protobufs

2014-04-12 Thread Ilya Kulakov
Here is my attempt to port protobuf 2.5.0 to py3k based on Kirill's pathces: https://github.com/GreatFruitOmsk/python3-protobuf Binary release and the python module: https://github.com/GreatFruitOmsk/python3-protobuf/releases/tag/2.5.0 -- You received this message because you are subscribed to

[protobuf] Re: Python3 Protobufs

2014-04-12 Thread Kirill Bogdanov
On Saturday, April 12, 2014 6:05:56 AM UTC+1, Ilya Kulakov wrote: What's the purpose of all these WIN32 ifdefs? I didn't have problems compiling protobuf for windows. I was using my own project files where I was trying to avoid as many compatibility-related defines as possible. For

[protobuf] Re: Python3 Protobufs

2014-04-11 Thread Ilya Kulakov
Hi Kirill, Please post a diff. I'll apply it and make Pull Request to Charles' repo. воскресенье, 16 марта 2014 г., 3:41:20 UTC+7 пользователь Kirill Bogdanov написал: I've ported Charles Law's work to a recent protobuf (version 519). It passes tests on Win7 x86_64 with Python 3.3 and 2.7.

[protobuf] Re: Python3 Protobufs

2014-04-11 Thread Kirill Bogdanov
The diff is in my first message from Mar 15, perhaps I should simply delete the second one which I posted because the first one not appear in the thread for a few days. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from

[protobuf] Re: Python3 Protobufs

2014-04-11 Thread Ilya Kulakov
What's the purpose of all these WIN32 ifdefs? I didn't have problems compiling protobuf for windows. суббота, 12 апреля 2014 г., 8:28:29 UTC+7 пользователь Kirill Bogdanov написал: The diff is in my first message from Mar 15, perhaps I should simply delete the second one which I posted

[protobuf] Re: Python3 Protobufs

2014-03-17 Thread Kirill Bogdanov
I've ported Charles Law's work to a recent protobuf (version 519). It passes tests on Win7 x86_64 with Python 3.3 and 2.7. Could post a diff against svn checkout if you are interested. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To

[protobuf] Re: Python3 Protobufs

2013-08-22 Thread Charles Law
I'd be interested in getting this done. I do want it merged in at some point this will only make it easier. Since I did some of the translation at work I'm talking to legal about getting the contributor license agreement signed. Free time is very rare though. It might (not for sure, but

[protobuf] Re: Python3 Protobufs

2013-08-22 Thread Dale Peterson
On Thursday, August 22, 2013 2:36:07 PM UTC-7, Charles Law wrote: I'd be interested in getting this done. I do want it merged in at some point this will only make it easier. Since I did some of the translation at work I'm talking to legal about getting the contributor license agreement

[protobuf] Re: Python3 Protobufs

2013-04-22 Thread Dale Peterson
Charles, Thanks for taking the time to do this! Is it possible to make your github repo be based off of the latest svn checkout of GPB? I have used the instructions here [0] to do this for other projects where I wanted to use git but the official code was managed with svn (as in this case).

[protobuf] Re: Python3 Protobufs

2013-03-21 Thread Charles Law
I have been doing the same thing over the last week. At PyCon Barry Warsaw, Lennart Regebro, and several others held a porting from 2 to 3 clinic where I got some really great tips. They answered all the issues I thought would be hard, and I figured I should do the updates while the fixes

[protobuf] Re: Python3 Protobufs

2013-03-20 Thread Malthe Borch
I have completed this work: https://github.com/malthe/google-protobuf. – in as much as that all tests run without fail on both 2.7 and 3.3. I have used a single-source approach (which is only really feasible starting with those two for syntax compatibility reasons). Python 2.4, 2.5 and I

[protobuf] Re: Python3 Protobufs

2012-10-01 Thread Charles Law
I assumed that the type/value errors are no longer valid in Python 3, so I removed the 3 checks in reflection_test.testStringUTF8Encoding(). All unit tests now pass! On Tuesday, September 25, 2012 1:47:09 PM UTC-7, Charles Law wrote: I thought about this a little, and realized that both

[protobuf] Re: Python3 Protobufs

2012-09-25 Thread Charles Law
I thought about this a little, and realized that both unicode and str type strings are passed into fields that have cpp_type CPP_STRING and field_type TYPE_STRING. I know the 7-bit character limit is only imposed on str type strings - all the extreme value tests use unicode strings. In