cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
jvesely has quit [Quit: jvesely]
jvesely has joined #pypy
bitbit has joined #pypy
adamholmberg has joined #pypy
bitbit has quit [Quit: Leaving]
jcea1 has joined #pypy
jcea has quit [Ping timeout: 246 seconds]
jcea1 is now known as jcea
jcea has quit [Remote host closed the connection]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
gutworth has quit [Changing host]
gutworth has joined #pypy
adamholmberg has quit [Remote host closed the connection]
mgedmin has quit [Quit: ZNC - https://wiki.znc.in/ZNC]
mgedmin has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
_whitelogger has joined #pypy
Ashleee has quit [Ping timeout: 265 seconds]
Ashleee has joined #pypy
dddddd has quit [Ping timeout: 264 seconds]
jvesely has quit [Quit: jvesely]
tsaka__ has joined #pypy
_whitelogger has joined #pypy
dmalcolm has quit [Remote host closed the connection]
dmalcolm has joined #pypy
zmt01 has quit [Ping timeout: 256 seconds]
MithrasX has joined #pypy
rguillebert has quit [Ping timeout: 256 seconds]
michelp has quit [Ping timeout: 272 seconds]
starlord has quit [Ping timeout: 240 seconds]
michelp has joined #pypy
cfbolz has quit [Ping timeout: 240 seconds]
avakdh has quit [Ping timeout: 240 seconds]
cfbolz has joined #pypy
avakdh has joined #pypy
rguillebert has joined #pypy
MithrasX has quit [Quit: Leaving]
starlord has joined #pypy
MithrasX has joined #pypy
ekaologik has joined #pypy
rubdos has quit [Ping timeout: 246 seconds]
_whitelogger has joined #pypy
lritter has joined #pypy
rubdos has joined #pypy
<rjarry> hi guys, I wonder if you know where this pypy3.5 installation comes from, I have a confusing problem installing a CFFI extension with it: https://travis-ci.com/github/rjarry/libyang-cffi/jobs/299786662#L499
<rjarry> [PyPy 5.10.1 with GCC 6.2.0 20160901]
<rjarry> looking at this code: https://github.com/mozillazg/pypy/blob/py3.5/lib-python/3/distutils/unixccompiler.py#L231 the only way this can happen is that sysconfig.get_config_var("CC") does not return 'gcc'
<rjarry> maybe pypy 5.10.1 is too old
<mattip> yes, please update to 7.3.0 if not to latest nightly
<mattip> "where this comes from" - you download it on line 161 of that log
<mattip> it seems you can get to 7.1.1 on travis https://docs.travis-ci.com/user/languages/python/#pypy-support
MithrasX has quit [Remote host closed the connection]
MithrasX has joined #pypy
dddddd has joined #pypy
MithrasX has quit [Ping timeout: 264 seconds]
jcea has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
Smigwell has joined #pypy
<rjarry> mattip: indeed, it works with 7.1.1 https://travis-ci.com/github/rjarry/libyang-cffi/builds/154080349
<rjarry> I'll forget about that error then :)
xcm has quit [Remote host closed the connection]
adamholmberg has joined #pypy
xcm has joined #pypy
rubdos_ has joined #pypy
rubdos has quit [Ping timeout: 256 seconds]
jvesely has joined #pypy
rubdos has joined #pypy
rubdos_ has quit [Ping timeout: 250 seconds]
jacob22 has quit [Quit: Konversation terminated!]
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined #pypy
jacob22 has joined #pypy
jacob22 has quit [Read error: No route to host]
jacob22 has joined #pypy
sdktda has joined #pypy
jcea has quit [Ping timeout: 256 seconds]
svanheulen has joined #pypy
jcea has joined #pypy
<svanheulen> i'm looking for a way to compile a windows dll with cffi using mingwi on linux. i have no problem manually compiling with mingw once i have the c file, but i'm not sure how to make cffi emit a windows c file when running on linux. is there any way to do this?
jcea has quit [Ping timeout: 246 seconds]
<svanheulen> looks like pycparser is choking on my cdef because i use windows types. maybe it will work if i convert those to standard types?
sdktda has quit [Quit: Leaving]
<svanheulen> that actually seems to do the trick, I just get a lot of warnings now about mismatched types, but that's easy to fix
<svanheulen> doesn't seem to complain about using WINAPI though. not sure if it's just ignoring that or if it actually defines as __stdcall.
MithrasX has quit [Ping timeout: 250 seconds]
MithrasX has joined #pypy
jcea has joined #pypy
<svanheulen> looks like i can also just set sys.platform to 'win32' and that makes cffi enable windows types
jvesely has quit [Quit: jvesely]
<svanheulen> wait, no, that doesn't work. the old c file was just never deleted.
zmt00 has joined #pypy
<antocuni> whooo, I just realized that numpy.ndarray(... dtype=object) does NOT implement tp_traverse, meaning that depending on what you put inside, you might generate a memory leak
<mattip> might be relevant
<mattip> but I don't see how that is causing cyclical references
fryguybob has quit [Remote host closed the connection]
<mattip> there is this PR to implement tp_traverse https://github.com/numpy/numpy/pull/15065
<antocuni> actually, I don't think the numpy is responsible for the memory leak I am debugging. It's just that I wrote a small cpyext extension to call tp_traverse on an object, and way trying to use a numpy array to test it
<antocuni> because I assumed it did implement tp_traverse :)
adamholmberg has quit [Remote host closed the connection]
fryguybob has joined #pypy
adamholmberg has joined #pypy
Smigwell has quit [Ping timeout: 264 seconds]
<ronan> I'm trying to understand why sys.exc_info() sometimes doesn't get cleared after a RecursionError
<ronan> but actually, I don't understand how anything works at all after an RPython StackOverflow
MithrasX has quit [Ping timeout: 256 seconds]
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
svanheulen has quit [Quit: WeeChat 2.7.1]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jvesely has joined #pypy
jvesely has quit [Client Quit]
jvesely has joined #pypy
MithrasX has joined #pypy
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
MithrasX1 has joined #pypy
MithrasX has quit [Ping timeout: 240 seconds]
MithrasX1 has quit [Ping timeout: 240 seconds]
jacob22 has quit [Quit: Konversation terminated!]
lritter has quit [Ping timeout: 264 seconds]
adamholmberg has quit [Remote host closed the connection]
jacob22 has joined #pypy
MithrasX1 has joined #pypy
<mattip> probably should merge 092ddeae86a3 into py3.6, but maybe not. Let's let the tests run and see
MithrasX1 has quit [Ping timeout: 250 seconds]