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
<isidentical>
I was checking out how to start hacking on pypy, but apparently I am missing a step. Is there a way of interactively working on the pypy3 core, without actually re-building everything from scratch (takes hours)?
<antocuni>
isidentical: yes, you can start ./bin/pyinteractive.py (probably you want to use -S to avoid importing site.py which is slow)
<antocuni>
however, we usually develop by running "AppTests", which are the equivalent of pyinteractive but inside a test session
<antocuni>
see e.g. pypy/objspace/std/test/test_boolobject.py
<antocuni>
and also apptest_boolobject.py
<isidentical>
Ah, thanks for the hints! Will check them out
<antocuni>
they are two different styles of writing apptests, but they are mostly the same under the hood
<cfbolz>
isidentical: yay! hi!
<cfbolz>
isidentical: we usually don't rebuild very often
<cfbolz>
mostly we write apptests
<isidentical>
hey cfbolz!
<cfbolz>
isidentical: any particular thing you're planning to hack on?
<isidentical>
I first want to check the general layout out, but after that no not really.
<isidentical>
I don't know the general workflow, but maybe I can help on some of the 3.8 features
<antocuni>
isidentical: inside pyinteractive you can also press CTRL-C to switch from applevel to interplevel. See e.g. this example sessions: http://paste.openstack.org/show/801353/
<cfbolz>
isidentical: sweet!
<cfbolz>
isidentical: a relatively simple 3.8 feature to get started might be the int.as_as_integer_ratio() method
<isidentical>
I was thinking something relevant to the parser/compiler part, maybe f-string debugging expressions?
<cfbolz>
yes, good idea too!
<cfbolz>
isidentical: did you make a heptapod account yet?
<isidentical>
I did
<cfbolz>
"isidentical"?
<isidentical>
I believe I also requested access, though this is my first time in hg
<isidentical>
so I'll just try to see how I can push after I complete some stuff
<cfbolz>
ah, didn't get the access request somehow. but I just approved you, welcome to being a pypy dev ;-)
<isidentical>
cfbolz: thanks!
lukasa has joined #pypy
<mattip>
this compile-C-once-run-anywhere project popped up in my feed
<isidentical>
Hey hey everyone! First of all, happy new years to all (there is 4 hours left, in my timezone)! What I'd like to ask is, whether it would be good or not to backport the fstring debugging expressions to the 3.7 branch (f'{x=}' syntax)? It is fully backwards compatible (since it is a new feature) and the basic implementation is proposed at MR#789.
<cfbolz>
I'd be happy with merging it (and can review the MR tomorrow)
<mattip>
maybe we should open a py3.8 branch?
<isidentical>
It might be cool, since there are also a couple of features that I can port to pypy (like typed_ast migration, so that black / mypy etc. can run [if they aren't already]