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
swills has quit [Ping timeout: 240 seconds]
swills has joined #pypy
swills has quit [Ping timeout: 260 seconds]
swills has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
Techcable has joined #pypy
jcea has quit [Ping timeout: 240 seconds]
forgottenone has joined #pypy
marky1991 has quit [Ping timeout: 260 seconds]
forgottenone has quit [Remote host closed the connection]
amirouche1 has left #pypy ["WeeChat 2.8"]
<mattip> using pypy instead of python3 seems to be a mixed bag when running "emerge" on gentoo
<mattip> sometimes faster, sometimes slower
<cfbolz> heh, cool
_whitelogger has joined #pypy
isidentical has joined #pypy
dmalcolm has quit [Ping timeout: 265 seconds]
mgorny has quit [Quit: No Ping reply in 60 seconds.]
mgorny has joined #pypy
dmalcolm has joined #pypy
<mgorny> mattip: it's not clear though if it depends on the data or hardware
<mgorny> might be a case of underoptimization
<cfbolz> Bit hard to investigate without having a gentoo installation, I suppose?
<fijal> so apparently we don't have a working distribution for OS X
<fijal> (which is not called OS X but I don't care)
<fijal> got glyph to test our nightly
glyph has quit [Quit: End of line.]
glyph has joined #pypy
forgottenone has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
forgottenone has quit [Ping timeout: 260 seconds]
oberstet has joined #pypy
lritter has joined #pypy
marky1991 has quit [Ping timeout: 256 seconds]
<mattip> So far we have avoided wrapping tp_finalize when creating a PyObject* from a RPython w_obj
<mattip> According to the PEP for tp_finalize, calling it is equivalent to calling obj.__del__
<mattip> is this true in PyPy as well, or should it call a finalizer instead?
Dejan has joined #pypy
Dejan has joined #pypy
<Dejan> You have probably seen this, but to those who did not: https://www.youtube.com/watch?v=hgI0p1zf31k
<mattip> Dejan: ;)
<mattip> in type instantiation, there is a check if the class has a __del__ then the typedef gets a hasuserdel flag
<mattip> then in allocate_instance, that causes a call to self.finalizer_queue.register_finalizer(instance)
<mattip> so I guess tp_del should be a NOP: our GC will clean up the instance when it does gc.collect()
jcea has joined #pypy
<cfbolz> mattip: I don't understand the cpython slots enough to usefully answer, I fear :-(
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
marky1991 has joined #pypy
<cfbolz> mattip: good find!
<mattip> I was answering a stack overflow question about multiprocessing and looked through the issues
<mattip> it turns out _pickle is important
<cfbolz> mattip: I should find out this week whether the student wants to do it. if not, I might work on it for a bit myself
<mattip> cool. it seems we should do a release soon, it would be nice to get a _pickle in if it is not too fiddly
<cfbolz> mattip: students don't work *that* quickly ;-)
<cfbolz> but indeed, if he says no we'll see
marky1991 has quit [Ping timeout: 265 seconds]
rubdos has quit [Quit: WeeChat 2.8]
isidentical has quit [Quit: isidentical]
<tos9> I don't suppose anyone knows what in the world this means: https://github.com/Julian/jsonschema/runs/1944124977?check_suite_focus=true#step:9:9
<tos9> "Unable to copy 'C:\\hostedtoolcache\\windows\\PyPy\\3.7.9\\x86\\venvlauncher.exe'"
<tos9> My googling so far just finds a CPython bug ticket mentioning that https://bugs.python.org/issue35644
<tos9> But yeah does anyone know if that indicates GHActions' PyPy is missing a file on Windows, or is that our/PyPy's issue
<tos9> (Or our/Julian's bad CI setup)
<tos9> I suppose in the normal Yak stack it can also be a tox-on-pypy-on-windows issue
<tos9> (Never mind)
Techcable has quit [Remote host closed the connection]
Techcable has joined #pypy