Re: [pypy-dev] Pypy3 supporting Python 3.3

2014-09-24 Thread Ram Rachum
Is this still broken? (I'm waiting for Windows binaries of Py3.3 development builds.) On Fri, Sep 19, 2014 at 11:35 AM, Matti Picus wrote: > Something is broken, I just tried to debug and wrote about it on IRC > https://botbot.me/freenode/pypy/ > It seems to be in the ffi mechanism, but I don't

Re: [pypy-dev] Pypy3 supporting Python 3.3

2014-09-24 Thread Matti Picus
Someone needs to fix this error (on py3.3 branch) NotImplementedError: On windows, os.replace() should overwrite the destination from\rlib\rposix.py", line 178, in replace On 24/09/2014 2:56 PM, Ram Rachum wrote: Is this still broken? (I'm waiting for Windows binaries of Py3.3 development buil

Re: [pypy-dev] Declaring a function that returns a string in CFFI

2014-09-24 Thread Armin Rigo
Hi, On 23 September 2014 14:54, Eleytherios Stamatogiannakis wrote: >> p = clib.getString(...)# a "char *" >> length = clib.strlen(p) # the standard strlen() function from C >> b = unicode(ffi.buffer(p, length), 'utf-8') > > I've tried that, and the overhead of the second call is more