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)"
adamholmberg has quit [Remote host closed the connection]
yuyichao has quit [Ping timeout: 260 seconds]
adamholmberg has joined #pypy
<kenaan> antocuni vmprof-0.4.10 5cc71a3d3d71 /rpython/rlib/rvmprof/test/test_rvmprof.py: apparently, gc='minimark' is not needed for this test. Not sure why it was written like that
<kenaan> antocuni vmprof-0.4.10 1067112a9755 /rpython/rlib/rvmprof/test/test_rvmprof.py: refactor test_enable to use the new style of testing
<kenaan> antocuni vmprof-0.4.10 2cc191d05d43 /rpython/rlib/rvmprof/test/test_rvmprof.py: make it possible to specify a name when you create MyCode()
<kenaan> antocuni vmprof-0.4.10 70e2f742d15e /rpython/rlib/rvmprof/test/test_rvmprof.py: factor out some reusable logic from TestEnabled, which will be usable also from the upcoming TestNative
<kenaan> antocuni vmprof-0.4.10 0944d36d3dda /rpython/rlib/rvmprof/test/test_rvmprof.py: apparently, we don't need this
<kenaan> antocuni vmprof-0.4.10 6c26abf30648 /rpython/rlib/rvmprof/test/test_rvmprof.py: improve test_enable by: 1) make sure that it runs for approximately 0.5 seconds; 2) check that the number ...
<kenaan> antocuni vmprof-0.4.10 e0fdd6a424df /rpython/rlib/rvmprof/test/test_rvmprof.py: rewrite test_native by reusing RVMProfSamplingTest. It still fails, obviously
<kenaan> antocuni vmprof-0.4.10 49caf38340af /rpython/rlib/rvmprof/test/test_rvmprof.py: I claim that tests should never be skipped implicitly. If there is some platform on which vmprof doesn't w...
yuyichao has joined #pypy
oberstet has quit [Ping timeout: 264 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antocuni has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
tbodt has quit [Client Quit]
kipras is now known as kipras`away
tbodt has joined #pypy
_stian has quit [Quit: Page closed]
cjwelborn has quit [Remote host closed the connection]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
cjwelborn has joined #pypy
marr has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Ping timeout: 268 seconds]
SunDwarf has quit [Ping timeout: 248 seconds]
SunDwarf has joined #pypy
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
songww has joined #pypy
songww_ has joined #pypy
jcea has quit [Quit: jcea]
songww has quit [Ping timeout: 260 seconds]
songww_ has quit [Remote host closed the connection]
songww has joined #pypy
songww has quit [Quit: songww]
songww has joined #pypy
songww has left #pypy [#pypy]
<kenaan> stian math-improvements 7f48dd825978 /rpython/rlib/rbigint.py: Kill dead code, clean up normalization, and disable an assert that causes C code warnings. Its a helper f...
<kenaan> stian math-improvements b9cf8efa4db1 /rpython/rlib/test/test_rbigint.py: Kill test for removed function
songww has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
songww has quit [Remote host closed the connection]
marky1991 has joined #pypy
songww has joined #pypy
lritter__ has joined #pypy
lritter_ has quit [Ping timeout: 246 seconds]
ArneBab has joined #pypy
songww has quit [Read error: Connection reset by peer]
songww has joined #pypy
ArneBab_ has quit [Ping timeout: 268 seconds]
songww has quit [Remote host closed the connection]
songww has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
forgottenone has joined #pypy
tos9 has quit [Ping timeout: 260 seconds]
marky1991 has quit [Ping timeout: 240 seconds]
hubert0 has joined #pypy
zmt00 has quit [Quit: Leaving]
hubert0 has quit [Ping timeout: 268 seconds]
yuyichao has quit [Ping timeout: 240 seconds]
yuyichao has joined #pypy
dmalcolm has quit [Ping timeout: 260 seconds]
dmalcolm has joined #pypy
tos9 has joined #pypy
songww_ has joined #pypy
songww has quit [Ping timeout: 260 seconds]
songww_ is now known as songww
hubert0 has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
songww has quit [Remote host closed the connection]
songww has joined #pypy
songww has quit [Remote host closed the connection]
songww has joined #pypy
songww has quit [Read error: Connection reset by peer]
songww has joined #pypy
squeaky_pl has joined #pypy
inhahe_ has quit [Read error: Connection reset by peer]
marr has joined #pypy
inhahe_ has joined #pypy
kenaan has quit [Read error: No route to host]
mattip has quit [Ping timeout: 268 seconds]
ceridwen has quit [*.net *.split]
avakdh has quit [*.net *.split]
pilne has quit [*.net *.split]
arigato has quit [*.net *.split]
nopf has quit [*.net *.split]
__peke__ has quit [*.net *.split]
huonw has quit [*.net *.split]
pdox has quit [*.net *.split]
dstufft has quit [*.net *.split]
mattip has joined #pypy
nopf has joined #pypy
yuvipanda has quit [Ping timeout: 240 seconds]
abvi[m]1 has quit [Ping timeout: 241 seconds]
bendlas has quit [Ping timeout: 255 seconds]
pulkitg has quit [Ping timeout: 250 seconds]
ceridwen has joined #pypy
arigato has joined #pypy
pilne has joined #pypy
huonw has joined #pypy
__peke__ has joined #pypy
avakdh has joined #pypy
pdox has joined #pypy
dstufft has joined #pypy
john51 has quit [Read error: Connection reset by peer]
mattip has quit [Ping timeout: 240 seconds]
john51 has joined #pypy
pulkitg has joined #pypy
mattip has joined #pypy
antocuni has joined #pypy
squeaky_pl has quit [Quit: Leaving]
abvi[m] has joined #pypy
bendlas has joined #pypy
yuvipanda has joined #pypy
hubert0_ has joined #pypy
hubert0 has quit [Ping timeout: 264 seconds]
squeaky_pl has joined #pypy
<squeaky_pl> antocuni, thanks for taking care of vmprof, I rely on it a lot and I've been hitting some trivial to workaround but annoying bugs
<antocuni> squeaky_pl: I'm just leaving for lunch, if you are there we can chat later
<squeaky_pl> yeah, nothing special really, libunwind stuff and the fact that you cannot write to the same file twice
<antocuni> like, calling enable/disable/enable again?
<squeaky_pl> yes, all of them are in the bug tracker
<squeaky_pl> but it was confusing hell out of me
<antocuni> yes, I also had to generate multiple files to profile different parts of the same process
<antocuni> anyway
* antocuni off
antocuni has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
hubert0 has joined #pypy
hubert0_ has quit [Ping timeout: 248 seconds]
<cfbolz> ronan: should 1233d5aa782f be on default too? and should maybe rlib be fixed?
songww has quit [Quit: songww]
cstratak has joined #pypy
jcea has joined #pypy
songww has joined #pypy
songww has quit [Read error: Connection reset by peer]
antocuni has joined #pypy
<LarstiQ> antocuni: I've also had some vmrpof enable/disable crashes, went away when I was carefuly to only enable once during process lifetime
<LarstiQ> mattip: my understanding is that cppyy also aims at reflection
<antocuni> on which combination of interpreters/flags?
drolando_ has joined #pypy
<LarstiQ> cpython 3.6.2, just enable(some-fd)
<LarstiQ> it was in a jupyter notebook, fwiw
<antocuni> with my branch, I can use vmprof+pypy+real_time=True and enable()/disable() multiple times, provided that I use a different filename
<antocuni> ah
<LarstiQ> antocuni: I might try that
<antocuni> "that" == "a different filename"?
drolando has quit [Ping timeout: 246 seconds]
<LarstiQ> antocuni: your branch
<antocuni> my branch changes only pypy stuff
<LarstiQ> antocuni: good excuse to try pypy again ;)
<LarstiQ> pandas is supposed to work fairly well now
<antocuni> and what it basically does is to copy the recent changes from the cpython version of vmprof
<antocuni> so maybe you could just try a recent vmprof
<antocuni> multiple calls to enable() seem to work for me
<LarstiQ> hmm, maybe if pip-installable version from yesterday is too old
<antocuni> LarstiQ: this works for me on CPython and vmprof-0.4.10
<antocuni> cpython 2.7
<antocuni> and it works even if I don't specify real_time=True
<ronan> cfbolz: It's already on default
<ronan> cfbolz: and I'm not sure how to fix rlib. IMO, it should do either all of the index manipulations or none.
<cfbolz> right
<cfbolz> I would say "all of them", but I suspect we are not consistent about that at all
<cfbolz> or we could put an assert that 0 <= start < length
Rhy0lite has joined #pypy
adamholmberg has joined #pypy
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #pypy
yuyichao has quit [Ping timeout: 258 seconds]
yuyichao has joined #pypy
zmt00 has joined #pypy
marky1991 has joined #pypy
hubert0 has quit [Remote host closed the connection]
hubert0 has joined #pypy
hubert0 has quit [Ping timeout: 268 seconds]
ceridwen has quit [Remote host closed the connection]
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
tbodt has quit [Ping timeout: 248 seconds]
<mattip> antocuni: what is involved in resyncing rvmprof/src/shared from upstream?
<antocuni> I'm just doing it
<mattip> antocuni: there is a FreeBSD fix that it would be nice to have in PyPy to ease the pain of downstream packagers
<antocuni> nothing, it's as simple as copying the files
<antocuni> ah yes
kenaan_ has joined #pypy
<kenaan_> antocuni vmprof-0.4.10 1b871922f356 /: close this branch to be merged
<kenaan_> antocuni default 4b7ad9d4be0d /: merge the vmprof-0.4.10 branch: - copy the recent changes to the C part of vmprof from github - make sure that...
<kenaan_> antocuni default b207c72d71ad /rpython/rlib/rvmprof/src/shared/: update vmprof up to github rev c8154361
<antocuni> mattip: done
<mattip> cool, thanks
<mattip> maybe now it's time to get it working on win32
<antocuni> as explained by the commit message of 4b7ad9d4be0d, I expect some tests to fail tomorrow
<mattip> +1
<mattip> interesting, upstream passes on all windows except win64, maybe there is hope
tbodt has joined #pypy
tbodt has quit [Client Quit]
tbodt has joined #pypy
ceridwen has joined #pypy
ceridwen has joined #pypy
ceridwen has quit [Changing host]
drolando_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
<mattip> my mail about distutils_platform did not get a response, anyone mind if I kill it ?
<antocuni> mattip: +1 for me, although I admit I don't understand the exact details of it
<mattip> it is meant for cross-compiling AFAICT, but not sure it can create a complete PyPy w/JIT, GC
<antocuni> hg log shows that plan_rich_ did some commits on it for the s390x backend
<antocuni> ah but now, they are empty commits
<antocuni> s/now/not
<antocuni> so yes, basically nobody is using it
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
<kenaan_> rlamy default 461d62b49f22 /extra_tests/test_bytes.py: Check behaviour of bytearray as well
<kenaan_> mattip default 3d3ef332444f /rpython/translator/platform/: remove unused distutils_platform
<mattip> as long as I am looking, it seems maemo is not active either, but at least it does not fail tests
cstratak has quit [Quit: Leaving]
raynold has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
hubert0 has joined #pypy
hubert0 has quit [Ping timeout: 260 seconds]
ArneBab has quit [Read error: Connection reset by peer]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ArneBab has joined #pypy
tbodt has joined #pypy
marky1991 has quit [Ping timeout: 258 seconds]
hubert0 has joined #pypy
oberstet has joined #pypy
<fijal> mattip: maemo we can kill completely
<fijal> I think the whole project got cancelled
<LarstiQ> sorta-kinda
<LarstiQ> but probably right that nothing special is needed for it anymore
forgottenone has quit [Quit: Konversation terminated!]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kenaan_> mattip default 73ab8f585ba4 /rpython/: remove maemo platform
tbodt has joined #pypy
antocuni has joined #pypy
<kenaan_> mattip default 7ba4c7f12fd5 /rpython/translator/platform/test/test_platform.py: the only possible non-host platform is arm, not sure it works
marky1991 has joined #pypy
<mattip> ahh, a good day. Net lines of code added is negative
oberstet has quit [Ping timeout: 250 seconds]
oberstet has joined #pypy
<antocuni> mattip: hooray
magniff has joined #pypy
<magniff> Sup, chat. I have been messing around on VMSS playlist on youtube and learned about peculiar project named Mu Micro VMs.
<magniff> Any ideas - rubbish? Turboawesome? Tldr?
<magniff> So in short - it is a thin and lightweight (and also back-end agnostic) implementation of some extremely low level language runtime - IR similar to LLVMs one. So, because of the particular simplicity of this runtime it is astonishingly well tested and even formally verified, this can serve as a valid and robust substrate for language implementors.
<magniff> *thus can surve...
<antocuni> is there any actual language implemented on top of it?
<LarstiQ> isn't there someone involved with mu posting to the mailing lists?
<magniff> the reference implementation of the machine itself is in rather early state as far as i know
<magniff> @LarstiQ have no idea
<fijal> is it like an LLVM?
<antocuni> yes, I think I have heard of mu before, probably here
hubert0 has quit [Remote host closed the connection]
<antocuni> there is also a mu backend for rpython: https://gitlab.anu.edu.au/mu/mu-client-pypy
hubert0 has joined #pypy
<fijal> right now we can compile PyPy interpreter with --no-allworkingmodules option.
<fijal> cool
<magniff> compile to mu?
<fijal> yeah
<magniff> wow
<fijal> reading from the page anto linked
<magniff> i should do that right now, then
<antocuni> yes, but from what I understand there is only a reference implementation of mu (which is slow)
<antocuni> I could not find any reference to an actual "real" fast implementation
hubert0 has quit [Ping timeout: 240 seconds]
<fijal> antocuni: heh, the usual problem
<fijal> antocuni: the reference implementation of rpython is python right?
<fijal> it's "only" missing the fast part
<antocuni> eh, you can look at it that way
<antocuni> actually, one of the early goals of pypy was to have an easy-to-understand reference implementation of python
<fijal> we failed
<antocuni> not sure if it succeeded
<antocuni> I claim that we failed because we wanted to be too clever with the interpreter/objspace separation. Without that (useless?) layer of abstraction, it could probably be simple enough as a reference impl
<magniff> closing eyes on jit and stuff I can tell that pypy is way clearer then cpython
<magniff> *closing eyes on pyjitpl5 ofc.*
<fijal> the error message for mixing function and class can be improved over AttributeError
<magniff> is it intended that some weirdo would implement its own objspace for pypy? objspace layer should serve for something, right?
<antocuni> we, actually we do use it
<antocuni> because we also have the FlowObjSpace, which is used by rpython
marr has quit [Ping timeout: 240 seconds]
<antocuni> so you have rpython which compiles pypy by reusing a part of pypy
<antocuni> also, historically the idea was to potentially have different/extended objspaces to tweak the language. There was also a LogicObjSpace at some point, although I am not sure what it did
<fijal> antocuni: that's not the case for like 5 years
<fijal> (the flow and regular objspace sharing anything)
<antocuni> no, but they share the interpreter/, don't they?
<fijal> nope
<antocuni> "ah"
<antocuni> cool
<magniff> do they have to?
<fijal> no imports of pypy from rpython
<antocuni> how do the flow obj space work then?
<Alex_Gaynor> that is a "recent" development though
<magniff> yes, this actually sounds fair
<magniff> @Alex didnt know that you still reading this chat
<antocuni> ah, there is this "FlowContext" which is basically a stripped-down interpreter, from what I see
marr has joined #pypy
oberstet has quit [Ping timeout: 250 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
magniff has quit [Quit: Page closed]
kipras`away is now known as kipras
<kenaan_> mattip vmprof-win32 7aada6f7b5bb /: close outdated branch
<kenaan_> mattip win32-vmprof edb8f85891e5 /rpython/rlib/rvmprof/: start to run tests on win32
hubert0 has joined #pypy
<mattip> whoohooo! finally got a pull request merged to refactor out code that was running in ndarray.dealloc
<mattip> thanks njs!
<mattip> first commit was June 19
<njs> yeah
<njs> sorry for being so slow
<antocuni> mattip: congrats!
<antocuni> so it means that now we pass even more numpy tests?
<mattip> njs: I'm just glad we got it done
<njs> and I definitely am puzzled by Antoine's post to python-something last night claiming that pypy's lack of refcounting doesn't cause any problems :-)
<mattip> antocuni: there is still another issue with nditers that IMO shows up in tests but no-one uses in real life
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hubert0 has quit [Remote host closed the connection]
<mattip> bascially a continuation of the merge request above
hubert0 has joined #pypy
<antocuni> I'm undecided whether I want to know more details or not :)
ronan has quit [Ping timeout: 264 seconds]
hubert0 has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
<antocuni> wow. I've read that and yes, I didn't want to know
ronan has joined #pypy
hubert0 has joined #pypy
Cheery has quit [Ping timeout: 240 seconds]
hubert0 has quit [Remote host closed the connection]
hubert0 has joined #pypy
hubert0 has quit [Ping timeout: 250 seconds]
yuyichao has quit [Read error: Connection reset by peer]
yuyichao has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
hubert0 has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
Cheery has joined #pypy
yuyichao_ has joined #pypy
yuyichao has quit [Ping timeout: 250 seconds]
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
jacob22 has joined #pypy
jacob22_ has quit [Ping timeout: 260 seconds]
Rhy0lite has quit [Quit: Leaving]
hubert0 has quit [Remote host closed the connection]
hubert0 has joined #pypy
hubert0 has quit [Ping timeout: 248 seconds]
Cheery has quit [Ping timeout: 260 seconds]
Cheery has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy