cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
Rhy0lite has quit [Quit: This computer has gone to sleep]
lritter has quit [Ping timeout: 240 seconds]
lritter has joined #pypy
jcea has quit [Quit: jcea]
glyph has quit [Quit: End of line.]
glyph has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
forgottenone has joined #pypy
_whitelogger has joined #pypy
<mattip> arigo: could you merge latest cffi into pypy?
_whitelogger has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
otisolsen70 has joined #pypy
lritter has quit [Quit: Leaving]
otisolsen70 has quit [Client Quit]
otisolsen70 has joined #pypy
infernix has quit [Ping timeout: 244 seconds]
otisolsen70_ has joined #pypy
tsaka__ has joined #pypy
otisolsen70 has quit [Ping timeout: 240 seconds]
tsaka__ has quit [Ping timeout: 272 seconds]
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 272 seconds]
otisolsen70_ has quit [Quit: Leaving]
Cheery has quit [Ping timeout: 260 seconds]
Cheery has joined #pypy
oberstet has joined #pypy
infernix has joined #pypy
otisolsen70 has joined #pypy
tsaka__ has joined #pypy
otisolsen70 has quit [Quit: Leaving]
BPL has joined #pypy
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
tsaka__ has quit [Ping timeout: 246 seconds]
tsaka__ has joined #pypy
tsaka__ has quit [Read error: Connection reset by peer]
tsaka__ has joined #pypy
todda7 has joined #pypy
todda7 has quit [Client Quit]
todda7 has joined #pypy
tsaka__ has quit [Ping timeout: 260 seconds]
Rhy0lite has joined #pypy
infernix has joined #pypy
infernix has quit [Client Quit]
todda7 has quit [Quit: Konversation terminated!]
todda7 has joined #pypy
forgottenone has joined #pypy
Smigwell has joined #pypy
todda7 has quit [Quit: Konversation terminated!]
todda7 has joined #pypy
todda7 has quit [Ping timeout: 264 seconds]
tsaka__ has joined #pypy
infernix has joined #pypy
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
infernix has joined #pypy
tsaka__ has quit [Ping timeout: 256 seconds]
tsaka__ has joined #pypy
otisolsen70 has joined #pypy
tsaka__ has quit [Quit: Konversation terminated!]
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
<arigo> mattip: sure
marvin has quit [Remote host closed the connection]
marvin_ has joined #pypy
Rhy0lite has quit [Ping timeout: 256 seconds]
Rhy0lite has joined #pypy
infernix has joined #pypy
marvin_ has quit [Remote host closed the connection]
marvin has joined #pypy
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
infernix has joined #pypy
marvin has quit [Remote host closed the connection]
marvin has joined #pypy
Smigwell has quit [Ping timeout: 240 seconds]
jcea has joined #pypy
rubdos has quit [Ping timeout: 256 seconds]
rubdos has joined #pypy
<mattip> could it be that pypy3.6 requires a __init__.py to import a module?
<mattip> something more subtle is going on
Smigwell has joined #pypy
<nimaje> you mean a package? afaik a __init__.py is required for a package (a module would be a single .py file)
<mattip> yes, sorry. numpy has a tools directory. I cannot do pypy3 -c "from tools import openblas_support"
<mattip> even though openblas_support.py exists there
<mattip> but if I copy that directory to dummy it works
<mattip> diff -rq dummy tools returns that they are equal
<mattip> pypy3 -c "from tools import openblas_support" fails
<mattip> pypy3 -c "from dummy import openblas_support" succeeds
<tos9> mattip: pypy is finding its own tools module probably
<tos9> <module 'tools' from '/usr/local/Cellar/pypy3/7.3.1_1/libexec/lib_pypy/tools/__init__.py'>
* mattip slaps forhead
<mattip> ouch
<tumbleweed> and no, __init__.py isn't required any more these days https://docs.python.org/3/reference/import.html#namespace-packages
<mattip> interesting though, if I put one into the local tools direcrtory, then the local tools takes precedence over the lib_pypy one
asmeurer has joined #pypy
<mattip> I am going to move lib_pypy/tools -> lib_pypy/pypy_tools
<mattip> sorry for all the downstream tooling this breaks
<mattip> it was new for v7.3.1, so hopefully not too much breakage
otisolsen70_ has joined #pypy
otisolsen70 has quit [Ping timeout: 246 seconds]
<tumbleweed> Sounds sensible
otisolsen70_ has quit [Quit: Leaving]
asmeurer has quit [Quit: asmeurer]
lritter has joined #pypy
forgottenone has quit [Remote host closed the connection]
BPL has quit [Read error: Connection reset by peer]
asmeurer has joined #pypy
BPL has joined #pypy
speeder39_ has joined #pypy
<simpson> Sorry if I've asked before, but: does RPython have a preferred serialization format, so that I don't have to write my own parser? I know that I can choose whatever format I want, but this time I want to not make a choice.
<mjacob> simpson: what do you mean by "serialization format"?
BPL has quit [Quit: Leaving]
forgottenone has joined #pypy
oberstet has quit [Quit: Leaving]
dansan has quit [Read error: Connection reset by peer]
dansan has joined #pypy
<simpson> mjacob: JSON, for example. I know that JSON's available from PyPy. But maybe there's a better choice.
<mjacob> simpson: i wouldn't say that rpython has any preference. the question is whether there's something in rlib that you could already use.
<mjacob> rpython doesn't really support heterogenous data, so something like (dynamically-typed) JSON would be hard in rpython