cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | insert pithy quote here
stkrdknmibalz has joined #pypy
lritter has quit [Ping timeout: 260 seconds]
lritter has joined #pypy
Corbin has joined #pypy
lritter has quit [Ping timeout: 260 seconds]
otisolsen70 has joined #pypy
yuiza has joined #pypy
yuiza has quit [Quit: Leaving.]
yuiza has joined #pypy
<mattip> cfbolz: any thoughts on re.compile hitting a recursion loop https://foss.heptapod.net/pypy/pypy/-/issues/3463
<mattip> which seems to be "fixed" by backing out an unrelated change?
<cfbolz> mattip: ouch
<cfbolz> That's frustrating :-(
<cfbolz> No good immediate thoughts I fear
<cfbolz> mattip: does it happen on pypy3 as well?
<cfbolz> I am not sure how relevant ppc pypy2 is at this point
<mattip> only for translating with
fotis has joined #pypy
<cfbolz> mattip: right, that is a good point though :-(
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
fotis has joined #pypy
Atque has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
Julian has quit [Ping timeout: 260 seconds]
Julian has joined #pypy
fotis has joined #pypy
Julian has quit [Ping timeout: 260 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
ronan has quit [Ping timeout: 245 seconds]
fotis has quit [Ping timeout: 252 seconds]
ronan has joined #pypy
Julian has joined #pypy
fotis has joined #pypy
Atque has quit [Quit: ...]
Julian has quit [Ping timeout: 260 seconds]
yuiza has quit [Remote host closed the connection]
Julian has joined #pypy
fotis has quit [Ping timeout: 265 seconds]
Julian has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
fotis has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 260 seconds]
otisolsen70_ has joined #pypy
otisolsen70_ has quit [Remote host closed the connection]
Julian has joined #pypy
otisolsen70 has quit [Ping timeout: 260 seconds]
Ninpo has quit [Changing host]
Ninpo has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
Julian has quit [Ping timeout: 265 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 265 seconds]
fotis has joined #pypy
Julian has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
fotis has quit [Ping timeout: 265 seconds]
fotis has joined #pypy
greedom has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
greedom has quit [Remote host closed the connection]
<ctismer> mattip: Hi! I got quite far with PySide on PyPy.
<ctismer> mattip: There is one unclear problem: Inheritance from a PySide type breaks. It does not call the tp_new slot.
tos9_ has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
<mattip> does it never call a tp_new or does it call the wrong tp_new ?
<ctismer> I tested with a minimum example (will post it)
<ctismer> initialization of the Python part is there. But then the inherited type must be called, and this is simply missing. It then crashes, because certain setups are missing.
<ctismer> I tried to debug pypy source to find the calls, but I have to say, I'll need a compass :-D
<antocuni> ctismer: the link is broken, you need to remove the trailing slash
<ctismer> the builtin PySide classes get initialized. Pure Python classes as well. Only the inheritance does not find the Py_tp_call slot.
<ctismer> antocuni: ah, sorry. (bad idea from irccloud)
<ctismer> mattip: you can see my current instumentation here: https://codereview.qt-project.org/c/pyside/pyside-setup/+/369623
<ctismer> s/Py_tp_call/Py_tp_new/. Sorry. The __new__ slot is not called.
<mattip> the best way to debug this kind of thing is to boil it down to a minimum C code reproducer, and then run that untranslated as a cpyext/test/test_*.py test
<mattip> there is this open issue, maybe it is similar?
<ctismer> I don't think it's related. The other case is about pypy classes, only.
<ctismer> here is that mix the problem.
<ctismer> I will take your advice tomorrow, many thanks :)
marvin_ has quit [Remote host closed the connection]
marvin has joined #pypy
lazka has quit [Quit: bye]
<mattip> does pyside use pybind11?
lazka has joined #pypy
<mattip> how can I check out and run that branch of pyside-setup?
<ctismer> No, although they are looking into pybind11
<ctismer> I’ll show you, tomorrow. My wife just came home 🙋‍♀️
tos9_ has quit [Ping timeout: 265 seconds]
<ctismer> mattip: the link above should directly give you a git checkout for that branch.
<ctismer> I'm on a Mac and use SourceTree for thecking out both git and mercurial.
<ctismer> s/theck/check/
<ctismer> then I use the following command:
<ctismer> pypy3 setup.py install --debug --no-examples --limited-api=no --reuse-build --build-tests --module-subset Core,Gui,Widgets && python3 testrunner.py test > log3.log 2>&1
<ctismer> that should build the stuff in 15 minutes (or less after the initial build)
<ctismer> you need of course some libraries, this is a bit of work:
<ctismer> this is an entry point: https://pypi.org/project/PySide6/
<ctismer> This is the reference, should be quite complete: https://doc.qt.io/qtforpython/gettingstarted.html
* ctismer is away, see ya tomorrow
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 260 seconds]
Julian has joined #pypy
Julian has quit [Ping timeout: 252 seconds]
Julian has joined #pypy
<ctismer> Some path setting is needed for qt 6.2. Tomorrow
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
Julian has quit [Ping timeout: 265 seconds]
Julian has joined #pypy
stkrdknmibalz has joined #pypy