<kenaan>
yodada record-exact-value 7264752cbbf9 /rpython/: ( yodada, cfbolz ) Implemented the function in rlib and add llop
<kenaan>
yodada record-exact-value 61bad9af9284 /rpython/jit/: ( yodada, cfbolz ) In progress: teach the optimizer about record_exact_value Something is still wrong.
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
kanaka has joined #pypy
kanaka has quit [Changing host]
kanaka has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
joannah has joined #pypy
marky1991 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
joannah has quit [Quit: Page closed]
realitix has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
realitix has quit [Quit: realitix]
realitix has joined #pypy
<mattip>
did we implement pep 552 (reproducible pyc files) for pypy3.6, even though it is a 3.7 feature?
<arigato>
I'd still think pypy uses a few extra opcodes
<arigato>
but maybe it can read .pyc files produced by cpython
<mattip>
so maybe the answer is "it is not suprising pypy2.7 cannot read cpython2.7 pyc, rather it is suprising pypy3.6 can"
<arigato>
but note that I'm not sure this is the question
<arigato>
I rather think he asks "if I take pypy2, then make this pypy2 produce .pyc files, then kill the .py, then why can't it import anything anymore"
<mattip>
ahh. That makes more sense
<ronan>
and the answer is that pypy2 puts the .pyc files in __pycache__/
<arigato>
the answer I guess is that pypy2 is translated with linepycfiles=false, whereas pypy3 follows cpython3 more closely
xcm has quit [Read error: Connection reset by peer]
<arigato>
ronan: ? no, not by default
realitix has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<arigato>
sorry, lonepycfiles=false
darkman6_ has quit [Remote host closed the connection]
<ronan>
hmm, I'm confused, I don't see pypy creating any pyc files
<ronan>
ah right, you need to import. python foo.py doesn't make a .pyc
realitix has joined #pypy
<ronan>
so anyway, yes, my pypy does create __pycache__/x.pypy-41.pyc when I import x
<ronan>
and also, yes, pypy2 doesn't support lone pyc files
realitix has quit [Client Quit]
realitix has joined #pypy
<ronan>
I can't find why pypy2 diverges from CPython and why pypy3 doesn't
<arigato>
ronan: I'm running a pypy2 that I compiled myself, and I confirm that it doesn't create any __pycache__ directory
realitix has quit [Read error: Connection reset by peer]
<arigato>
some linux distributions are known to change pypy2 (and cpython2) to make a __pycache__
<arigato>
the fact that the --lonepycfiles option disappeared in pypy3 is because of the importlib, which we don't want to hack with. The fact that it is present and false by default on pypy2 is because we got fed up with cpython's behaviour and considered it plainly buggy at some point
<arigato>
maybe I can document this difference in cpython-differences
<ronan>
yes, that would be a good idea
antocuni has quit [Ping timeout: 268 seconds]
<kenaan>
arigo default 570adebe6118 /pypy/doc/cpython_differences.rst: add --lonepycfiles in cpython_differences
<tos9>
arigato: oy -- does that mean pypy3 is going to not do that anymore
<tos9>
it's a super useful thing (that I've even used to sell pypy before)
<arigato>
heh
<arigato>
yes, pypy3 doesn't do that any more
<arigato>
if you want, you can look around in the importlib module (from cpython, but see lib-python/3/importlib/)
<arigato>
it was very slightly changed for pypy already
<tos9>
ah as in we're just using importlib so inheriting the behavior there now...
<tos9>
fun.
realitix has joined #pypy
adamholmberg has quit []
<arigato>
we might consider a PR that adds to both default and py3.6 an option in the __pypy__ module to enable or disable this feature, and an environment variable, if you want :-)
realitix has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 245 seconds]
* tos9
nods
oberstet has quit [Remote host closed the connection]
forgottenone has quit [Quit: Konversation terminated!]
inhahe_ has joined #pypy
inhahe has quit [Ping timeout: 255 seconds]
marky1991 has joined #pypy
realitix has joined #pypy
realitix has quit [Read error: Connection reset by peer]
darkman66 has joined #pypy
darkman66 has quit [Ping timeout: 245 seconds]
darkman66 has joined #pypy
darkman66 has quit [Remote host closed the connection]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
marky1991 has quit [Quit: Saliendo]
darkman66 has joined #pypy
fryguybob has quit [Read error: Connection reset by peer]
darkman66 has quit [Remote host closed the connection]
darkman66 has joined #pypy
darkman66 has quit [Remote host closed the connection]
darkman66 has joined #pypy
marky1991 has joined #pypy
darkman66 has quit [Remote host closed the connection]
Ai9zO5AP has quit [Quit: WeeChat 2.4]
marky1991 has quit [Ping timeout: 250 seconds]
darkman66 has joined #pypy
darkman66 has quit [Ping timeout: 255 seconds]
marky1991 has joined #pypy
darkman66 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 250 seconds]
antocuni has joined #pypy
moei has quit [Quit: Leaving...]
darkman66 has quit [Remote host closed the connection]
darkman66 has joined #pypy
adamholm_ has quit [Remote host closed the connection]