00:07
adamholmberg has quit [Remote host closed the connection]
00:21
xcm has quit [Remote host closed the connection]
00:22
xcm has joined #pypy
00:47
CrazyPython has joined #pypy
00:49
jvesely has quit [Quit: jvesely]
01:59
xcm has quit [Ping timeout: 276 seconds]
02:41
CrazyPython has quit [Read error: Connection reset by peer]
02:43
rubdos has quit [Ping timeout: 250 seconds]
02:46
rubdos has joined #pypy
03:32
rubdos has quit [Ping timeout: 248 seconds]
03:34
rubdos has joined #pypy
03:51
Garen has joined #pypy
04:19
jcea has quit [Quit: jcea]
04:19
adamholmberg has joined #pypy
04:25
adamholmberg has quit [Ping timeout: 276 seconds]
06:22
hotpot33 has joined #pypy
06:52
<
mattip >
about better syntax errors in python, with kudos to cfbolz for PyPy
06:56
xcm has joined #pypy
07:04
dddddd has quit [Remote host closed the connection]
07:12
jvesely has joined #pypy
07:16
<
cfbolz >
mattip: :-)
07:17
jvesely has quit [Read error: Connection reset by peer]
07:17
jvesely_ has joined #pypy
07:18
jvesely_ is now known as jvesely
07:47
Ai9zO5AP has joined #pypy
07:49
i9zO5AP has quit [Ping timeout: 246 seconds]
08:22
adamholmberg has joined #pypy
08:34
adamholmberg has quit [Ping timeout: 268 seconds]
09:03
ctismer_ has joined #pypy
09:03
avakdh_ has joined #pypy
09:03
stillinbeta_ has joined #pypy
09:03
danyspin97_ has joined #pypy
09:03
samth_ has joined #pypy
09:03
petronny_ has joined #pypy
09:03
msjyoo_ has joined #pypy
09:03
DarkPlutonium has joined #pypy
09:03
holdsworth_ has joined #pypy
09:03
idnar_ has joined #pypy
09:04
dustinm- has joined #pypy
09:04
dansan_ has joined #pypy
09:05
whitewlf has joined #pypy
09:05
hotpot33_ has joined #pypy
09:05
shane has joined #pypy
09:05
Cheery_ has joined #pypy
09:05
bogner_ has joined #pypy
09:06
rjarry_ has joined #pypy
09:06
riddle has quit [Disconnected by services]
09:06
Ganwell_ has joined #pypy
09:06
riddle has joined #pypy
09:09
panni_ has joined #pypy
09:09
glyph_ has joined #pypy
09:09
Eyess has joined #pypy
09:09
commandoline_ has joined #pypy
09:09
ulope_ has joined #pypy
09:10
Kronuz_ has joined #pypy
09:10
hotpot33 has quit [*.net *.split]
09:10
Ganwell has quit [*.net *.split]
09:10
rjarry has quit [*.net *.split]
09:10
whitewolf has quit [*.net *.split]
09:10
dansan has quit [*.net *.split]
09:10
_aegis_ has quit [*.net *.split]
09:10
mattip has quit [*.net *.split]
09:10
andi- has quit [*.net *.split]
09:10
glyph has quit [*.net *.split]
09:10
msjyoo has quit [*.net *.split]
09:10
ulope has quit [*.net *.split]
09:10
ammar2 has quit [*.net *.split]
09:10
commandoline has quit [*.net *.split]
09:10
avakdh has quit [*.net *.split]
09:10
idnar has quit [*.net *.split]
09:10
stillinbeta has quit [*.net *.split]
09:10
panni__ has quit [*.net *.split]
09:10
simpson has quit [*.net *.split]
09:10
dnshane has quit [*.net *.split]
09:10
holdsworth has quit [*.net *.split]
09:10
tazle has quit [*.net *.split]
09:10
dustinm has quit [*.net *.split]
09:10
Cheery has quit [*.net *.split]
09:10
mjacob has quit [*.net *.split]
09:10
danyspin97 has quit [*.net *.split]
09:10
bogner has quit [*.net *.split]
09:10
webmeister has quit [*.net *.split]
09:10
DarkUranium has quit [*.net *.split]
09:10
Kronuz has quit [*.net *.split]
09:10
SunDwarf has quit [*.net *.split]
09:10
samth has quit [*.net *.split]
09:10
ctismer has quit [*.net *.split]
09:10
petronny has quit [*.net *.split]
09:10
mjacob_ has joined #pypy
09:10
samth_ is now known as samth
09:10
avakdh_ is now known as avakdh
09:10
ctismer_ is now known as ctismer
09:10
stillinbeta_ is now known as stillinbeta
09:10
Kronuz_ is now known as Kronuz
09:10
glyph_ is now known as glyph
09:10
msjyoo_ is now known as msjyoo
09:11
petronny_ is now known as petronny
09:11
ulope_ is now known as ulope
09:11
mattip has joined #pypy
09:15
ammar2 has joined #pypy
09:15
webmeister_ has joined #pypy
09:15
tazle has joined #pypy
09:17
simpson has joined #pypy
09:17
_aegis_ has joined #pypy
09:19
lritter has joined #pypy
09:19
andi- has joined #pypy
09:48
jvesely has quit [Ping timeout: 246 seconds]
10:12
jvesely has joined #pypy
10:24
Garen has quit [Read error: Connection reset by peer]
10:26
Garen has joined #pypy
11:05
idnar has joined #pypy
12:27
<
kenaan >
mattip meth_fastcall 10a5fb96ac84 /pypy/: add python3.6 version of METH_FASTCALL, only becomes official in 3.8
12:27
iko has quit [Ping timeout: 250 seconds]
12:31
adamholmberg has joined #pypy
12:36
adamholmberg has quit [Ping timeout: 252 seconds]
12:50
jvesely has quit [Quit: jvesely]
12:51
<
cfbolz >
mattip: cool :-)
13:50
adamholmberg has joined #pypy
14:03
<
mattip >
numpy may start using METH_FASTCALL, better safe than sorry
14:03
hotpot33 has joined #pypy
14:05
dddddd has joined #pypy
14:22
jcea has joined #pypy
14:25
olliemath has joined #pypy
14:28
<
mattip >
something is off with intmask maybe?
14:28
<
mattip >
hash(_numpypy.multiarray.dtype('int64')) == hash(_numpypy.multiarray.dtype('float64'))
14:29
<
mattip >
on linux64
14:30
<
mattip >
where the hash function is defined in module/micronumpy/descriptor.py in _compute_hash
14:33
<
mattip >
does this need to be adjusted to use r_longlong instead of intmask after 56cb51f3c081 ?
14:33
<
mattip >
arigato, ping ^^^
14:34
<
mattip >
the failing test is
14:36
dmalcolm_ has quit [Quit: Leaving]
14:37
<
mattip >
strangely, only on linux64 translated, on linux32 it passes
14:37
dmalcolm has joined #pypy
14:38
<
mattip >
and on aarch64, win32 it passes too
14:39
lritter has quit [Ping timeout: 248 seconds]
14:44
lritter has joined #pypy
14:48
<
mattip >
so it has something to do with building on the docker image on benchmarker64
14:51
<
mattip >
it happens with --jit off
14:52
<
mattip >
and fails consistently across float16 == int16, float32==int32==complex32, float64==int64==complex64
15:04
<
mattip >
on older pypy linux64, the hash values are negative (and consistent across versions), on the newer, broken ones, the hash values are positive
15:13
whitewlf is now known as whitewolf
15:42
<
kenaan >
antocuni extradoc 48e199e316c7 /blog/draft/2019-12-hpy-sprint.rst: start a blog post about the hpy sprint
15:42
<
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
15:43
<
cfbolz >
mattip: that sounds pretty mysterious
16:34
jvesely has joined #pypy
17:20
<
mattip >
maybe I can turn the _compute_hash function into a small rpython stand-alone test
17:20
marky1991 has quit [Ping timeout: 250 seconds]
17:29
marky1991 has joined #pypy
17:29
marky1991 has quit [Remote host closed the connection]
17:30
marky1991 has joined #pypy
17:31
marky1991 has quit [Remote host closed the connection]
17:31
marky1991 has joined #pypy
17:33
marky1991 has quit [Remote host closed the connection]
17:34
marky1991 has joined #pypy
17:38
<
mattip >
antocuni: I did a bit of editing
17:38
<
antocuni >
I am about to commit the next sections
17:49
<
kenaan >
antocuni extradoc 1634e069aabb /blog/draft/2019-12-hpy-sprint.rst: finish the draft
17:49
<
kenaan >
antocuni extradoc f70d7fc3055f /blog/draft/2019-12-hpy-sprint.rst: merge heads
17:49
<
antocuni >
mattip: feel free to edit more ^^^
17:49
<
antocuni >
arigato, ronan: I'd also like a review from you two, for obvious reasons :)
18:07
<
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?
18:08
* mattip
pushing a few small edits
18:08
<
kenaan >
mattip extradoc 128bb83a6384 /blog/draft/2019-12-hpy-sprint.rst: tweaks
18:12
<
kenaan >
rlamy py3.6 efd0ab3f167c /: Merged in olliemath/pypy/py3.6 (pull request #687) Py3.6
18:13
<
kenaan >
olliemath py3.6 513c179fed54 /lib-python/3/datetime.py: Speed up py3 datetime
__add__ method.
18:13
<
kenaan >
olliemath py3.6 8fe5d09e905c /lib-python/3/test/datetimetester.py: Add tests for datetime normalize functions.
18:13
<
kenaan >
olliemath py3.6 5a886620335c /: Move normalize datetime tests to extra_tests
18:32
marky1991 has quit [Remote host closed the connection]
18:32
marky1991 has joined #pypy
18:36
tsaka__ has quit [Read error: Connection reset by peer]
18:51
<
ronan >
antocuni: lgtm
18:59
olliemath has quit [Remote host closed the connection]
19:10
ljwobker has joined #pypy
19:18
<
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
19:18
<
ljwobker >
that would help, just unsure which tree to bark up first...
19:26
jvesely has quit [Ping timeout: 245 seconds]
19:26
jvesely has joined #pypy
19:27
<
mattip >
ljwobker: is it slow or is it broken?
19:28
<
mattip >
and what is starmap?
19:30
<
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
20:03
<
cfbolz >
ljwobker: yes, we will certainly investigate that. but we'd need detailed information how to reproduce the error
21:16
marky1991 has quit [Remote host closed the connection]
21:18
marky1991 has joined #pypy
21:26
jvesely has quit [Quit: jvesely]
21:26
jvesely has joined #pypy
22:08
<
mattip >
I wrote a stand-alone version of _compute_hash. The problem is that the result of a multiplication is not overflowing
22:09
<
mattip >
both 3430028579988869840 * 1000003 and 3430028579975869753 * 1000003 give 9223372036854775807
22:34
<
mattip >
it's some compiler bug, the docker image is using /opt/rh/devtoolset-8/root/usr/bin/gcc
22:34
<
mattip >
which is gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
22:56
<
mattip >
the 32-bit docker uses /opt/rh/devtoolset-7/root/usr/bin/gcc
22:56
<
mattip >
which is gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
22:57
<
mattip >
grr. the reason I wanted to use the "official" manylinux2010 image was to avoid all this in the first place
22:59
lritter has quit [Quit: Leaving]
23:06
CrazyPython has joined #pypy
23:13
CrazyPython has quit [Ping timeout: 248 seconds]
23:22
marky1991 has quit [Remote host closed the connection]
23:22
marky1991 has joined #pypy
23:25
<
mattip >
yup, removing gcc8 and installing the same gcc7 as in th 32-bit image makes the problem go away
23:26
jvesely has quit [Read error: Connection reset by peer]
23:26
jvesely has joined #pypy
23:32
jcea has quit [Remote host closed the connection]
23:35
jcea has joined #pypy
23:38
<
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
23:54
jcea has quit [Remote host closed the connection]
23:58
adamholmberg has quit [Remote host closed the connection]