<tos9>
ronan: what was the original reason to write a cffi implementation?
<ronan>
tos9: I don't know. Better compatibility, maybe?
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<mattip>
vstinner: thanks for trying to simplify the C API
<vstinner>
mattip: "trying" well, it's a work in progress :)
<vstinner>
mattip: i "removed" *a lot* of private functions: moved to the internal API
<vstinner>
mattip: i'm not brave, so i chose to start with the private API which is safe to modify (we don't provide an backward compatibility warranty)
<mattip>
I would think performance PRs would have some kind of benchmarking attached
<mattip>
I am sure their work is motivated by problems they see, but it would be nice to share it
<vstinner>
mattip: i requested benchmark for the new public function :)
jacob22_ has joined #pypy
jacob22 has quit [Ping timeout: 252 seconds]
jacob22_ has quit [Ping timeout: 246 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
themsay has quit [Read error: Connection reset by peer]
themsay has joined #pypy
brett-soric has joined #pypy
antocuni has quit [Ping timeout: 258 seconds]
<kenaan>
mattip setitem2d 06767d845ae4 /pypy/objspace/std/: test for 2d memoryview.__setitem__, passes with -A (issue bb-3028)
themsay has quit [Ping timeout: 245 seconds]
<mattip>
bb-3028 is bitbucket issue 3028, in the hopes that soon we will move off bitbucket to something else
themsay has joined #pypy
xcm has quit [Remote host closed the connection]
brett-soric has left #pypy [#pypy]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<LarstiQ>
vstinner: you seem to be presenting a viewpoint keeping pypy in mind in those c-api performance discussions, thank you!
themsay has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
themsay has joined #pypy
marky1991 has quit [Ping timeout: 244 seconds]
jacob22_ has quit [Ping timeout: 248 seconds]
speeder39_ has joined #pypy
<mattip>
memoryview indexing is not very advanced, multiple dimensons support only integer indexing m[2, 3] and not slices m[:, 3]
<mattip>
even on cpython 3.8
Arfrever has quit [Ping timeout: 245 seconds]
jacob22_ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<vstinner>
LarstiQ: my long term goal would be to be able the same binary on Python 3.8, Python 3.9 *and* PyPy :)
<kenaan>
mattip setitem2d 0f9d6d72dfe9 /pypy/objspace/std/: fix for for 2d memoryview.__setitem__, (issue bb-3028)
<mattip>
we would need to rethink our header generation
<mattip>
We puposefully rename the functions exported from libpypy.so to prevent reuse by c-extension modules
<mattip>
since some cpython macros are functions on pypy, PyListObject is opaque, PyDatetime is implemented in python not C, and others