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
raekye has quit [Quit: The Lounge - https://thelounge.github.io]
raekye has joined #pypy
oberstet has joined #pypy
jcea has quit [Ping timeout: 260 seconds]
asmeurer has joined #pypy
asmeurer has quit [Client Quit]
<mattip> any changes needed to the release note?
<mattip> (other than to remove the pre-release message)
<mattip> arigato: could you at some point build the powerpc releases of 7.3.4 ?
<fijal> mattip: I mailed the arm folks
<mattip> fijal: +1
<fijal> mattip: does it make sense to mention vmprof & arm64 combo?
<mattip> sure, sorry I missed that
<fijal> no worries :-)
<fijal> it's not like I've done a whole lot of pypy work
<mattip> "The `vmprof` statistical profiler is now supported on ARM64 via a built-in backend." - sounds right?
<mattip> or "Support for vmprof_ has been extended to ARM64 via a built-in backend" ?
<fijal> yes
yuiza has joined #pypy
otisolsen70 has joined #pypy
otisolsen70 has quit [Quit: Leaving]
lritter has joined #pypy
<mattip> 7.3.4 is out. Could someone add it to the twitter feed?
<mattip> ahh, I guess it takes 15 minutes for the blog post to appear
<cfbolz> mattip: woooo, congratulations!!! thanks for all your work :-)
<mattip> the blog post is out https://www.pypy.org/blog/
<cfbolz> tweeted
<LarstiQ> https://www.pypy.org/posts/2021/04/pypy-v734-release-of-python-27-and-37.html in case someone adds a new post before you get a chance to read pypy.org/blog/ ;)
<cfbolz> mattip: do we document somewhere that the win64 version doesn't support cpyext yet?
<mattip> the py3.7 one does support cpyext, it is only py2.7 that does not support it
<cfbolz> mattip: ah, fair enough
<cfbolz> very cool, I thought they both don't
<mattip> truthfully, I think we could drop many of the "heavy" modules from all versions of pypy2.7: cpyext, micronumpy
<mattip> as long as cffi keeps working
<cfbolz> mattip: yeah
<cfbolz> micronumpy definitely, cpyext is probably too useful to drop ;-)
<vstinner> "We have begun streaming the advances towards this goal on Saturday evenings European time on https://www.twitch.tv/pypyproject" hehe, i saw it, cool ;)
<vstinner> "for the first time we are releasing a 64-bit Windows binary package" oh wow, that's great!
dnshane has quit [Quit: No Ping reply in 180 seconds.]
dnshane has joined #pypy
<FergusL> Hello there! It's me again about embedding pypy/cffi. I'm looking at various solutions but in your opinion what would be the closest to Py_RunString()? Wrapping a call to eval() in a exposed function that I call from the host program?
<FergusL> my approach so far for loading code dynamically has been by adding paths to sys.path and "import"ing, this needs to have a defined API though and the scoping is not the best
<FergusL> (I feel sorry for even mentioning eval() hehe...)
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
<mattip> isn't Py_RunString the same as eval?
<FergusL> true, it must be very similar
Rhy0lite has joined #pypy
<FergusL> since this is worth a few hours of intense concentration, I thought I might share this: passing function pointer from the main process to embedded pypy using cffi https://framagit.org/-/snippets/6198
<FergusL> as opposed to defining in cdef, it gives easy blind "void *"-like access to the main program which is what I need for my usecase (embedding as scripting language in another program with an API back to the main program)
<FergusL> if it sounds completely silly, I probably just have misunderstood something, which is highly likely given my skill level
Rhy0lite has quit [Quit: Leaving]
<lazka> re the C header parsing slowness, there is also https://mesonbuild.com/Unity-builds.html but not sure if that works with pypy
<cfbolz> lazka: we would do that, but the C files we produce are too huge for that
<cfbolz> FergusL: doesn't look silly to me
<fijal> I should have used GPT-3 to write release notes for pypy
* fijal tries
<cfbolz> eh
<cfbolz> "randomly reshuffling the internet"
<fijal> we invented a troll
yuiza has quit [Ping timeout: 240 seconds]
oberstet has quit [Quit: Leaving]
lritter has quit [Ping timeout: 248 seconds]
<FergusL> alight, thanks cfbolz!
commandoline has quit [Ping timeout: 268 seconds]
commandoline has joined #pypy
commandoline has joined #pypy