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
adamholmberg has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
CrazyPython has joined #pypy
jvesely has quit [Quit: jvesely]
xcm has quit [Ping timeout: 276 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
rubdos has quit [Ping timeout: 250 seconds]
rubdos has joined #pypy
rubdos has quit [Ping timeout: 248 seconds]
rubdos has joined #pypy
Garen has joined #pypy
jcea has quit [Quit: jcea]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 276 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-s390x/builds/1209 [mattip: force build, release-pypy3.6-v7.x]
hotpot33 has joined #pypy
<mattip> saw this on hacker news https://news.ycombinator.com/item?id=21796016
<mattip> about better syntax errors in python, with kudos to cfbolz for PyPy
xcm has joined #pypy
dddddd has quit [Remote host closed the connection]
jvesely has joined #pypy
<cfbolz> mattip: :-)
jvesely has quit [Read error: Connection reset by peer]
jvesely_ has joined #pypy
jvesely_ is now known as jvesely
Ai9zO5AP has joined #pypy
i9zO5AP has quit [Ping timeout: 246 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
ctismer_ has joined #pypy
avakdh_ has joined #pypy
stillinbeta_ has joined #pypy
danyspin97_ has joined #pypy
samth_ has joined #pypy
petronny_ has joined #pypy
msjyoo_ has joined #pypy
DarkPlutonium has joined #pypy
holdsworth_ has joined #pypy
idnar_ has joined #pypy
dustinm- has joined #pypy
dansan_ has joined #pypy
whitewlf has joined #pypy
hotpot33_ has joined #pypy
shane has joined #pypy
Cheery_ has joined #pypy
bogner_ has joined #pypy
rjarry_ has joined #pypy
riddle has quit [Disconnected by services]
Ganwell_ has joined #pypy
riddle has joined #pypy
panni_ has joined #pypy
glyph_ has joined #pypy
Eyess has joined #pypy
commandoline_ has joined #pypy
ulope_ has joined #pypy
Kronuz_ has joined #pypy
hotpot33 has quit [*.net *.split]
Ganwell has quit [*.net *.split]
rjarry has quit [*.net *.split]
whitewolf has quit [*.net *.split]
dansan has quit [*.net *.split]
_aegis_ has quit [*.net *.split]
mattip has quit [*.net *.split]
andi- has quit [*.net *.split]
glyph has quit [*.net *.split]
msjyoo has quit [*.net *.split]
ulope has quit [*.net *.split]
ammar2 has quit [*.net *.split]
commandoline has quit [*.net *.split]
avakdh has quit [*.net *.split]
idnar has quit [*.net *.split]
stillinbeta has quit [*.net *.split]
panni__ has quit [*.net *.split]
simpson has quit [*.net *.split]
dnshane has quit [*.net *.split]
holdsworth has quit [*.net *.split]
tazle has quit [*.net *.split]
dustinm has quit [*.net *.split]
Cheery has quit [*.net *.split]
mjacob has quit [*.net *.split]
danyspin97 has quit [*.net *.split]
bogner has quit [*.net *.split]
webmeister has quit [*.net *.split]
DarkUranium has quit [*.net *.split]
Kronuz has quit [*.net *.split]
SunDwarf has quit [*.net *.split]
samth has quit [*.net *.split]
ctismer has quit [*.net *.split]
petronny has quit [*.net *.split]
mjacob_ has joined #pypy
samth_ is now known as samth
avakdh_ is now known as avakdh
ctismer_ is now known as ctismer
stillinbeta_ is now known as stillinbeta
Kronuz_ is now known as Kronuz
glyph_ is now known as glyph
msjyoo_ is now known as msjyoo
petronny_ is now known as petronny
ulope_ is now known as ulope
mattip has joined #pypy
ammar2 has joined #pypy
webmeister_ has joined #pypy
tazle has joined #pypy
simpson has joined #pypy
_aegis_ has joined #pypy
lritter has joined #pypy
andi- has joined #pypy
jvesely has quit [Ping timeout: 246 seconds]
jvesely has joined #pypy
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
hotpot33_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
idnar_ has quit []
idnar has joined #pypy
<kenaan> mattip meth_fastcall 10a5fb96ac84 /pypy/: add python3.6 version of METH_FASTCALL, only becomes official in 3.8
iko has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
<tos9> nice
adamholmberg has quit [Ping timeout: 252 seconds]
jvesely has quit [Quit: jvesely]
<cfbolz> mattip: cool :-)
<Dejan> awesome
adamholmberg has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5026 [mattip: force build, meth_fastcall]
<mattip> numpy may start using METH_FASTCALL, better safe than sorry
hotpot33 has joined #pypy
dddddd has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5026 [mattip: force build, meth_fastcall]
jcea has joined #pypy
olliemath has joined #pypy
<mattip> something is off with intmask maybe?
<mattip> hash(_numpypy.multiarray.dtype('int64')) == hash(_numpypy.multiarray.dtype('float64'))
<mattip> on linux64
<mattip> where the hash function is defined in module/micronumpy/descriptor.py in _compute_hash
<mattip> does this need to be adjusted to use r_longlong instead of intmask after 56cb51f3c081 ?
<mattip> arigato, ping ^^^
<mattip> the failing test is
dmalcolm_ has quit [Quit: Leaving]
<mattip> strangely, only on linux64 translated, on linux32 it passes
dmalcolm has joined #pypy
<mattip> and on aarch64, win32 it passes too
lritter has quit [Ping timeout: 248 seconds]
<mattip> it was failing before 56cb51f3c081, for instance in http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6653 on f5b85ca9e726
lritter has joined #pypy
<mattip> the last build that this succeeded on was http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6632, on bencher4
<mattip> so it has something to do with building on the docker image on benchmarker64
<mattip> it happens with --jit off
<mattip> and fails consistently across float16 == int16, float32==int32==complex32, float64==int64==complex64
<mattip> on older pypy linux64, the hash values are negative (and consistent across versions), on the newer, broken ones, the hash values are positive
whitewlf is now known as whitewolf
<kenaan> antocuni extradoc 48e199e316c7 /blog/draft/2019-12-hpy-sprint.rst: start a blog post about the hpy sprint
<antocuni> I started to write a blog post about the hpy sprint; it is not complete yet, but feel free to start reading/reviewing what I wrote so far
<cfbolz> mattip: that sounds pretty mysterious
jvesely has joined #pypy
<mattip> maybe I can turn the _compute_hash function into a small rpython stand-alone test
marky1991 has quit [Ping timeout: 250 seconds]
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
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<mattip> antocuni: I did a bit of editing
<antocuni> thanks
<antocuni> I am about to commit the next sections
<kenaan> antocuni extradoc 1634e069aabb /blog/draft/2019-12-hpy-sprint.rst: finish the draft
<kenaan> antocuni extradoc f70d7fc3055f /blog/draft/2019-12-hpy-sprint.rst: merge heads
<antocuni> mattip: feel free to edit more ^^^
<mattip> :)
<antocuni> arigato, ronan: I'd also like a review from you two, for obvious reasons :)
<mattip> antocuni; do you want to encourage people to get involved? It ends with "Stay tuned". Do you want contributors or people to be early adopters?
* mattip pushing a few small edits
<kenaan> mattip extradoc 128bb83a6384 /blog/draft/2019-12-hpy-sprint.rst: tweaks
<kenaan> rlamy py3.6 efd0ab3f167c /: Merged in olliemath/pypy/py3.6 (pull request #687) Py3.6
<kenaan> olliemath py3.6 513c179fed54 /lib-python/3/datetime.py: Speed up py3 datetime __add__ method.
<kenaan> olliemath py3.6 8fe5d09e905c /lib-python/3/test/datetimetester.py: Add tests for datetime normalize functions.
<kenaan> olliemath py3.6 5a886620335c /: Move normalize datetime tests to extra_tests
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
tsaka__ has quit [Read error: Connection reset by peer]
<ronan> antocuni: lgtm
olliemath has quit [Remote host closed the connection]
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
ljwobker has joined #pypy
<ljwobker> n00b here. I'm doing some work in simPy, where PyPy is about 5x faster than cPython, which is awesome. But the code also requires pathos to make multiprocessing functional, and I can't get pypy to play nice when the code uses pathos' starmap calls. Is this something that pypy would even investigate? I can provide examples of code that breaks if
<ljwobker> that would help, just unsure which tree to bark up first...
jvesely has quit [Ping timeout: 245 seconds]
jvesely has joined #pypy
<mattip> ljwobker: is it slow or is it broken?
<mattip> and what is starmap?
<ljwobker> @mattip: broken - I'm pretty sure it's related to pickle. starmap allows you to pass an iterable to each worker in a multiprocessing pool - it unpacks those arguments for you and then calls the parent process with those args
<ljwobker> reference: https://stackoverflow.com/questions/54324215/does-pathos-multiprocessing-have-starmap -- in my case I wasn't able to get the "regular" pathos map to work, I had to use starmap
<cfbolz> ljwobker: yes, we will certainly investigate that. but we'd need detailed information how to reproduce the error
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
<mattip> I wrote a stand-alone version of _compute_hash. The problem is that the result of a multiplication is not overflowing
<mattip> both 3430028579988869840 * 1000003 and 3430028579975869753 * 1000003 give 9223372036854775807
<mattip> it's some compiler bug, the docker image is using /opt/rh/devtoolset-8/root/usr/bin/gcc
<mattip> which is gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
<mattip> the 32-bit docker uses /opt/rh/devtoolset-7/root/usr/bin/gcc
<mattip> which is gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
<mattip> grr. the reason I wanted to use the "official" manylinux2010 image was to avoid all this in the first place
lritter has quit [Quit: Leaving]
CrazyPython has joined #pypy
CrazyPython has quit [Ping timeout: 248 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<mattip> yup, removing gcc8 and installing the same gcc7 as in th 32-bit image makes the problem go away
jvesely has quit [Read error: Connection reset by peer]
jvesely has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
<mattip> that may be the bug arigato found in the compiler, but maybe not. In any case I will change the image to use gcc7
jcea has quit [Remote host closed the connection]
adamholmberg has quit [Remote host closed the connection]