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
antocuni has quit [Ping timeout: 245 seconds]
infernix has quit [Ping timeout: 250 seconds]
infernix has joined #pypy
dddddd has quit [Read error: Connection reset by peer]
beerbaron23 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcea has quit [Quit: jcea]
witrandev has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 244 seconds]
beerbaron23 has joined #pypy
witrandev has left #pypy [#pypy]
witrandev has joined #pypy
witrandev has quit [Quit: Page closed]
witrandev has joined #pypy
<witrandev> Hi, if I want to log every single line of python source code in execution (let's say a flask web service), is there an existing debug option to achieve this?
<witrandev> or do I need to modify pypy interpreter?
<energizer> witrandev: you can set a trace function
<witrandev> do you mean sys.settrace() ?
<energizer> yes
<witrandev> seems like this is what i need, thanks a lot!
moei has joined #pypy
_whitelogger has joined #pypy
Garen_ has joined #pypy
Garen has quit [Ping timeout: 252 seconds]
witrandev_ has joined #pypy
witrandev has quit [Ping timeout: 256 seconds]
arigato-c has joined #pypy
arigato-c has quit [Client Quit]
arigato has joined #pypy
<arigato> mattip: looking at cffi_dlopen_unicode
<arigato> I think that neither Windows nor Linux should default to utf8
<arigato> non-Windows should use space.fsencode_w()
witrandev_ has quit [Quit: Page closed]
arigato has quit [Ping timeout: 252 seconds]
arigato has joined #pypy
arigato has quit [Ping timeout: 252 seconds]
arigato has joined #pypy
<kenaan> arigo cffi_dlopen_unicode 8c1e8b2f18b2 /pypy/module/_cffi_backend/: Test on Posix; avoid using utf-8 and use the filesystem encoding instead
beerbaron23 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamesaxl has joined #pypy
Graypup__ has quit [Quit: ZNC 1.6.1 - http://znc.in]
<kenaan> arigo cffi_dlopen_unicode 13735d96ce4f /pypy/module/_cffi_backend/: Share the code. Fix for Windows, still untested
Graypup_ has joined #pypy
Graypup_ has quit [Client Quit]
Graypup_ has joined #pypy
<kenaan> arigo cffi_dlopen_unicode b2e4adfaa71e /: hg merge default
jamesaxl has quit [Ping timeout: 252 seconds]
beerbaron23 has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
arigato has quit [Remote host closed the connection]
antocuni has joined #pypy
antocuni has quit [Read error: Connection reset by peer]
beerbaron23 has quit [Quit: Textual IRC Client: www.textualapp.com]
_whitelogger has joined #pypy
<toaderas> arigo: Hello, we had a conversation a few months ago about removing real time delay in pypy. Do you remember me ?
jacob22__ has joined #pypy
thnee has quit [Quit: WeeChat 1.9.1]
thnee has joined #pypy
dddddd has joined #pypy
jcea has joined #pypy
<fijal> toaderas: I think he's on a plane right now (or just landed to be precise)
mattip has quit [Ping timeout: 252 seconds]
mattip has joined #pypy
<toaderas> fijal: Oh cool !
<fijal> maybe I can help you?
<toaderas> fijal: I have to leave right now but we will talk again about it.
bendlas[m] has quit [Ping timeout: 250 seconds]
bendlas[m] has joined #pypy
jamesaxl has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
_whitelogger has joined #pypy
<lesshaste> mattip, Thanks. Is that tangential to the issues listed at https://morepypy.blogspot.com/ ?
<mattip> lesshaste: maybe. We need to explore what is slow, who knows.
<mattip> But __getitem__ is such a common method call, it more than likely will show up as a hotspot
<lesshaste> mattip, ok got you. It's the main use case for me so I am particularly interested
<lesshaste> if there is anything I can do to help, please do let me know
<mattip> clever numpy code should actually avoid it, you may want to see if you can use a memory view or a stdlib array instead
<lesshaste> I never use stdlib array! I should start experimenting with that
<mattip> maybe just benchmarking your regular numpy code a = np.array(...) with a = memoryview(np.array(...))
<lesshaste> that's a good idea. Thank you
<mattip> as long as you are using standard dtypes (int, float, complex) and not record arrays it should be jit-able
<lesshaste> nope that's a different problem.. sorry
Zaab1t has joined #pypy
<mattip> that one looks ripe for closing actually, we are down to x2 slower vs heavy C-API code
<mattip> good enough
Zaab1t has quit [Quit: bye bye friends]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
jacob22__ has quit [Remote host closed the connection]
nunatak has joined #pypy
jacob22__ has joined #pypy
mattip has quit [Ping timeout: 252 seconds]
mattip has joined #pypy
lritter has joined #pypy
nunatak has quit [Quit: Leaving]
themsay has joined #pypy
themsay has quit [Read error: Connection reset by peer]
themsay has joined #pypy
dstufft has quit [Excess Flood]
dstufft has joined #pypy
lritter has quit [Quit: Leaving]
antocuni has joined #pypy
Kipras_ has quit [Read error: Connection reset by peer]
danieljabailey has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.2]
ssbr has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
energizer has quit [Quit: ZNC 1.7.0+deb0+xenial1 - https://znc.in]
energizer has joined #pypy