00:15
egregius313 has joined #pypy
00:16
kipras is now known as kipras`away
00:20
egregius313 has quit [Ping timeout: 272 seconds]
00:24
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:51
marr has quit [Ping timeout: 255 seconds]
01:08
<
kenaan >
rlamy py3.5 a76798b64382 /: hg merge default
01:10
aboudreault has quit [Excess Flood]
01:10
Garen_ has quit [Remote host closed the connection]
01:11
<
kenaan >
rlamy py3.5 10d7da5ff46a /pypy/interpreter/baseobjspace.py:
__wbuffer__ and
__rbuffer__ aren't used in pypy3
01:14
Tsundere_cloud has joined #pypy
01:16
aboudreault has joined #pypy
01:17
aboudreault has quit [Excess Flood]
01:18
aboudreault has joined #pypy
01:22
<
Tsundere_cloud >
Hi everyone, I was trying to compile the code below with --opt=jit, but I failed, with a [translation: ERROR], anyone can help? thanks
01:23
<
Tsundere_cloud >
oh btw, my environment is Arch Linux, with pypy from pacman, and rpython from pypy-source-code
01:24
<
simpson >
Tsundere_cloud: Can you pastebin the error?
01:24
<
Tsundere_cloud >
Sure, just a sec
01:27
<
Tsundere_cloud >
there you go, thanks
01:28
<
simpson >
Tsundere_cloud: You have unicode/str confusion, possibly while trying to use unicode/str together as dict keys?
01:30
<
simpson >
That's the best clue I have from the traceback: I think you have a dict with unicode keys and you're trying to use a str as a key.
01:32
<
simpson >
Wait, this is using Python 2 to translate, right? I assume that Python 3 would error out much sooner, but I'm not 100% sure.
01:34
<
Tsundere_cloud >
Yep, it's using Python 2 to translate, the PyPy I'm using is PyPy2
01:34
<
simpson >
Then yeah, double-check your strings.
01:36
<
Tsundere_cloud >
Ok, thanks :)
01:36
tbodt has joined #pypy
01:36
<
kenaan >
rlamy py3.5 b10bce24eb85 /lib-python/3/test/test_socket.py: update test with current pypy error messages
01:39
jcea has quit [Quit: jcea]
01:45
<
ronan >
Tsundere_cloud: There may be an issue in rpython. User errors should give an error at the annotation stage
01:47
<
Tsundere_cloud >
ronan: Okay... so if it's not the code's problem, what should I do? Change to older PyPy source code and run again ?
01:48
egregius313 has joined #pypy
01:52
<
ronan >
Tsundere_cloud: well, I can reproduce the issue, so yeah, try with an older rpython for now
01:52
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:53
egregius313 has quit [Ping timeout: 260 seconds]
01:53
<
ronan >
I guess the issue is triggered by the program not having any unicode...
02:10
lritter__ has joined #pypy
02:11
Garen has joined #pypy
02:14
lritter_ has quit [Ping timeout: 240 seconds]
02:14
egregius313 has joined #pypy
02:14
ArneBab has joined #pypy
02:19
ArneBab_ has quit [Ping timeout: 260 seconds]
02:33
egregius313 has quit [Remote host closed the connection]
02:34
egregius313 has joined #pypy
02:38
egregius313 has quit [Ping timeout: 272 seconds]
02:47
pilne has quit [Quit: Quitting!]
03:16
utkarsh has quit [Quit: No Ping reply in 180 seconds.]
03:16
utkarsh has joined #pypy
03:17
lritter__ has quit [Ping timeout: 260 seconds]
04:03
Tsundere_cloud has quit [Quit: Connection closed for inactivity]
04:36
Tsundere_cloud has joined #pypy
04:57
tilgovi has joined #pypy
05:04
egregius313 has joined #pypy
05:09
egregius313 has quit [Ping timeout: 246 seconds]
05:09
jamadden has quit [Quit: Leaving.]
05:27
inad922 has joined #pypy
05:35
rmesta has joined #pypy
05:40
rmesta has quit [Ping timeout: 255 seconds]
06:14
_whitelogger has joined #pypy
06:29
tilgovi has quit [Ping timeout: 246 seconds]
06:32
tilgovi has joined #pypy
06:36
rmesta has joined #pypy
06:38
egregius313 has joined #pypy
06:40
tilgovi has quit [Ping timeout: 240 seconds]
06:41
rmesta has quit [Ping timeout: 258 seconds]
06:42
egregius313 has quit [Ping timeout: 258 seconds]
06:46
jamadden has joined #pypy
06:46
jamadden has quit [Client Quit]
06:59
inad922 has quit [Ping timeout: 240 seconds]
07:15
arigato has joined #pypy
07:37
rmesta has joined #pypy
07:37
realitix has joined #pypy
07:41
rmesta has quit [Ping timeout: 255 seconds]
07:50
black_ant has joined #pypy
07:54
jamadden has joined #pypy
07:54
jamadden has quit [Client Quit]
07:56
Tsundere_cloud has quit [Quit: Connection closed for inactivity]
08:06
cstratak has joined #pypy
08:08
cstratak has quit [Client Quit]
08:08
cstratak has joined #pypy
08:14
oberstet has joined #pypy
08:18
cstratak has quit [Quit: Leaving]
08:20
oberstet has quit [Ping timeout: 255 seconds]
08:21
jamescampbell has joined #pypy
08:22
cstratak has joined #pypy
08:27
oberstet has joined #pypy
08:38
rmesta has joined #pypy
08:39
egregius313 has joined #pypy
08:42
rmesta has quit [Ping timeout: 240 seconds]
08:43
egregius313 has quit [Ping timeout: 240 seconds]
08:47
mihaid has joined #pypy
08:55
<
mihaid >
Hello. I am working on the issue of implementing sendmsg() / recvmsg() for sockets for PyPy3 (/issues/2527). I wanted to ask if rffi or lltype implement unsigned char as a type? I looked in both of them and I didn't find anything (only in some comments, so, maybe it's somewhere else?). I know I could also use a char type for this, but there are som
08:55
<
mihaid >
e macros defined for sendmsg & recvmsg that use unsigned char, and I wanted to follow the specifications as close to the letter as possible, to avoid eventual debug issues.
09:00
marr has joined #pypy
09:00
antocuni has joined #pypy
09:11
egregius313 has joined #pypy
09:20
egregius313 has quit [Ping timeout: 246 seconds]
09:20
egregius313 has joined #pypy
09:25
egregius313 has quit [Ping timeout: 246 seconds]
09:37
<
arigato >
mihaid: there is rffi.UCHAR
09:39
rmesta has joined #pypy
09:39
<
arigato >
note that pypy generally uses lltype.Char or rffi.CCHARP instead for what is really "buffer of bytes", even if the underlying type is "unsigned char *"
09:40
<
arigato >
by using rffi.UCHAR instead, you might run into issues, like not being able to use some rffi helper
09:41
egregius313 has joined #pypy
09:43
girish946 has joined #pypy
09:44
rmesta has quit [Ping timeout: 272 seconds]
09:49
inad922 has joined #pypy
09:50
egregius313 has quit [Read error: Connection reset by peer]
09:51
egregius313 has joined #pypy
09:55
egregius313 has quit [Ping timeout: 240 seconds]
09:56
egregius313 has joined #pypy
10:00
nimaje1 has joined #pypy
10:00
nimaje1 is now known as nimaje
10:00
nimaje has quit [Killed (moon.freenode.net (Nickname regained by services))]
10:04
egregius313 has quit [Ping timeout: 260 seconds]
10:08
jamadden has joined #pypy
10:08
<
ronan >
arigato: the issue reported by Tsundere_cloud last night seems to be caused by ConstPtrInfo.getstrhash()
10:08
jamadden has quit [Client Quit]
10:09
jamescampbell has quit [Remote host closed the connection]
10:14
<
mihaid >
arigato: thanks! I will try using a CCHARP for now, then.
10:17
antocuni has quit [Ping timeout: 240 seconds]
10:25
jamadden has joined #pypy
10:28
jamescampbell has joined #pypy
10:30
jamescampbell has quit [Remote host closed the connection]
10:38
black_ant has quit [Ping timeout: 246 seconds]
10:40
rmesta has joined #pypy
10:43
jamesaxl has joined #pypy
10:45
rmesta has quit [Ping timeout: 260 seconds]
10:47
egregius313 has joined #pypy
11:00
black_ant has joined #pypy
11:01
egregius313 has quit [Ping timeout: 255 seconds]
11:03
<
arigato >
ronan: no clue how we didn't notice the problem sooner, but I'm trying a fix
11:05
egregius313 has joined #pypy
11:10
egregius313 has quit [Ping timeout: 260 seconds]
11:11
jcea has joined #pypy
11:11
jamescampbell has joined #pypy
11:16
<
kenaan >
arigo default f7c9422b741c /rpython/rlib/objectmodel.py: No clue how this missing @specialize was not noticed earlier.
11:16
<
arigato >
ronan: fixed
11:19
<
ronan >
arigato: heh, I could have done that myself actually - but I still have no clue how it could possibly have worked before
11:20
<
arigato >
inside pypy, it works because of rsiphash.py
11:21
<
arigato >
but I'm surprized there is (maybe) no other test using both strings and unicodes
11:27
egregius313 has joined #pypy
11:29
arigato has quit [Quit: Leaving]
11:36
egregius313 has quit [Ping timeout: 260 seconds]
11:41
egregius313 has joined #pypy
11:41
rmesta has joined #pypy
11:45
egregius313 has quit [Ping timeout: 240 seconds]
11:45
rmesta has quit [Ping timeout: 245 seconds]
11:46
egregius313 has joined #pypy
11:50
egregius_ has joined #pypy
11:50
egregius313 has quit [Ping timeout: 260 seconds]
12:03
egregius_ has quit [Ping timeout: 246 seconds]
12:04
egregius313 has joined #pypy
12:09
mattip has joined #pypy
12:13
antocuni has joined #pypy
12:13
egregius313 has quit [Ping timeout: 240 seconds]
12:18
egregius313 has joined #pypy
12:21
<
cfbolz >
ronan, arigato: thanks, I noticed a similar issue recently actually, but didn't track it down
12:28
egregius313 has quit [Ping timeout: 272 seconds]
12:28
egregius313 has joined #pypy
12:41
rmesta has joined #pypy
12:42
egregius313 has quit [Ping timeout: 255 seconds]
12:42
egregius313 has joined #pypy
12:46
rmesta has quit [Ping timeout: 255 seconds]
12:47
egregius313 has quit [Read error: Connection reset by peer]
12:47
egregius313 has joined #pypy
13:03
egregius313 has quit [Read error: Connection timed out]
13:04
rmesta has joined #pypy
13:04
rmesta has left #pypy [#pypy]
13:14
oberstet has quit [Ping timeout: 255 seconds]
13:20
girish946 has quit [Quit: Leaving]
13:21
yuyichao has quit [Ping timeout: 246 seconds]
13:22
egregius313 has joined #pypy
13:30
egregius313 has quit [Ping timeout: 240 seconds]
13:32
egregius313 has joined #pypy
13:38
jcea1 has joined #pypy
13:38
jcea has quit [Read error: Connection reset by peer]
13:38
jcea1 is now known as jcea
13:42
egregius313 has quit [Ping timeout: 258 seconds]
13:45
<
mattip >
here's a fun one, given A = np.char.array(['abc']); B = np.char.array([u'\u03a3'])
13:46
<
mattip >
A + B calls into string_concat on CPython and bytesobject.descr_add() on PyPy, but then
13:46
<
mattip >
somehow gets back to calling a numpy ufunc to do the addition on PyPy
13:47
<
mattip >
I think it is because w_str.descr_add(space, w_unicodelike) will call
13:48
<
mattip >
space.add(w_str_as_unicode, w_unicodelike), which goes and looks up the proper function via descropperation.binop_impl()
13:49
<
mattip >
I am trying out calling directly w_str_as_unicode.descr_add(space, w_unicodelike), which saves the lookup
13:49
<
mattip >
hopefully that seems reasonable
13:50
<
mattip >
it passes own tests, with one added for this codepath
14:03
egregius313 has joined #pypy
14:07
<
mattip >
on another topic, it seems our commit frequency to rpython is quite slow, and yet we run
14:07
<
mattip >
own tests on it each night
14:08
<
mattip >
there is a onlyIfChanged flag, which we should definitely turn on
14:09
<
mattip >
I wonder if we can modify the test for that flag to only run rpython own tests if the rpython side of things changes
14:12
<
antocuni >
or maybe we could think again whether to split the pypy and rpython repos?
14:12
egregius313 has quit [Ping timeout: 246 seconds]
14:12
egregius313 has joined #pypy
14:15
arigato has joined #pypy
14:17
egregius313 has quit [Ping timeout: 260 seconds]
14:19
jamescampbell has quit [Quit: Leaving...]
14:24
oberstet has joined #pypy
14:29
lritter__ has joined #pypy
14:33
egregius313 has joined #pypy
14:43
egregius313 has quit [Ping timeout: 272 seconds]
14:47
egregius313 has joined #pypy
14:50
arigato has quit [Ping timeout: 260 seconds]
14:51
<
mattip >
antocuni: splitting the repos would be the "best", I am looking for a "good enough"
14:51
<
mattip >
to save buildbot time
14:54
<
LarstiQ >
mattip: sounds sensible to me
14:55
<
mattip >
although, now that cloning time is much better for hg, maybe it makes sense to simply split the repos
14:55
<
mattip >
without purging history
14:55
<
LarstiQ >
couldn't that be done as a first step anyway?
14:55
<
mattip >
or just purging the stdlib branches from the rpython repo which might give us most of the cleanup
15:01
egregius313 has quit [Ping timeout: 246 seconds]
15:01
<
kenaan >
mattip cpyext-unhashable 46815e12a7df /pypy/objspace/std/: more places to ensure cpyext hashing an empty string-like does not return -1
15:02
<
kenaan >
mattip default fb4031e88779 /pypy/objspace/std/: more places to convert hash value -1 to -2, see comments to issue #2346
15:02
<
kenaan >
mattip default 7328ebef4d73 /pypy/objspace/std/: do not go through descroperation.binop_impl again, call descr_add directly
15:02
<
kenaan >
mattip cpyext-unhashable 3071469e3277 /: close exploratory branch
15:02
<
mattip >
after these commits, 8 more numpy test failures
15:04
egregius313 has joined #pypy
15:06
yuyichao has joined #pypy
15:07
black_ant has quit [Ping timeout: 240 seconds]
15:08
egregius313 has quit [Ping timeout: 240 seconds]
15:09
egregius313 has joined #pypy
15:18
egregius313 has quit [Ping timeout: 260 seconds]
15:20
inad922 has quit [Ping timeout: 240 seconds]
15:39
egregius313 has joined #pypy
15:44
egregius313 has quit [Ping timeout: 272 seconds]
15:48
egregius313 has joined #pypy
15:52
egregius313 has quit [Ping timeout: 255 seconds]
15:52
mattip has left #pypy [#pypy]
15:57
antocuni has quit [Ping timeout: 268 seconds]
16:09
egregius313 has joined #pypy
16:12
arigato has joined #pypy
16:13
egregius313 has quit [Ping timeout: 246 seconds]
16:14
egregius313 has joined #pypy
16:19
egregius_ has joined #pypy
16:19
egregius313 has quit [Ping timeout: 260 seconds]
16:27
arigato has quit [Read error: Connection reset by peer]
16:28
egregius_ has quit [Ping timeout: 240 seconds]
16:28
realitix has quit [Quit: Leaving]
16:28
egregius313 has joined #pypy
16:29
<
cfbolz >
mattip: running the tests only if files changed sounds sensible
16:33
egregius313 has quit [Ping timeout: 272 seconds]
16:49
egregius313 has joined #pypy
16:58
egregius313 has quit [Ping timeout: 246 seconds]
17:06
MetaMutt has joined #pypy
17:09
jcea has quit [Quit: jcea]
17:15
egregius313 has joined #pypy
17:24
egregius313 has quit [Ping timeout: 240 seconds]
17:29
egregius313 has joined #pypy
17:38
egregius313 has quit [Ping timeout: 240 seconds]
17:39
egregius313 has joined #pypy
17:43
egregius313 has quit [Ping timeout: 268 seconds]
17:43
egregius313 has joined #pypy
17:48
egregius_ has joined #pypy
17:52
egregius313 has quit [Ping timeout: 258 seconds]
17:52
egregius_ has quit [Ping timeout: 240 seconds]
17:58
egregius313 has joined #pypy
18:02
egregius313 has quit [Ping timeout: 246 seconds]
18:07
kushal has quit [Ping timeout: 255 seconds]
18:10
kushal- has joined #pypy
18:18
egregius313 has joined #pypy
18:23
black_ant has joined #pypy
18:28
egregius313 has quit [Ping timeout: 240 seconds]
18:28
egregius313 has joined #pypy
18:34
jcea has joined #pypy
18:36
cstratak has quit [Quit: Leaving]
18:38
egregius_ has joined #pypy
18:42
egregius313 has quit [Ping timeout: 260 seconds]
18:42
egregius_ has quit [Ping timeout: 260 seconds]
19:00
pilne has joined #pypy
19:03
egregius313 has joined #pypy
19:12
egregius313 has quit [Ping timeout: 260 seconds]
19:29
egregius313 has joined #pypy
19:38
egregius313 has quit [Ping timeout: 260 seconds]
19:39
egregius313 has joined #pypy
19:43
egregius313 has quit [Read error: Connection reset by peer]
19:44
egregius313 has joined #pypy
19:52
egregius313 has quit [Ping timeout: 240 seconds]
19:53
egregius313 has joined #pypy
20:01
dan- has quit [Ping timeout: 258 seconds]
20:07
egregius313 has quit [Ping timeout: 260 seconds]
20:12
egregius313 has joined #pypy
20:13
dan- has joined #pypy
20:13
dan- has joined #pypy
20:13
dan- has quit [Changing host]
20:18
egregius313 has quit [Ping timeout: 240 seconds]
20:40
black_ant has quit [Ping timeout: 240 seconds]
20:41
egregius313 has joined #pypy
20:47
black_ant has joined #pypy
20:50
egregius313 has quit [Read error: Connection reset by peer]
20:50
egregius313 has joined #pypy
20:52
tbodt has joined #pypy
20:59
egregius313 has quit [Ping timeout: 240 seconds]
20:59
tbodt has quit [Ping timeout: 246 seconds]
21:04
tbodt has joined #pypy
21:13
tbodt has quit [Ping timeout: 260 seconds]
21:16
egregius313 has joined #pypy
21:21
egregius313 has quit [Ping timeout: 246 seconds]
21:25
egregius313 has joined #pypy
21:26
marky1991 has quit [Ping timeout: 260 seconds]
21:27
tbodt has joined #pypy
21:30
egregius313 has quit [Ping timeout: 246 seconds]
21:30
egregius313 has joined #pypy
21:39
egregius313 has quit [Ping timeout: 246 seconds]
21:40
egregius313 has joined #pypy
21:45
egregius313 has quit [Ping timeout: 246 seconds]
21:46
black_ant has quit [Ping timeout: 240 seconds]
21:48
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:52
tbodt has joined #pypy
22:00
egregius313 has joined #pypy
22:01
kipras`away is now known as kipras
22:09
yuyichao has quit [Ping timeout: 246 seconds]
22:09
tbodt has quit [Read error: Connection reset by peer]
22:09
tbodt has joined #pypy
22:09
yuyichao has joined #pypy
22:13
egregius313 has quit [Ping timeout: 255 seconds]
22:14
egregius313 has joined #pypy
22:18
tbodt has quit [Read error: Connection reset by peer]
22:18
egregius313 has quit [Ping timeout: 260 seconds]
22:18
egregius313 has joined #pypy
22:22
tbodt has joined #pypy
22:25
egregius313 has quit [Read error: Connection reset by peer]
22:25
egregius313 has joined #pypy
22:27
egregius313 has quit [Read error: Connection reset by peer]
22:28
egregius313 has joined #pypy
22:28
tbodt has quit [Read error: Connection reset by peer]
22:28
tbodt has joined #pypy
22:31
antocuni has joined #pypy
22:33
egregius_ has joined #pypy
22:34
egregius313 has quit [Ping timeout: 268 seconds]
22:41
egregius_ has quit [Ping timeout: 240 seconds]
22:43
egregius313 has joined #pypy
22:49
rmesta has joined #pypy
22:52
egregius313 has quit [Read error: Connection reset by peer]
22:52
tbodt has quit [Read error: Connection reset by peer]
22:52
egregius313 has joined #pypy
22:52
tbodt has joined #pypy
22:53
rmesta has quit [Ping timeout: 240 seconds]
22:53
tbodt has quit [Read error: Connection reset by peer]
22:57
tbodt has joined #pypy
23:01
tbodt has quit [Read error: Connection reset by peer]
23:03
tbodt has joined #pypy
23:05
tbodt has quit [Read error: Connection reset by peer]
23:05
egregius313 has quit [Read error: Connection reset by peer]
23:06
egregius313 has joined #pypy
23:11
tbodt has joined #pypy
23:13
antocuni has quit [Ping timeout: 246 seconds]
23:15
egregius313 has quit [Ping timeout: 268 seconds]
23:23
egregius313 has joined #pypy
23:34
egregius313 has quit [Ping timeout: 240 seconds]
23:40
egregius313 has joined #pypy
23:44
egregius313 has quit [Ping timeout: 260 seconds]
23:48
aboudreault has quit [Excess Flood]
23:49
rmesta has joined #pypy
23:52
egregius313 has joined #pypy
23:52
aboudreault has joined #pypy
23:54
rmesta has quit [Ping timeout: 260 seconds]
23:56
egregius313 has quit [Ping timeout: 240 seconds]
23:57
egregius313 has joined #pypy