cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "the modern world where network packets and compiler optimizations are effectively hostile"
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 276 seconds]
<kenaan> rlamy cpyext-leakchecking 7b5f5263c9de /pypy/module/cpyext/test/: Fix tests for MSVC
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
exarkun has quit [Read error: Connection reset by peer]
<kenaan> rlamy default 8c10f7297290 /pypy/doc/whatsnew-head.rst: document merged branch
tilgovi has joined #pypy
exarkun has joined #pypy
ArneBab_ has joined #pypy
ArneBab has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
<mattip> plan_rich: please unbreak win32 and vmprof, I did the needed changes in vmprof-win32
<mattip> plan_rich: but am not sure how that relates to upstream vmprof
<mattip> plan_rich: is there a guide/automated process to merge https://github.com/vmprof/vmprof-python into PyPy's code base?
tilgovi has quit [Ping timeout: 246 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
pilne has quit [Quit: Quitting!]
yuyichao_ has quit [Quit: Konversation terminated!]
yuyichao has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
forgottenone has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 246 seconds]
dmalcolm has quit [Ping timeout: 240 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
dmalcolm has joined #pypy
<kenaan> cfbolz default a186a6bccf3f /rpython/jit/metainterp/optimizeopt/bridgeopt.py: this was done
_whitelogger has joined #pypy
antocuni has joined #pypy
tilgovi has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
rokujyouhitoma has joined #pypy
_main_ has joined #pypy
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #pypy
_main_ has quit [Read error: Connection reset by peer]
__main__ has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
<fijal> cfbolz: so, maybe you can say
<fijal> I compile quill (not the full pypy) that ends up having calls to mremap and getpagesize
<fijal> I don't believe those functions exist on OS X, I'm surprised it compiles at all
<fijal> getpagesize does, but mremap does not seem to
<cfbolz> great?
<fijal> I wonder how it happens
<fijal> cfbolz: does unitstd.h exist on linux?
<fijal> it does and it should be included
marr has joined #pypy
rokujyouhitoma has joined #pypy
vkirilichev has joined #pypy
rokujyouhitoma has quit [Ping timeout: 258 seconds]
tilgovi has quit [Read error: Connection reset by peer]
vkirilichev has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
<cfbolz> fijal: I see this in traces everywhere:
<cfbolz> +251: p30 = call_r(ConstClass(_ll_1_threadlocalref_get__Ptr_GcStruct_objectLlT_Signed), 64, descr=<Callr 8 i EF=1 OS=5>)
<fijal> yes sure
<fijal> what I mean is you can replace it with a direct read without too much thinking
<fijal> one way or another
<cfbolz> do you remember the code that does that for the GIL?
<cfbolz> anyway, a direct read is not enough, you also need to remember what the fields of p30 were
<fijal> it's a start
<fijal> RawEspLoc(THREADLOCAL_OFS, INT) is where thread locals live
<fijal> out of that you need to find out offset of ec
<fijal> e.g. write_real_errno in callbuilder
<cfbolz> ah, so the backend replaces this call
<cfbolz> I see
<cfbolz> advanced
<fijal> I'm not sure if it replaces THIS specific call
<fijal> but you can check in assembler
<cfbolz> it does
<fijal> cool?
<cfbolz> no
<cfbolz> because the call is always followed by this:
<fijal> right so saving info would save "something"
<cfbolz> yes
<cfbolz> my plan was simply to pass p15 along the bridge
<cfbolz> and remove the call in the frontend
<cfbolz> (and then the getfields get removed by existing machinery
<cfbolz> )
<fijal> ok
<cfbolz> not sure it's a good idea
<fijal> scary amounts of advanced engineering went into callbuilder.py....
<cfbolz> yes :-(
<cfbolz> my idea means there's one more failarg a bit everywhere
<fijal> well I can't see how you can avoid that tbh
<fijal> it's not like ll2ctypes where you could have avoided the whole problem in the first place
<fijal> or css and dom and html
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 240 seconds]
rokujyouhitoma has joined #pypy
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
nimaje is now known as Guest83404
Guest83404 has quit [Ping timeout: 246 seconds]
rokujyouhitoma has quit [Ping timeout: 255 seconds]
yuyichao has quit [Remote host closed the connection]
lritter has joined #pypy
yuyichao has joined #pypy
_whitelogger has joined #pypy
vkirilichev has joined #pypy
rokujyouhitoma has joined #pypy
http_GK1wmSU has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
http_GK1wmSU has left #pypy [#pypy]
vkirilichev has quit [Remote host closed the connection]
antocuni has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
pilne has joined #pypy
jamesaxl has joined #pypy
jamesaxl has quit [Quit: WeeChat 1.7.1]
jamesaxl has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
<kenaan> rlamy py3.5 45907003511b /: hg merge default
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
inad922 has joined #pypy
inad922 has quit [Remote host closed the connection]
antocuni has quit [Ping timeout: 260 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Quit: WeeChat 1.7.1]
jamesaxl has joined #pypy
realtime_ has joined #pypy
realtime has quit [Ping timeout: 255 seconds]
<kenaan> arigo default f58c6966c54d /: Issue #2621 Hack around until we support duplicate field names like ctypes
rokujyouhitoma has joined #pypy
marky1991 has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
antocuni has joined #pypy
vkirilichev has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
antocuni has quit [Ping timeout: 246 seconds]
rokujyouhitoma has joined #pypy
raynold has joined #pypy
gclawes has quit [Ping timeout: 240 seconds]
rokujyouhitoma has quit [Ping timeout: 255 seconds]
kolko has joined #pypy
lritter has quit [Remote host closed the connection]
kipras`away is now known as kipras
zware has joined #pypy
oberstet has quit [Remote host closed the connection]
<njs> as a general matter of habit, should I file a bug every time I run into some microbenchmark where pypy is way slower than cpython?
ndash_ has joined #pypy
larstiq_ has joined #pypy
static_ has joined #pypy
dpn`- has joined #pypy
ceridwen has quit [*.net *.split]
MarkMangoba has quit [*.net *.split]
rubdos has quit [*.net *.split]
dpn` has quit [*.net *.split]
akash47_ has quit [*.net *.split]
ndash has quit [*.net *.split]
LarstiQ has quit [*.net *.split]
static has quit [*.net *.split]
dpn`- is now known as dpn`
rokujyouhitoma has joined #pypy
danchr has quit [Ping timeout: 240 seconds]
danchr has joined #pypy
gclawes has joined #pypy
ceridwen has joined #pypy
vkirilichev has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 255 seconds]
rubdos has joined #pypy
akash47 has joined #pypy
yuvipanda has quit [Ping timeout: 255 seconds]
bendlas has quit [Ping timeout: 264 seconds]
MarkMangoba has joined #pypy
glyph has quit [Ping timeout: 260 seconds]
glyph has joined #pypy
vkirilichev has joined #pypy
<ronan> njs: yes, please - unless it's something we already know and can't fix
<ronan> njs: thanks, I'll look into it, eventually (I'm going on ~holiday tomorrow)
<njs> ronan: cool, have fun :-)
Demon11 has joined #pypy
<Demon11> I'm trying to build a CFFI extension (api mode) I made, the setup.py I use works for CPython. when running it wuth pypy 5.8 I get AttributeError: 'module' object has no attribute 'get_config_h_filename'
vkirilichev has quit [Remote host closed the connection]
<Demon11> after the "running build_ext"
<ronan> Demon11: can you link to your setup.py?
<Demon11> ronan: I actually can't. is there anything I should look for?
<ronan> Demon11: why are you calling get_config_h_filename()?
<Demon11> ronan: I'm not. pypy reaches the "runnning build_ext" stage and then I get the exception
<Demon11> it seems to generate the .c file before this happens
<ronan> well, can you find out why get_config_h_filename() gets called?
<ronan> it doesn't exist on pypy because it doesn't make sense there
<Demon11> I'm looking at the generated c file, it looks like it will try to include pyconfig.h
<ronan> ah wait, we do have it on pypy2, but not on pypy3
<ronan> Demon11: sorry, I'm confused. sysconfig,get_config_h_filename() does exist on pypy3
<Demon11> I'm using pypy2
<ronan> Demon11: ah, OK
<ronan> well, which module is it that's missing get_config_h_filename, then?
marky1991 has quit [Remote host closed the connection]
<Demon11> cygwinccompiler.py
marky1991 has joined #pypy
<Demon11> get_config_h_filename() is not available in sysconfig_pypy.py
rokujyouhitoma has joined #pypy
<Demon11> ronan: thanks for trying. I gotta go
Demon11 has quit [Quit: Page closed]
<ronan> aah, it's about distutils.sysconfig, not sysconfig...
rokujyouhitoma has quit [Ping timeout: 255 seconds]
forgottenone has quit [Quit: Konversation terminated!]
tilgovi has joined #pypy
vkirilichev has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 246 seconds]
vkirilichev has quit [Remote host closed the connection]
yuvipanda has joined #pypy
bendlas has joined #pypy
dmarasca has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
rokujyouhitoma has joined #pypy
<kenaan> cfbolz bridgeopt-improvements 3ab4221d7876 /rpython/jit/metainterp/: experimental attempt to reduce the cost of call_loopinvariant in every bridge that calls a method. ...
<kenaan> cfbolz bridgeopt-improvements b3eb7293ac01 /rpython/jit/metainterp/test/test_call.py: only one subclass nowadays
rokujyouhitoma has quit [Ping timeout: 260 seconds]
jcea has joined #pypy
yuyichao has quit [Read error: No route to host]
yuyichao has joined #pypy
tilgovi has quit [Ping timeout: 258 seconds]
tarek__ has quit [Ping timeout: 248 seconds]
tarek has joined #pypy
dmarasca has quit [Quit: Leaving]
trfl_ has quit [Ping timeout: 268 seconds]
trfl has joined #pypy
rokujyouhitoma has joined #pypy
tilgovi has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
<kenaan> rlamy py3.5 e622a373b04c /pypy/module/cpyext/test/test_cpyext.py: adapt is_interned_string() for py3