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)"
marky1991 has quit [Remote host closed the connection]
solarjoe4 has joined #pypy
<solarjoe4>
I have a module with C source code in the same folder. how can I pass this as include_dirs to setuptools / distutils? using os.path.dirname(os.path.realpath(__file__))? or is there something like include_dirs=['./']
<Duality>
i am trying to reproduce a bug i have (pypy3 segfaults) but i don't know where to start really :S
<fijal>
Duality: can you post somewhere a program that causes that?
<Duality>
fijal: it's my own code but i think i might have got one something. it's a program that kind of does nbody sim. when i comment the drawing function it does not crash anymore so it might be that the drawing function is causing it to segfault.
<fijal>
what are you using for drawing?
<Duality>
the drawing function is pygame's draw circle
<fijal>
and you're using pygame_cffi or pygame?
<Duality>
pygame_cffi
<fijal>
ok, so it's likely a bug in pygame_cffi
<Duality>
yes :)
<fijal>
can you create a small program that does *just* the drawing?
inad922 has joined #pypy
marr has quit [Ping timeout: 256 seconds]
<Duality>
i created a program that does the drawing only for pygame. i have a loop that throws big numbers for x,y into the drawing function. but so far no crash.
forgottenone has joined #pypy
<Duality>
found it
<Duality>
the magic combination that makes it segfault :D
<nanonyme>
arigato, what's your take on the CFFI minimal API thing if virtualenv maintainers seem to have the view that virtualenv has next to no future?
oberstet has quit [Ping timeout: 268 seconds]
mattip has joined #pypy
<mattip>
nanonyme: what do they view as it’s replacement?
<mattip>
its
<nanonyme>
venv
<nanonyme>
The project isn't really doing that well, it has tons of fixed issues and they made the last release somewhere in 2016
<nanonyme>
Which I brought it up is CFFI has an open bug which would be fixed by virtualenv making a release
<mattip>
ahh, thanks for clarifying
<nanonyme>
There was an upstream ticket made, you can check the situation from the CFFI minimal API ticket if you like
oberstet has joined #pypy
jamesaxl has joined #pypy
realitix has quit [Quit: realitix]
lritter has quit [Ping timeout: 240 seconds]
antocuni has quit [Ping timeout: 256 seconds]
oberstet has quit [Remote host closed the connection]
oberstet has joined #pypy
marky1991 has joined #pypy
<raynold>
Ahh it's a wonderful day
forgottenone has joined #pypy
energizer has joined #pypy
<nanonyme>
Truly, -13 degrees celcius is a fine Winter day
energizer has quit [Disconnected by services]
energizer has joined #pypy
tbodt has joined #pypy
simpson has quit [Ping timeout: 248 seconds]
simpson has joined #pypy
Rhy0lite has joined #pypy
<kenaan_>
mattip py3.5 f3013f4a60ea /rpython/translator/platform/: test, fix for compiling main.c, wmain.c if using precompiled headers
<kenaan_>
mattip py3.5 b0c75af579f5 /rpython/translator/platform/windows.py: add externals/bin to PATH so tests pick up correct dlls
<nanonyme>
mattip, what's your take on precompiled headers?
<nanonyme>
Our devs have had them interfere with MSVC capabilities in incremental rebuilding so projects that have them are just always fully rebuilt...
<kenaan_>
rlamy py3.5 5e9a14e1be53 /pypy/module/cpyext/test/test_longobject.py: fix test
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Client Quit]
<mattip>
nanonyme: they seem to save a bit of time when compiling pypy at least
<mattip>
only with msvc
forgottenone has quit [Quit: Konversation terminated!]
<kenaan_>
rlamy py3.5 f7cdc20cd320 /pypy/module/posix/test/test_posix2.py: Fix test (os.environ != posix.environ)