cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | the secret reason for us trying to get PyPy users: to test the JIT well enough that we're somewhat confident about it
<simpson>
In RPython, are the rules for classmethods written down anywhere? I was going to go write one but I noticed that the Typhon codebase has *zero* classmethods, which probably means that they weren't legal back then.
<simpson>
FWIW I just want to add a class constructor in a spot. I can just use a plain def instead.
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<simpson>
cfbolz: Oh, interesting, I didn't even think of that.
stevenja_ has joined #pypy
Gonsor has joined #pypy
stevenja_ has quit [Remote host closed the connection]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
forgottenone has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
oberstet2 has quit [Ping timeout: 248 seconds]
jcea has quit [Ping timeout: 265 seconds]
jcea has joined #pypy
stevenja_ has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 264 seconds]
oberstet has joined #pypy
adamholmberg has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
tayfun26 has quit [Quit: tayfun26]
jacob22__ has joined #pypy
Gonsor has quit [Remote host closed the connection]
stevenja_ has quit [Remote host closed the connection]
jacob22__ has quit [Ping timeout: 264 seconds]
dash_ has joined #pypy
dash_ is now known as mdash
stevenja_ has joined #pypy
<kenaan>
wlav cppyy-packaging 76fe462b0a9e /pypy/module/_cppyy/capi/loadable_capi.py: fix incorrect return type
<kenaan>
wlav cppyy-packaging 9bc5b83ea8b9 /pypy/module/_cppyy/converter.py: support for multi-dimensional arrays of instances
<kenaan>
wlav cppyy-packaging 6f18d2274d2f /pypy/module/_cppyy/interp_cppyy.py: support for multi-dimensional arrays of instances and further refined template support
<kenaan>
wlav cppyy-packaging a5e401a889f6 /pypy/module/_cppyy/lowlevelviews.py: multi-dimensional arrays of instances
<kenaan>
wlav cppyy-packaging 57b26d4f25d5 /pypy/module/_cppyy/test/: more template tests
<kenaan>
wlav cppyy-packaging 95e2a7e64991 /pypy/module/_cppyy/test/test_datatypes.py: defer pythonization of std::complex for now
stevenja_ has quit [Ping timeout: 245 seconds]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 240 seconds]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 268 seconds]
stevenja_ has joined #pypy
<njs>
I told someone they should use vmprof to measure something, and they're getting: "server rejected meta data. status: 400, msg: '["could not extract meta data for 72824133-9826-4b51-9826-d69c1fda0f87. exception: [Errno 111] Connection refused"]'"
<njs>
any idea what that means? they're on sorta-lousy conference wifi, but they are able to connect to other websites...
<LarstiQ>
vmprof.com or local vmprof-server?
<njs>
vmprof.com
<LarstiQ>
perhaps that's down?
<LarstiQ>
the receiving end, website looks up
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
<njs>
ah, I just tried running 'python -m vmprof --web trivial-script.py' and got the same error message
<LarstiQ>
njs: if it was me I'd run the local server, but I understand this is not great ux
<njs>
LarstiQ: yeah, it would be great if one could do like 'python -m vmprof analyze ...' and have it automatically open a local browser pointing at the local server -- snakeviz works that way
<njs>
(but I understand that no-one has the time to spend on such refactoring)
<LarstiQ>
if we can assume docker, not too hard
<njs>
LarstiQ: and I know how to run a local server because I've been down this before, but trying to explain how to someone over chat is a bit tricky :-)
<LarstiQ>
aye, and my instructions include: workon particular-venv, hit ^R ;)
<njs>
(and actually I was hoping they'd be able to share a link -- that part is quite nice when it's working!)
<njs>
also what I don't know how to do is to take a .prof file (for example: one that someone else collected) and then upload it to a server (for example: my local one)
<LarstiQ>
iirc there is a way to get --help to figure out the invocation
Rhy0lite has quit [Quit: Leaving]
<LarstiQ>
python -m vmprof --help
<LarstiQ>
--output file.prof, -o file.prof
<LarstiQ>
--web-url url Provide URL instead of the default vmprof.com)
<LarstiQ>
seem the two relevant ones
stevenja_ has quit [Remote host closed the connection]
<njs>
LarstiQ: --output lets me create a .prof file. --web-url lets me run a script and immediately upload the data to an arbitrary server. What I don't know how to do is to take an existing .prof file and upload it to an arbitrary server.
<LarstiQ>
ah right, sorry, there is a subcommand I think
<LarstiQ>
yes, python -m vmprof.upload --help
<LarstiQ>
njs: sorry for not reading close enough
<njs>
ah, cool
marky1991 has quit [Ping timeout: 240 seconds]
<njs>
and thank you! that is not well documented :-)
<LarstiQ>
if memory serves I had to read the code to figure that out :)
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 248 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jsza has quit [Quit: Connection closed for inactivity]
adamholmberg has quit [Ping timeout: 255 seconds]
jacob22__ has joined #pypy
adamholmberg has joined #pypy
kipras is now known as kipras`away
kipras`away is now known as kipras
kipras is now known as kipras`away
kipras`away is now known as kipras
kipras is now known as kipras`away
marky1991 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
jamesaxl has joined #pypy
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 248 seconds]
jacob22__ has quit [Ping timeout: 255 seconds]
inad922 has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
oberstet has quit [Quit: Leaving]
stevenja_ has joined #pypy
stevenja_ has quit [Remote host closed the connection]
stevenja_ has joined #pypy
stevenja_ has quit [Ping timeout: 265 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
adamholmberg has quit [Remote host closed the connection]
Wulf has quit [Ping timeout: 244 seconds]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
wondiws has joined #pypy
<wondiws>
is it possible to use concurrency in PyPy?
<wondiws>
I'm right now using concurrent.futures, but that isn't available in pypy