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)"
tbodt has quit [Ping timeout: 256 seconds]
tbodt has joined #pypy
marr has quit [Ping timeout: 255 seconds]
jcea has quit [Quit: jcea]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
forgottenone has joined #pypy
dddddd has quit [Remote host closed the connection]
lritter__ has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
wleslie has joined #pypy
glyph has quit [Quit: End of line.]
glyph has joined #pypy
wleslie has quit [Quit: ~~~ Crash in JIT!]
speeder39 has joined #pypy
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=['./']
jacob22__ has joined #pypy
forgottenone has quit [Remote host closed the connection]
jacob22__ has quit [Ping timeout: 268 seconds]
jacob22__ has joined #pypy
marr has joined #pypy
jacob22__ has quit [Ping timeout: 260 seconds]
oberstet has quit [Ping timeout: 268 seconds]
antocuni has joined #pypy
energizer has quit [Ping timeout: 265 seconds]
speeder39 has quit [Quit: Connection closed for inactivity]
demonimin has joined #pypy
<fijal> hi
oberstet has joined #pypy
jcea has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
jcea has quit [Read error: Connection reset by peer]
jcea1 has joined #pypy
jcea1 is now known as jcea
ebarrett has joined #pypy
mcyprian has joined #pypy
ssbr has quit [Ping timeout: 252 seconds]
lritter__ has quit [Quit: Leaving]
lritter__ has joined #pypy
lritter__ is now known as lritter
lritter has quit [Remote host closed the connection]
lritter has joined #pypy
raynold has quit [Quit: Connection closed for inactivity]
mcyprian has quit [Ping timeout: 256 seconds]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
dddddd has joined #pypy
antocuni has joined #pypy
Duality has joined #pypy
<Duality> hi
<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
jcea1 has joined #pypy
jcea has quit [Ping timeout: 256 seconds]
jcea1 is now known as jcea
<Duality> fijal: thanks for the help :)
<fijal> Duality: submit a bug to pygame_cffi maybe?
the_drow has joined #pypy
<Duality> fijal: already did
<fijal> awesome, thanks
<the_drow> Hi, is this a bug in PyPy? https://github.com/celery/celery/issues/4533
<fijal> the_drow: I think it's accidental that it works with unicode
<the_drow> fijal, Python 3 requires a unicode string
<fijal> the_drow: yes, python 3 is not compatible with python 2
<the_drow> fijal, So on PyPy 3 I have to use unicode and on PyPy 2 I have to use a bytes string?
<fijal> I think that makes sense, no?
<fijal> I mean maybe not and we should mimick the cpython2 directly
<the_drow> dbm.open(u'123', 'c') <- CPython 3.6.4
<the_drow> dbm.open(b'123', 'c') raises an error
<fijal> yes, that's python 3
<fijal> but python 2 probably accepts both
<fijal> which is IMO wrong, but maybe we don't get a say
<the_drow> Shall I open an issue about this?
<fijal> yes please
<the_drow> Will do soon
realitix has joined #pypy
marr has joined #pypy
mcyprian has joined #pypy
Duality has quit [Ping timeout: 256 seconds]
solarjoe4 has quit [Quit: Leaving]
robert_ has joined #pypy
robert_ has quit [Client Quit]
iko has quit [Ping timeout: 256 seconds]
iko has joined #pypy
forgottenone has quit [Remote host closed the connection]
d0x0b has joined #pypy
d0x0b has quit [Quit: d0x0b]
inad922 has quit [Ping timeout: 255 seconds]
the_drow has quit [Ping timeout: 240 seconds]
raynold has joined #pypy
<fijal> thanks!
<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
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1700 [mattip: force build, py3.5]
<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)
tbodt has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/1700 [mattip: force build, py3.5]
marky1991 has quit [Read error: Connection reset by peer]
jacob22__ has joined #pypy
Rhy0lite has quit [Quit: Leaving]
<kenaan_> mattip winapi bc3564c15ff9 /: close branch to be merged
<kenaan_> mattip py3.5 4cf12d2f65d9 /: merge winapi which modernizes _winapi and _pypy_winbase_cffi
<mattip> heh, even though we compile with MSC v.1900, the version string still says MSC v.1500
<mattip> which confuses the algorithm used to choose the msvc compiler for numpy
<mattip> ahh, no, anubis64 is really using the old compiler :(
jamesaxl has quit [Quit: WeeChat 2.0.1]
<mattip> maybe this will fix it
<kenaan_> mattip py3.5 82a463d6b79a /rpython/translator/platform/windows.py: revert 5a84b83fffbe, breaks finding vs2017
mattip has left #pypy ["Leaving"]
oberstet has quit [Ping timeout: 264 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
jacob22__ has quit [Ping timeout: 256 seconds]
dddddd has quit [Remote host closed the connection]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy