egregius313 has joined #pypy
kipras is now known as kipras`away
egregius313 has quit [Ping timeout: 272 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 255 seconds]
<kenaan> rlamy py3.5 a76798b64382 /: hg merge default
aboudreault has quit [Excess Flood]
Garen_ has quit [Remote host closed the connection]
<kenaan> rlamy py3.5 10d7da5ff46a /pypy/interpreter/baseobjspace.py: __wbuffer__ and __rbuffer__ aren't used in pypy3
Tsundere_cloud has joined #pypy
aboudreault has joined #pypy
aboudreault has quit [Excess Flood]
aboudreault has joined #pypy
<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
<Tsundere_cloud> oh btw, my environment is Arch Linux, with pypy from pacman, and rpython from pypy-source-code
<simpson> Tsundere_cloud: Can you pastebin the error?
<Tsundere_cloud> Sure, just a sec
<Tsundere_cloud> simpson: https://pastebin.com/6YLcnSEZ
<Tsundere_cloud> there you go, thanks
<simpson> Tsundere_cloud: You have unicode/str confusion, possibly while trying to use unicode/str together as dict keys?
<Tsundere_cloud> But the code is from https://morepypy.blogspot.tw/2011/04/tutorial-part-2-adding-jit.html, and I kinda have no clue to fix this error....
<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.
<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.
<Tsundere_cloud> Yep, it's using Python 2 to translate, the PyPy I'm using is PyPy2
<simpson> Then yeah, double-check your strings.
<Tsundere_cloud> Ok, thanks :)
tbodt has joined #pypy
<kenaan> rlamy py3.5 b10bce24eb85 /lib-python/3/test/test_socket.py: update test with current pypy error messages
jcea has quit [Quit: jcea]
<ronan> Tsundere_cloud: There may be an issue in rpython. User errors should give an error at the annotation stage
<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 ?
egregius313 has joined #pypy
<ronan> Tsundere_cloud: well, I can reproduce the issue, so yeah, try with an older rpython for now
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
egregius313 has quit [Ping timeout: 260 seconds]
<ronan> I guess the issue is triggered by the program not having any unicode...
lritter__ has joined #pypy
Garen has joined #pypy
lritter_ has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
ArneBab has joined #pypy
ArneBab_ has quit [Ping timeout: 260 seconds]
egregius313 has quit [Remote host closed the connection]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 272 seconds]
pilne has quit [Quit: Quitting!]
utkarsh has quit [Quit: No Ping reply in 180 seconds.]
utkarsh has joined #pypy
lritter__ has quit [Ping timeout: 260 seconds]
Tsundere_cloud has quit [Quit: Connection closed for inactivity]
Tsundere_cloud has joined #pypy
tilgovi has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
jamadden has quit [Quit: Leaving.]
inad922 has joined #pypy
rmesta has joined #pypy
rmesta has quit [Ping timeout: 255 seconds]
_whitelogger has joined #pypy
tilgovi has quit [Ping timeout: 246 seconds]
tilgovi has joined #pypy
rmesta has joined #pypy
egregius313 has joined #pypy
tilgovi has quit [Ping timeout: 240 seconds]
rmesta has quit [Ping timeout: 258 seconds]
egregius313 has quit [Ping timeout: 258 seconds]
jamadden has joined #pypy
jamadden has quit [Client Quit]
inad922 has quit [Ping timeout: 240 seconds]
arigato has joined #pypy
rmesta has joined #pypy
realitix has joined #pypy
rmesta has quit [Ping timeout: 255 seconds]
black_ant has joined #pypy
jamadden has joined #pypy
jamadden has quit [Client Quit]
Tsundere_cloud has quit [Quit: Connection closed for inactivity]
cstratak has joined #pypy
cstratak has quit [Client Quit]
cstratak has joined #pypy
oberstet has joined #pypy
cstratak has quit [Quit: Leaving]
oberstet has quit [Ping timeout: 255 seconds]
jamescampbell has joined #pypy
cstratak has joined #pypy
oberstet has joined #pypy
rmesta has joined #pypy
egregius313 has joined #pypy
rmesta has quit [Ping timeout: 240 seconds]
egregius313 has quit [Ping timeout: 240 seconds]
mihaid has joined #pypy
<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
<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.
marr has joined #pypy
antocuni has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
<arigato> mihaid: there is rffi.UCHAR
rmesta has joined #pypy
<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 *"
<arigato> by using rffi.UCHAR instead, you might run into issues, like not being able to use some rffi helper
egregius313 has joined #pypy
girish946 has joined #pypy
rmesta has quit [Ping timeout: 272 seconds]
inad922 has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
nimaje has quit [Killed (moon.freenode.net (Nickname regained by services))]
egregius313 has quit [Ping timeout: 260 seconds]
jamadden has joined #pypy
<ronan> arigato: the issue reported by Tsundere_cloud last night seems to be caused by ConstPtrInfo.getstrhash()
jamadden has quit [Client Quit]
jamescampbell has quit [Remote host closed the connection]
<mihaid> arigato: thanks! I will try using a CCHARP for now, then.
antocuni has quit [Ping timeout: 240 seconds]
jamadden has joined #pypy
jamescampbell has joined #pypy
jamescampbell has quit [Remote host closed the connection]
black_ant has quit [Ping timeout: 246 seconds]
rmesta has joined #pypy
jamesaxl has joined #pypy
rmesta has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
black_ant has joined #pypy
egregius313 has quit [Ping timeout: 255 seconds]
<arigato> ronan: no clue how we didn't notice the problem sooner, but I'm trying a fix
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
jcea has joined #pypy
jamescampbell has joined #pypy
<kenaan> arigo default f7c9422b741c /rpython/rlib/objectmodel.py: No clue how this missing @specialize was not noticed earlier.
<arigato> ronan: fixed
<ronan> arigato: heh, I could have done that myself actually - but I still have no clue how it could possibly have worked before
<arigato> inside pypy, it works because of rsiphash.py
<arigato> but I'm surprized there is (maybe) no other test using both strings and unicodes
egregius313 has joined #pypy
arigato has quit [Quit: Leaving]
egregius313 has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
rmesta has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
rmesta has quit [Ping timeout: 245 seconds]
egregius313 has joined #pypy
egregius_ has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
egregius_ has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
mattip has joined #pypy
antocuni has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
<cfbolz> ronan, arigato: thanks, I noticed a similar issue recently actually, but didn't track it down
egregius313 has quit [Ping timeout: 272 seconds]
egregius313 has joined #pypy
rmesta has joined #pypy
egregius313 has quit [Ping timeout: 255 seconds]
egregius313 has joined #pypy
rmesta has quit [Ping timeout: 255 seconds]
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
mihaid has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
egregius313 has quit [Read error: Connection timed out]
rmesta has joined #pypy
rmesta has left #pypy [#pypy]
oberstet has quit [Ping timeout: 255 seconds]
girish946 has quit [Quit: Leaving]
yuyichao has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
jcea1 has joined #pypy
jcea has quit [Read error: Connection reset by peer]
jcea1 is now known as jcea
egregius313 has quit [Ping timeout: 258 seconds]
<mattip> here's a fun one, given A = np.char.array(['abc']); B = np.char.array([u'\u03a3'])
<mattip> A + B calls into string_concat on CPython and bytesobject.descr_add() on PyPy, but then
<mattip> somehow gets back to calling a numpy ufunc to do the addition on PyPy
<mattip> I think it is because w_str.descr_add(space, w_unicodelike) will call
<mattip> space.add(w_str_as_unicode, w_unicodelike), which goes and looks up the proper function via descropperation.binop_impl()
<mattip> I am trying out calling directly w_str_as_unicode.descr_add(space, w_unicodelike), which saves the lookup
<mattip> hopefully that seems reasonable
<mattip> it passes own tests, with one added for this codepath
egregius313 has joined #pypy
<mattip> on another topic, it seems our commit frequency to rpython is quite slow, and yet we run
<mattip> own tests on it each night
<mattip> there is a onlyIfChanged flag, which we should definitely turn on
<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
<antocuni> or maybe we could think again whether to split the pypy and rpython repos?
egregius313 has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
arigato has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
jamescampbell has quit [Quit: Leaving...]
oberstet has joined #pypy
lritter__ has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 272 seconds]
egregius313 has joined #pypy
arigato has quit [Ping timeout: 260 seconds]
<mattip> antocuni: splitting the repos would be the "best", I am looking for a "good enough"
<mattip> to save buildbot time
<LarstiQ> mattip: sounds sensible to me
<mattip> although, now that cloning time is much better for hg, maybe it makes sense to simply split the repos
<mattip> without purging history
<LarstiQ> couldn't that be done as a first step anyway?
<mattip> or just purging the stdlib branches from the rpython repo which might give us most of the cleanup
egregius313 has quit [Ping timeout: 246 seconds]
<kenaan> mattip cpyext-unhashable 46815e12a7df /pypy/objspace/std/: more places to ensure cpyext hashing an empty string-like does not return -1
<kenaan> mattip default fb4031e88779 /pypy/objspace/std/: more places to convert hash value -1 to -2, see comments to issue #2346
<kenaan> mattip default 7328ebef4d73 /pypy/objspace/std/: do not go through descroperation.binop_impl again, call descr_add directly
<kenaan> mattip cpyext-unhashable 3071469e3277 /: close exploratory branch
<mattip> after these commits, 8 more numpy test failures
egregius313 has joined #pypy
yuyichao has joined #pypy
black_ant has quit [Ping timeout: 240 seconds]
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
inad922 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 272 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 255 seconds]
mattip has left #pypy [#pypy]
antocuni has quit [Ping timeout: 268 seconds]
egregius313 has joined #pypy
arigato has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
egregius_ has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
arigato has quit [Read error: Connection reset by peer]
egregius_ has quit [Ping timeout: 240 seconds]
realitix has quit [Quit: Leaving]
egregius313 has joined #pypy
<cfbolz> mattip: running the tests only if files changed sounds sensible
egregius313 has quit [Ping timeout: 272 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
MetaMutt has joined #pypy
jcea has quit [Quit: jcea]
MetaMutt has quit [Quit: Mutter: www.mutterirc.com]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 268 seconds]
egregius313 has joined #pypy
egregius_ has joined #pypy
egregius313 has quit [Ping timeout: 258 seconds]
egregius_ has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
kushal has quit [Ping timeout: 255 seconds]
kushal- has joined #pypy
egregius313 has joined #pypy
black_ant has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
jcea has joined #pypy
cstratak has quit [Quit: Leaving]
egregius_ has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
egregius_ has quit [Ping timeout: 260 seconds]
pilne has joined #pypy
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
dan- has quit [Ping timeout: 258 seconds]
egregius313 has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
dan- has joined #pypy
dan- has joined #pypy
dan- has quit [Changing host]
egregius313 has quit [Ping timeout: 240 seconds]
black_ant has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
black_ant has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
tbodt has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
tbodt has quit [Ping timeout: 246 seconds]
tbodt has joined #pypy
tbodt has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
marky1991 has quit [Ping timeout: 260 seconds]
tbodt has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 246 seconds]
black_ant has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
egregius313 has joined #pypy
kipras`away is now known as kipras
yuyichao has quit [Ping timeout: 246 seconds]
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
yuyichao has joined #pypy
egregius313 has quit [Ping timeout: 255 seconds]
egregius313 has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
egregius313 has quit [Ping timeout: 260 seconds]
egregius313 has joined #pypy
tbodt has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
antocuni has joined #pypy
egregius_ has joined #pypy
egregius313 has quit [Ping timeout: 268 seconds]
egregius_ has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
rmesta has joined #pypy
egregius313 has quit [Read error: Connection reset by peer]
tbodt has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
tbodt has joined #pypy
rmesta has quit [Ping timeout: 240 seconds]
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
egregius313 has quit [Read error: Connection reset by peer]
egregius313 has joined #pypy
tbodt has joined #pypy
antocuni has quit [Ping timeout: 246 seconds]
egregius313 has quit [Ping timeout: 268 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy
egregius313 has quit [Ping timeout: 260 seconds]
aboudreault has quit [Excess Flood]
rmesta has joined #pypy
egregius313 has joined #pypy
aboudreault has joined #pypy
rmesta has quit [Ping timeout: 260 seconds]
egregius313 has quit [Ping timeout: 240 seconds]
egregius313 has joined #pypy