antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
Hasimir has quit [Read error: Connection reset by peer]
Hasimir has joined #pypy
tbodt has quit [Remote host closed the connection]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
marky1991 has joined #pypy
jcea has quit [Remote host closed the connection]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kipras is now known as kipras`away
tbodt has joined #pypy
marr has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marky1991 has quit [Read error: Connection reset by peer]
agronholm has quit [Ping timeout: 255 seconds]
agronholm has joined #pypy
forgottenone has joined #pypy
raynold has joined #pypy
<kenaan_> rlamy default fc072d7375a3 /pypy/module/cpyext/: fix translation
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5290 [ronan: force build, default]
dddddd has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5290 [ronan: force build, default]
tayfun26 has joined #pypy
oberstet has joined #pypy
lritter has joined #pypy
energizer has quit [Quit: Leaving]
redj_ has joined #pypy
mwhudson has quit [Remote host closed the connection]
redj has quit [Remote host closed the connection]
mwhudson has joined #pypy
mwhudson has joined #pypy
mwhudson has quit [Changing host]
ulope has quit [Ping timeout: 260 seconds]
ulope has joined #pypy
energizer has joined #pypy
<fijal> fail fail fail
marr has joined #pypy
the_drow has joined #pypy
inad922 has joined #pypy
the_drow has quit [Ping timeout: 240 seconds]
energizer has quit [Quit: Leaving]
antocuni has joined #pypy
the_drow has joined #pypy
the_drow has quit [Remote host closed the connection]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
inad922 has quit [Ping timeout: 276 seconds]
solarjoe4 has joined #pypy
<solarjoe4> arigato, you in?
<fijal> solarjoe4: I think he's gone for today, how can I help you
<fijal> ?
<solarjoe4> maybe...let's try :)
<solarjoe4> i am reading a buffer using buf = ffi.buffer(opp[0].ResultsI, buf_size)
<solarjoe4> from there to numpy using res_buf = np.frombuffer(buf, dtype=dtype_struct)
<solarjoe4> the resulting array is stored in a dictionary. at a later stage in another module i am trying to read the key with the array and python crashes.
<solarjoe4> Is the buffer somehow lost? how long is it alive?
<solarjoe4> a solution would be to .copy() the numpy arrays but they are large... :)
<njs> res_buf should be holding a reference to buf
<njs> and ffi.buffer keeps alive whatever you pass to it, *if* the object you pass to it is something that cffi thinks owns the memory
<njs> but maybe opp[0].ResultsI is merely borrowing memory from opp or whatever
<njs> so you might need to keep a reference to opp around
<solarjoe4> yes, that might be the problem, this is freed I guess
<solarjoe4> ok, i will look into this, thanks!
antocuni has quit [Ping timeout: 256 seconds]
lritter has quit [Remote host closed the connection]
raynold has quit [Quit: Connection closed for inactivity]
Masklinn has joined #pypy
fryguybo1 has joined #pypy
fryguybob has quit [Ping timeout: 255 seconds]
antocuni has joined #pypy
dddddd has joined #pypy
Rhy0lite has joined #pypy
adamholmberg has joined #pypy
inad922 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
adamholmberg has joined #pypy
gclawes has quit [Quit: leaving]
inad922 has quit [Ping timeout: 240 seconds]
solarjoe4 has quit [Quit: Leaving]
tayfun26 has quit [Remote host closed the connection]
inad922 has joined #pypy
jcea has joined #pypy
<nanonyme> arigato, FWIW my boss will probably start complaining to me soon unless I get a CFFI release with the unicode support :(
jcea has quit [Ping timeout: 260 seconds]
nopf has joined #pypy
jcea has joined #pypy
<fijal> nanonyme: hi, I'm sorry, but we're just open source volunteers here
<fijal> nanonyme: I can send you a support invoice, if you want to have any SLA
marky1991 has joined #pypy
infernix has quit [Ping timeout: 252 seconds]
Masklinn has quit []
john51 has quit [Remote host closed the connection]
john51 has joined #pypy
marky1991 has quit [Ping timeout: 256 seconds]
<nanonyme> :)
<nanonyme> Meh, they'd probably just tell me to move back to ctypes rather than paying anything
raynold has joined #pypy
<nanonyme> fijal, we were anyway just talking on Saturday whether I should roll my own build or wait; it's not really life or death as such
<fijal> Well armin is busy and might not be available for a few days fyi
<nanonyme> That's fine
<nanonyme> I'll just do my own build and wait for the real release then
<tumbleweed> that sounds sensible
Masklinn has joined #pypy
inad922 has quit [Ping timeout: 255 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marr has quit [Ping timeout: 260 seconds]
<kenaan_> cfbolz guard-compatible 3f9f732b42d0 /rpython/jit/metainterp/optimizeopt/bridgeopt.py: temporary debug prints to figure out why heap knowledge gets lost
<kenaan_> cfbolz guard-compatible 4db603258cdc /rpython/jit/metainterp/: simplify optimizer interface to guard-compat. also add more debug prints
<kenaan_> cfbolz guard-compatible 25fb71c78772 /rpython/jit/metainterp/optimizeopt/bridgeopt.py: log the guard address too
<kenaan_> cfbolz guard-compatible 5b83d5703851 /rpython/jit/metainterp/: test and fix: deal with quasiimmut correctly
Masklinn has quit []
infernix has joined #pypy
<nanonyme> fijal, don't get me wrong, I've been really surprised getting the bugs I was beating my head at squished so fast and I really do appreciate the volunteer work invested in all of this. I'd consider contributing in CFFI myself if I didn't get an instant panic attack of Python C API
tbodt has joined #pypy
oberstet has quit [Ping timeout: 255 seconds]
antocuni has quit [Ping timeout: 268 seconds]
gclawes has joined #pypy
Hasimir has quit [Read error: Connection reset by peer]
Hasimir has joined #pypy
Arfrever has joined #pypy
kipras`away is now known as kipras
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
inad922 has joined #pypy
inad922 has quit [Ping timeout: 240 seconds]
inad922 has joined #pypy
energizer has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
forgottenone has quit [Remote host closed the connection]
tbodt has joined #pypy
tbodt has quit [Client Quit]
marr has joined #pypy
inad922 has quit [Ping timeout: 256 seconds]
mattip has joined #pypy
<kenaan_> mattip throw-away 2956c36a5584 /rpython/translator/platform/windows.py: try to fix missing path name on buildbot
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3733 [mattip: force build, py3.5]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3733 [mattip: force build, py3.5]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3734 [mattip: force build, throw-away]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3734 [mattip: force build, throw-away]
inad922 has joined #pypy
<kenaan_> mattip throw-away 428b5c69b2b3 /rpython/translator/platform/windows.py: typo in path
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/3735 [mattip: force build, throw-away]
tbodt has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
tbodt has quit [Client Quit]
<mattip> ok, that hack seems to be working
antocuni has joined #pypy
jacob22__ has quit [Ping timeout: 240 seconds]
jacob22__ has joined #pypy
tbodt has joined #pypy
marr has quit [Ping timeout: 248 seconds]
marr has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
<kenaan_> mattip py3.5 7019087f6069 /pypy/module/cpyext/: merge default into py3.5
<kenaan_> mattip py3.5 2b8826f6536c /rpython/translator/platform/windows.py: hack to fix missing path component on a buildbot with vs2017 installed
<kenaan_> mattip py3.5 a745d2c294be /lib_pypy/_libmpdec/vccompat.h: stdint.h exists for msver 1900 (vs 2017)
Rhy0lite has quit [Quit: Leaving]
inad922 has quit [Ping timeout: 240 seconds]
<kenaan_> mattip py3.5 e7ca5c644d47 /lib_pypy/_libmpdec/vccompat.h: fix decimal
<kenaan_> mattip py3.5 759ae332758e /pypy/tool/build_cffi_imports.py: hack to add externals to INCLUDE, LIB, BIN on windows
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drolando has quit [Remote host closed the connection]
<kenaan_> mattip throw-away b579b2e8a71e /: close throw-away branch
<kenaan_> mattip py3.5 87cbb9df283a /lib-python/3/distutils/msvc9compiler.py: vcvars no longer sets libpath, it is unused anyway
mattip has left #pypy ["Leaving"]
drolando has joined #pypy
Arfrever has quit [Quit: 御出で]
tbodt has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
tav has quit [Ping timeout: 268 seconds]
jamesaxl has quit [Quit: WeeChat 2.0.1]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]