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
<simpson> Well, no, I have two more thoughts: If he has *already manifested* the first speedup, then this would be interesting to read; we can rip off anything actually good from his first two phases, and we're currently over three phases' worth of speedup ahead of CPython. https://lobste.rs/s/5qwgri/implementation_plan_for_speeding_up#c_1rr2yv
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
_whitelogger has joined #pypy
jcea has quit [Ping timeout: 260 seconds]
asmeurer has quit [Quit: asmeurer]
mgedmin has quit [Quit: ZNC - https://wiki.znc.in/ZNC]
mgedmin has joined #pypy
<mattip> I think hotpy was already presented in 2011
<mattip> so we have had plenty of time to "rip off anything actually good" already
<mattip> (there is also https://hotpy.blogspot.com/)
<mattip> (and the code is in the bitbucket archive, search here for "markshannon" https://bitbucket-archive.softwareheritage.org/projects/ma.html)
<LarstiQ> tiered execution to get a faster interpreter before the jit kicks in might be nice
rfgpfeiffer has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
otisolsen70 has joined #pypy
rfgpfeiffer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rfgpfeiffer has joined #pypy
JStoker has quit [K-Lined]
JStoker has joined #pypy
lritter has joined #pypy
cgseifri1d has joined #pypy
cgseifri1d has quit [Client Quit]
pmp-p has quit [Quit: No Ping reply in 180 seconds.]
pmp-p has joined #pypy
jcea has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
<toad_polo> How is one supposed to install PyPy on Windows? When I download the file from pypy.org it's a zip file containing executables, and when I extract them somewhere and try to run `pypy.exe`, it complains about a missing `VCRUNTIME140.dll` file.
<toad_polo> I installed the vcredist.msi or whatever that is mentioned in the notes for the Windows download, that didn't help.
<toad_polo> I'm having an issue where `tox` is broken on Windows with PyPy 3.6.9-7.3.2 -7.3.1-final worked.: https://github.com/pganssle/zoneinfo/pull/93/checks?check_run_id=1287176999
<toad_polo> Pinning `tox` doesn't help, but weirdly none of the code implicated in the traceback has changed in years.
<mattip> I think we now use a newer runtime. Could you try the latest x86 one from
<mattip> which is
<mattip> If that works I will update the web page
otisolsen70 has quit [Quit: Leaving]
oberstet has joined #pypy
<mattip> can reproduce the tox failure. I don't yet understand which variable in the call has an invalid value
jcea has quit [Ping timeout: 260 seconds]
guiscaranse has joined #pypy
guiscaranse has quit [Remote host closed the connection]
jcea has joined #pypy
<mattip> what should os.path.exists('') produce: True or False?
<mattip> toad_polo: it turns out that is the problem with pypy7.3.2 on windows
<mattip> the correct answer is False, but somehow we changed it to True
<toad_polo> mattip: Ah, nice, sorry I was a bit away there.
<toad_polo> Having some trouble with my Windows VM and also doing CPython sprint stuff at the same time.
<mattip> so I am not sure how to fix this for tox, can you pin to 7.3.1 somehow?
<toad_polo> I think not easily.
lritter has quit [Quit: Leaving]
<toad_polo> mattip: Do you know offhand the canonical easiest way to get a reliable indicator of whether or not I'm on PyPy 7.3.2? `python --version | grep 7.3.2` or something?
<toad_polo> I'm thinking that I'll solve this problem in the short term by simply skipping the tests if I'm on a broken version of PyPy on Windows, and hopefully it can be re-enabled automatically even if I forget that I did that, when PyPy updates.
<mgorny> toad_polo: sys.pypy_version_info has what you want
otisolsen70 has joined #pypy
<mattip> the problem is caused by too many options to the path_or_fd unwrap_spec in interp_posix
wleslie has joined #pypy
<mattip> for some functions, like listdir, '' is turned into '.'
<mattip> but for stat, it should remain ''
<mattip> (it is more nuanced than that)
oberstet has quit [Remote host closed the connection]
JStoker has quit [Ping timeout: 240 seconds]
gutworth has quit [Ping timeout: 246 seconds]
gutworth has joined #pypy
JStoker has joined #pypy