On 11/04/2013 01:36 PM, Maciej Fijalkowski wrote:
On Mon, Nov 4, 2013 at 1:29 PM, Amaury Forgeot d'Arc wrote:
2013/11/4 Maciej Fijalkowski
do we have any alternative?
Sure. _tkinter has a cffi implementation, in lib_py
On Mon, Nov 4, 2013 at 1:29 PM, Amaury Forgeot d'Arc wrote:
> 2013/11/4 Maciej Fijalkowski
>>
>> do we have any alternative?
>
>
> Sure. _tkinter has a cffi implementation, in lib_pypy since 2.1.
then yes please :)
>
>>
>>
>> On Mon, Nov 4, 2013 at 1:16 PM, Matti Picus wrote:
>> > Someone rece
2013/11/4 Maciej Fijalkowski
> do we have any alternative?
>
Sure. _tkinter has a cffi implementation, in lib_pypy since 2.1.
>
> On Mon, Nov 4, 2013 at 1:16 PM, Matti Picus wrote:
> > Someone recently tried to use this repository
> > https://bitbucket.org/pypy/tkinter
> > and failed, it woul
do we have any alternative?
On Mon, Nov 4, 2013 at 1:16 PM, Matti Picus wrote:
> Someone recently tried to use this repository
> https://bitbucket.org/pypy/tkinter
> and failed, it would seem we would be better off without it.
> May I delete it?
> Matti
>
> ___
Someone recently tried to use this repository
https://bitbucket.org/pypy/tkinter
and failed, it would seem we would be better off without it.
May I delete it?
Matti
___
pypy-dev mailing list
pypy-dev@python.org
https://
Hi,
2013/11/4 KaShining
> I use this method to enhance protobuf
> http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/
Don't.
With PyPy, protobuf are much faster with the pure-python version.
The C version is actually much slower on PyPy.
The Encode and Decode functions may look f
Hi,
Then maybe this? The .so is produced by "setup.py build" in
build/lib.linux-x86_64-2.7/podpbpypy.so. It can't be imported from
there. You need "setup.py install" too.
Armin
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/ma
NO.
I gen the .so under pypy-virtualenv.
-- Original --
From: "Armin Rigo";;
Date: Mon, Nov 4, 2013 04:25 PM
To: "KaShining";
Cc: "pypy-dev";
Subject: Re: [pypy-dev] pypy about c-extension
Hi KaShining,
You seem to be mixing CPython and PyPy. If you u
Hi KaShining,
You seem to be mixing CPython and PyPy. If you use "python setup.py",
meaning CPython, then you make a .so that cannot be imported on PyPy.
You need "pypy setup.py".
But please also consider William's comment.
Armin
___
pypy-dev mailing
-- --
??: "KaShining";;
: 2013??11??4??(??) 4:13
??: "Armin Rigo";
: "pypy-dev";
: Re: [pypy-dev] pypy about c-extension
+++
addressbook.proto
package tutorial;
message Person {
required string name = 1
+++
addressbook.proto
package tutorial;
message Person {
required string name = 1;
required int32 id = 2;
optional string email = 3;
enum PhoneType {
MOBILE = 0;
HOME = 1;
WORK = 2;
}
message PhoneNumber {
required string number = 1;
optional Phone
The blog post describes how to produce a cpython module .so for your
schema. Needless to say that is pointless on pypy.
On 04/11/2013 7:09 PM, "Armin Rigo" wrote:
> Hi,
>
> On Mon, Nov 4, 2013 at 9:04 AM, KaShining wrote:
> > import podpbpypy
> > ImportError: No module named podpbpypy
> >
> > se
Hi,
On Mon, Nov 4, 2013 at 9:04 AM, KaShining wrote:
> import podpbpypy
> ImportError: No module named podpbpypy
>
> seen can't find podpbpypy.so
There is no point repeating what you already said. I'm asking, how
did you build the .so in the first place.
Armin
import podpbpypy
ImportError: No module named podpbpypy
seen can't find podpbpypy.so
-- Original --
From: "Armin Rigo";;
Date: Mon, Nov 4, 2013 04:02 PM
To: "KaShining";
Cc: "pypy-dev";
Subject: Re: [pypy-dev] pypy about c-extension
Hi,
On Mon, Nov 4,
Hi,
On Mon, Nov 4, 2013 at 8:47 AM, KaShining wrote:
> but after i gen the podpbpypy.so
How?
Armin
___
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev
Hi,
On Mon, Nov 4, 2013 at 12:57 AM, Maciej Fijalkowski wrote:
>> If I'm implementing my own language in RPython, can I use the same garbage
>> collector that PyPy uses? Or do I have to write my own?
>
> Yes, you can use the same GC.
More precisely, you *have* to use the same GC (or possibly a d
16 matches
Mail list logo