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"
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
marr has quit [Ping timeout: 255 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
xodp has joined #pypy
rokujyouhitoma has joined #pypy
<xodp> Hello all! I am trying to determine what needs to be done to safely use pypy embedded (as a library) in a process which forks (after initializing and using pypy) and intends to continue using pypy
<xodp> The info page (http://doc.pypy.org/en/latest/embedding.html) unfortunately does not mention fork'ing
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cloudyplain has joined #pypy
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
xodp has quit [Ping timeout: 260 seconds]
rokujyouhitoma has quit [Remote host closed the connection]
tbodt has joined #pypy
tbodt has quit [Ping timeout: 252 seconds]
rokujyouhitoma has joined #pypy
tbodt has joined #pypy
tbodt has quit [Client Quit]
exarkun has quit [Ping timeout: 248 seconds]
exarkun has joined #pypy
rokujyouhitoma has quit [Remote host closed the connection]
tbodt has joined #pypy
lritter_ has joined #pypy
ArneBab_ has joined #pypy
pilne has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lritter has quit [Ping timeout: 246 seconds]
rokujyouhitoma has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
rokujyouhitoma has quit [Remote host closed the connection]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
lritter_ has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Quitting!]
cloudyplain has quit [Remote host closed the connection]
cloudyplain has joined #pypy
cloudyplain has quit [Read error: Connection reset by peer]
exarkun has quit [Ping timeout: 246 seconds]
exarkun has joined #pypy
cloudyplain has joined #pypy
cloudyplain has quit [Read error: Connection reset by peer]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rokujyouhitoma has joined #pypy
tbodt has joined #pypy
cloudyplain has joined #pypy
tbodt has quit [Client Quit]
rokujyouhitoma has quit [Remote host closed the connection]
vkirilichev has joined #pypy
cloudyplain has quit [Remote host closed the connection]
cloudyplain has joined #pypy
forgottenone has joined #pypy
cloudyplain has quit [Read error: Connection reset by peer]
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
vkirilichev has quit [Ping timeout: 252 seconds]
rokujyouhitoma has joined #pypy
exarkun has quit [Ping timeout: 246 seconds]
rokujyouhitoma has quit [Remote host closed the connection]
exarkun has joined #pypy
zware has quit [Remote host closed the connection]
vkirilichev has joined #pypy
rokujyouhitoma has joined #pypy
zware has joined #pypy
vkirilichev has quit [Remote host closed the connection]
<kaizoku> hmm, why is cffi trying to use a non-implemented syscall on linux?
<kaizoku> warning: lchmod is not implemented and will always fail
vkirilichev has joined #pypy
<kaizoku> ah right, that's a warning, not an error.. looks like the build still suceeded
<kaizoku> *succeeded
vkirilichev has quit [Ping timeout: 248 seconds]
cloudyplain has joined #pypy
cloudyplain has quit [Read error: Connection reset by peer]
rokujyouhitoma has quit [Remote host closed the connection]
kipras is now known as kipras`away
cloudyplain has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Remote host closed the connection]
<mattip> ronan: the __radd__ pull request to numpy got merged https://github.com/numpy/numpy/pull/9629
<mattip> thanks for the extensive rubber ducking
jamesaxl has joined #pypy
oberstet has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
forgottenone has quit [Remote host closed the connection]
<kenaan> arigo cffi/cffi 95bd16daf438 /doc/source/cdef.rst: Add note here about __restrict__
forgottenone has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
pdox has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jacob22_ has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
antocuni has joined #pypy
exarkun has quit [Ping timeout: 264 seconds]
exarkun has joined #pypy
yuyichao_ has quit [Remote host closed the connection]
yuyichao_ has joined #pypy
marr has joined #pypy
yuyichao_ has quit [Ping timeout: 240 seconds]
yuyichao_ has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
oberstet has quit [Ping timeout: 246 seconds]
<mattip> arigato: it would be nice to have cffi 1.11 go out before pyyp 5.9, which should happen in the next couple of weeks
graingert has quit []
graingert has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
cloudyplain has quit [Remote host closed the connection]
jamesaxl has quit [Read error: Connection reset by peer]
oberstet has joined #pypy
cloudyplain has joined #pypy
jamesaxl has joined #pypy
cloudyplain has quit [Read error: Connection reset by peer]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
exarkun has quit [Ping timeout: 240 seconds]
jamesaxl has joined #pypy
exarkun has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Remote host closed the connection]
gclawes has quit [Quit: leaving]
gclawes has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
<mattip> it would be nice to fix ARM also
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
<kenaan> mattip pycheck-macros a24b838be800 /pypy/module/cpyext/: test, fix for SUBCLASS flags on types
<mattip> next step - turn many of the Py*_Check functions into macros, could speed up cpyext?
<exarkun> why doesn't the compiler just inline them
<mattip> they are function calls, and need to do the pyobj -> w_obj dance, which involves calling pypy_g_wrapper_second_level__star_1_2
<mattip> AFAICT they hold the GIL, but that can probably be fixed
<mattip> (pypy_g_wrapper_second_level__star_1_2 is make_wrapper_second_level in cpyext.api.py)
<mattip> of course I am optimizing without measuring :(
antocuni has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
forgottenone has quit [Client Quit]
forgottenone has joined #pypy
<fijal> exarkun: inlining against .so is not really a thing
<fijal> unfortunately
<fijal> mattip: I think a lot of functions can be moved to macros/C
<mattip> fijal: +1
* mattip off
<fijal> so limited interest in us removing the GIL
<fijal> sort of half-expected
forgottenone has quit [Ping timeout: 246 seconds]
forgottenone has joined #pypy
forgottenone has quit [Client Quit]
yuyichao_ has quit [Ping timeout: 246 seconds]
yuyichao_ has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
<kenaan> afteryu default 54c318cbfcd2 /pypy/doc/cpython_differences.rst: mention that deleting module attributes is slow (#2642)
<kenaan> afteryu default 6dff6e92d656 /pypy/doc/cpython_differences.rst: mention that deleting class attributes is slow
blachance has quit [Ping timeout: 252 seconds]
lritter_ has joined #pypy
<mattip> fijal: maybe a blogpost followup on the GIL-removal project?
marky1991 has joined #pypy
blachance has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 260 seconds]
<kenaan> rlamy multiphase 1a20a8077e2e /pypy/module/cpyext/: fix exception consistency checks
adamholmberg has quit [Ping timeout: 248 seconds]
adamholmberg has joined #pypy
tumbleweed has quit [Ping timeout: 240 seconds]
_main_ has joined #pypy
_main_ has quit [Read error: Connection reset by peer]
_main_ has joined #pypy
tumbleweed has joined #pypy
tumbleweed has joined #pypy
tumbleweed has quit [Changing host]
_main_ has quit [Read error: Connection reset by peer]
_main_ has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
__main__ has quit [Ping timeout: 240 seconds]
_main_ is now known as __main__
<cfbolz> mattip: we should decide on a real world benchmark for cpyext. Maybe something numpy based that crosses a lot?
rokujyouhitoma has joined #pypy
<kenaan> rlamy multiphase 6c511c66aa39 /pypy/doc/whatsnew-pypy3-head.rst: document the branch
rokujyouhitoma has quit [Ping timeout: 248 seconds]
<kenaan> rlamy multiphase 9bfd8662eac1 /: Close branch multiphase
<kenaan> rlamy py3.5 cc9f1669c568 /: Merged in multiphase (pull request #567) Multiphase
forgottenone has joined #pypy
raynold has joined #pypy
bogner_ has joined #pypy
<cfbolz> ronan: cool!
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
oberstet has quit [Remote host closed the connection]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
rubdos has joined #pypy
tbodt has joined #pypy
rokujyouhitoma has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
<kenaan> cfbolz regalloc-playground ffdf4c1bc430 /rpython/jit/backend/: improve interaction of fixed_register, try_use_same_register and force_result_in_reg
<kenaan> cfbolz regalloc-playground 786650135776 /rpython/jit/backend/llsupport/regalloc.py: simplification, remove unused function
<kenaan> cfbolz regalloc-playground a855c810d86c /rpython/jit/backend/llsupport/regalloc.py: even shorter. also rename _sync_var to _sync_var_to_stack to make clear what it does
<kenaan> cfbolz regalloc-playground e0a6917be0c6 /rpython/jit/backend/: fix a comment, something is a bit fishy about save_all_regs which is sometimes a bool, sometimes an int
<kenaan> cfbolz regalloc-playground 3162799170f9 /rpython/jit/metainterp/test/test_list.py: move two tests to make them run by the x86 test file too
<kenaan> cfbolz regalloc-playground 4cd14465e80c /rpython/jit/backend/x86/: in-progress and very hackish atm: add register hints in the x86 backend
vkirilichev has joined #pypy
<exarkun> do vmprof results come out in a stream or a lump at the end?
<tos9> stream, but there might be a footer of some sort
<tos9> I have never tried to read one of ours while it's being recorded
<exarkun> what if you use this --web thing? do you get results on the page while the program is running or only at the end?
<tos9> exarkun: end
<tos9> exarkun: you want to grab stuff from a long-running process I take it?
<tos9> arigato: after PEP 456, did PyPy end up implementing hash randomization?
<exarkun> normally it's long running but I could apply a load and stop it if I wanted to, for profiling purposes. but it's in k8s so retrieving a file written at the end of the process is a bit of a pain.
<tos9> I have a thing, if you want it.
<exarkun> orly
<tos9> Distributed using the most efficient modern form of communication
<tos9> copy paste
<tos9> sec.
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<tos9> Enjoy, don't cry too hard.
<exarkun> okay, so turn it on, do stuff, turn it off, capture legit-non-corrupt stats file?
<tos9> yep
<exarkun> vee shall see
<nimaje> tos9: ´self.path = None; os.remove(self.path)´? line 28, 29
rubdos_ has joined #pypy
rubdos has quit [Quit: Leaving]
rubdos_ is now known as rubdos
tbodt has joined #pypy
<tos9> nimaje: A testament to the fact that this code never breaks!
<tos9> (Thanks)
tbodt has quit [Client Quit]
tbodt has joined #pypy
<LarstiQ> tos9: I remember armin working on hash randomization, not sure what the end state is
<exarkun> I remember a point being made that hash randomization doesn't actually fix the problem, only makes it trivially harder to exploit
<exarkun> Was there further discussion subsequent to that?
<exarkun> If pep 456 is the last word, I think not.
<exarkun> Oh, or maybe not, some of this stuff looks coherent
rokujyouhitoma has joined #pypy
<tos9> exarkun: Yes
<tos9> The old hash randomization was useless
<tos9> Then christian heimes fixed it supposedly via pep 456
<tos9> (I remembered the first part, but just learned about the second part.)
vkirilichev has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 255 seconds]
marky1991 has quit [Ping timeout: 248 seconds]
yuyichao has joined #pypy
yuyichao_ has quit [Read error: Connection reset by peer]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
jamesaxl has quit [Quit: WeeChat 1.8]
marky1991 has joined #pypy
pilne has joined #pypy
kipras`away is now known as kipras
adamholmberg has quit [Remote host closed the connection]
nimaje1 has joined #pypy
nimaje1 is now known as nimaje
nimaje is now known as Guest53922
adamholmberg has joined #pypy
adamholm_ has joined #pypy
adamholmberg has quit [Read error: Connection reset by peer]
adamholm_ has quit [Remote host closed the connection]
antocuni has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
rokujyouhitoma has joined #pypy
forgottenone has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
<fijal> tos9, exarkun: the stuff is fixed now
<fijal> (don't know the pep number)
<fijal> "now" being 3.something
<fijal> 2.7 is still broken I think
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
vkirilichev has joined #pypy
tych0 has left #pypy ["WeeChat 1.4"]
rubdos has quit [Quit: WeeChat 1.9]
rubdos has joined #pypy
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 240 seconds]
vkirilichev has quit [Remote host closed the connection]
adamholmberg has joined #pypy
vkirilichev has joined #pypy
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jacob22_ has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
forgottenone has quit [Quit: Konversation terminated!]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
rokujyouhitoma has joined #pypy
rokujyouhitoma has quit [Ping timeout: 248 seconds]
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
vkirilichev has quit [Remote host closed the connection]
Arfrever has quit [Quit: 御出で]
adamholm_ has quit [Remote host closed the connection]
rubdos has quit [Ping timeout: 255 seconds]
vkirilichev has joined #pypy
vkirilichev has quit [Remote host closed the connection]
vkirilichev has joined #pypy
rokujyouhitoma has joined #pypy
vkirilichev has quit [Remote host closed the connection]
rokujyouhitoma has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antocuni has quit [Ping timeout: 252 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
yuyichao has quit [Ping timeout: 240 seconds]
cloudyplain has joined #pypy
rokujyouhitoma has joined #pypy
yuyichao has joined #pypy
cloudyplain has quit [Remote host closed the connection]
raynold has quit [Quit: Connection closed for inactivity]
rokujyouhitoma has quit [Ping timeout: 248 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
ceridwen has quit [Ping timeout: 276 seconds]