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