cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "nothing compares to the timeshifter, my personal polar expedition in software" - pedronis
asmeurer_ has quit [Quit: asmeurer_]
yuyichao has quit [Ping timeout: 258 seconds]
kipras is now known as kipras`away
cstratak has quit [Quit: Leaving]
yuyichao has joined #pypy
traverseda has quit [Ping timeout: 264 seconds]
marr has quit [Ping timeout: 240 seconds]
arnsholt has quit [Quit: Lost terminal]
asmeurer_ has joined #pypy
mattip has joined #pypy
tbodt has joined #pypy
jcea has quit [Quit: jcea]
ArneBab_ has quit [Read error: Connection reset by peer]
ArneBab has joined #pypy
mattip has left #pypy ["bye"]
altendky has quit [Ping timeout: 255 seconds]
sbauman has quit [Ping timeout: 255 seconds]
huonw has quit [Ping timeout: 255 seconds]
ulope has quit [Ping timeout: 255 seconds]
ArneBab_ has joined #pypy
tito has quit [Ping timeout: 255 seconds]
altendky has joined #pypy
tito has joined #pypy
tito has joined #pypy
graingert_ has joined #pypy
samth_ has joined #pypy
kcr_ has joined #pypy
ArneBab has quit [Ping timeout: 240 seconds]
krono_ has joined #pypy
ulope has joined #pypy
huonw has joined #pypy
graingert has quit [Read error: Connection reset by peer]
krono has quit [Ping timeout: 255 seconds]
kcr has quit [Ping timeout: 255 seconds]
samth has quit [Ping timeout: 255 seconds]
webmeister_ has quit [Ping timeout: 255 seconds]
tos9 has quit [Ping timeout: 255 seconds]
simpson has quit [Ping timeout: 255 seconds]
krono_ is now known as krono
samth_ is now known as samth
kcr_ is now known as kcr
graingert_ is now known as graingert
tos9 has joined #pypy
sbauman has joined #pypy
simpson has joined #pypy
kipras`away has quit [Ping timeout: 260 seconds]
kipras has joined #pypy
webmeister has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
_main_ has joined #pypy
jimbaker has quit [Ping timeout: 255 seconds]
pedronis has quit [Ping timeout: 255 seconds]
michaelgreene has quit [Ping timeout: 255 seconds]
__main__ has quit [Ping timeout: 255 seconds]
pedronis has joined #pypy
jimbaker has joined #pypy
michaelgreene has joined #pypy
_main_ is now known as __main__
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…]
mattip has joined #pypy
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
forgottenone has joined #pypy
danieljabailey has quit [Ping timeout: 258 seconds]
forgottenone has quit [Quit: Konversation terminated!]
mattip has quit [Ping timeout: 255 seconds]
tnorth has joined #pypy
tnorth has quit [Ping timeout: 255 seconds]
mattip has joined #pypy
mattip has quit [Quit: bye]
cjwelborn has quit [Quit: sys.exit(0)]
ronan has joined #pypy
cjwelborn has joined #pypy
realitix has joined #pypy
marky1991_2 has quit [Ping timeout: 240 seconds]
ronan has quit [Ping timeout: 248 seconds]
cstratak has joined #pypy
ronan has joined #pypy
asmeurer_ has quit [Quit: asmeurer_]
amaury has quit [Ping timeout: 248 seconds]
demonimin has quit [Remote host closed the connection]
demonimin has joined #pypy
ronan has quit [Ping timeout: 248 seconds]
ronan has joined #pypy
ronan has quit [Ping timeout: 248 seconds]
marr has joined #pypy
kipras is now known as kipras`away
arigato has joined #pypy
lesshaste has quit [Read error: Connection reset by peer]
<arigato> Alex_Gaynor: thanks for the cffi binaries! how annoyed would you be if I said the next version of cffi is needed?
<danchr> FWIW 5.9.0 is now in MacPorts — for both Python versions
<fijal> danchr: cool!
<arigato> precisely, cffi 1.11.1 is broken on Windows on CPython 3.5.x
<danchr> who maintains the Mac buider, BTW?
<danchr> +l
TheAdversary has quit [Ping timeout: 248 seconds]
<fijal> danchr: andrew dalke
blachance has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
blachance has joined #pypy
arigato has quit [Quit: Leaving]
arigato has joined #pypy
<marmoute_> I just tried pylint (on Mercurial) with pypy, I end up twice slower than Cpython (4 minutes vs 2 minutes). I'm a bit surprised.
<fijal> marmoute_: is it?
<fijal> I'm not too surprised, it's mostly ast walking and introspection
<fijal> I would think ast module is quite slow on pypy
<danchr> fijal: does he sometimes hang around here?
<fijal> danchr: I don't know
<fijal> danchr: why?
<danchr> well, would be nice to get PyPy3 building for Mac
<danchr> on the builder
<danchr> the main issue, though, is how/whether to bundle OpenSSL
<danchr> I have a script that merely links against the library, but doesn't include a full install, so no default root certificates
<fijal> pffff
<fijal> yes, would be nice to upgrade the builder
<fijal> for example that one cannot run OS X as of 2 or 3 versions ago
<fijal> feel like finding us money for the machine for example?
arigato has quit [Quit: Leaving]
arigato has joined #pypy
<danchr> fijal: it should be fine for building, but the issue is that PyPy3 no longer buids against the old and deprecated OpenSSL included with OS X
<danchr> later versions of the OS dropped the headers (but retained the library) so upgrading wouldn't fix the issue, ironically, only make it worse by also affecting PyPy2
<danchr> fijal: Mercurial has a 10.12 builder running on a Mac mini with 8GB memory — they might be able to share it a bit with PyPy
jcea has joined #pypy
arigato has quit [Ping timeout: 248 seconds]
<danchr> hmmm, it's offline
<marmoute_> danchr: I know Sean (smf) worked on getting another on online
<marmoute_> danchr: hi by the way, how are you doing ?
<danchr> marmoute_: I'm well, thank you — started at a new job about a year ago :)
<danchr> I still use Mercurial, although we use Git & GitHub here…
<marmoute_> Where/what for are you using Mercurial ?
<danchr> Well, everything except Git repositories that rely heavily on submodules
<marmoute_> So you use hggit for everything ?
<danchr> yeah
<danchr> it mostly works, and lets me keep relying on history evolution and shared repositories — which I use profusely
<danchr> $ locate '*/.hg/sharedpath' | wc -l
<danchr> 33
<danchr> marmoute_: I think this is getting every so slightly off topic for this channel ;)
ronan has joined #pypy
ronan has quit [Read error: Connection reset by peer]
linkmauve1 has joined #pypy
<linkmauve1> Hi, with pypy3 5.9.0, whenever I press a key in poezio (a curses XMPP client) I get “TypeError: initializer for ctype 'uint32_t *' must be a compatible pointer, not cdata 'int[1]'”, this seems like a regression compared to #535.
<linkmauve1> Sorry I didn’t check before the release. :(
<linkmauve1> This happens in:
<linkmauve1> val = lib.wget_wch(self._win, wch)
<linkmauve1> File "/opt/pypy3/lib_pypy/_curses.py", line 409, in get_wch
arigato has joined #pypy
<linkmauve1> According to 223ff388e219 it should be working.
<arigato> linkmauve1: this should help, can you check?:
realitix has quit [Ping timeout: 240 seconds]
<linkmauve1> How can I rebuild just this shared object again?
<arigato> by running "pypy _curses_build.py"
<arigato> but I think you don't even need to rebuild it
<arigato> just apply the changes to _curses.py
<linkmauve1> Segfault now. ^^'
<linkmauve1> Hmm, the second time it didn’t segfault.
<linkmauve1> Maybe because I’m now running it in gdb.
<arigato> :-/
<linkmauve1> No, it also works outside of gdb.
<linkmauve1> And poezio seems completely usable. ^^
<linkmauve1> Oh, I still have the coredump in journald.
<linkmauve1> It’s totally not helpful though, ArchLinux didn’t build pypy3 with debug symbols…
<linkmauve1> Here is the stack trace, it looks useless but if you think it isn’t I can give you the core file: https://linkmauve.fr/files/pypy3.txt
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
<linkmauve1> So, aside from the memory consumption (43 MiB under cpython, 129 MiB under pypy3), poezio seems to work perfectly with this patch now, thanks!
<arigato> the crash seems to be inside a callback from ares_query() called with cffi
<arigato> I hope you won't continue to get random rare crashes
<linkmauve1> I built pycares and aiodns as is, the first one depends on cpyext IIRC.
<linkmauve1> I don’t think I will run poezio in pypy3, AFAIK the ARMv7 JIT is still not enabled by default, and with the huge increase of memory compared to cpython it won’t run well on my server anyway (which has only 512 MiB, not extendable).
realitix has joined #pypy
arigato has quit [Ping timeout: 240 seconds]
realitix has quit [Ping timeout: 240 seconds]
yuyichao has quit [Ping timeout: 258 seconds]
realitix has joined #pypy
Mudcastle has joined #pypy
<Mudcastle> Hey there.
Rhy0lite has joined #pypy
<Mudcastle> I think I may have found a bug in Pypy, but I wanted to be sure first.
yuyichao has joined #pypy
adamholmberg has joined #pypy
arigato has joined #pypy
<arigato> linkmauve1: we have a ARMv7 JIT. Maybe arch(?) linux on ARMv7 doesn't include the jit in its pypy3 builds? It doesn't really make sense for us
<arigato> Mudcastle: yes?
<Mudcastle> arigato: A module I'm trying to convert to work with Pypy is copying sys.path into the PYTHONPATH environment variable before launching a subprocess python, and this seems to have the effect of overshadowing the built-in cStringIO since /opt/pypy/lib_pypy (and consequently the cStringIO.py file) falls under that, preventing the built-in import.
<Mudcastle> Is this a failing of Pypy or the module?
<arigato> that's certainly relying on a detail, but getting this kind of detail exactly like CPython is usually part of PyPy's job
<Mudcastle> I can submit a bug report then.
<arigato> yes, please. I'm failing to reproduce it, be sure to include all steps in the bug report
<Mudcastle> Of course.
<linkmauve1> arigato, actually ALARM doesn’t even include pypy and pypy3, maybe that’s something that should be fixed on their end now.
<linkmauve1> I’ll report them an issue then, thanks. :)
danieljabailey has joined #pypy
arigato has quit [Ping timeout: 240 seconds]
Thinh has joined #pypy
marky1991_2 has joined #pypy
forgottenone has joined #pypy
amaury has joined #pypy
yuyichao has quit [Ping timeout: 248 seconds]
traverseda_lapto has joined #pypy
yuyichao has joined #pypy
amaury has quit [Ping timeout: 255 seconds]
yuyichao_ has joined #pypy
yuyichao__ has joined #pypy
yuyichao_ has quit [Read error: Connection reset by peer]
yuyichao has quit [Ping timeout: 248 seconds]
marky1991_2 has quit [Ping timeout: 248 seconds]
tnorth has joined #pypy
marky1991 has joined #pypy
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
tbodt has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
realitix has quit [Quit: Leaving]
raynold has joined #pypy
tnorth has quit [Ping timeout: 255 seconds]
Gabriel_8 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
carljm has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
traverseda_lapto has quit [Ping timeout: 258 seconds]
asmeurer__ has joined #pypy
asmeurer__ has quit [Client Quit]
forgottenone has quit [Quit: Konversation terminated!]
cstratak has quit [Ping timeout: 248 seconds]
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
lritter has joined #pypy
kipras`away is now known as kipras
tnorth has joined #pypy
Rhy0lite has quit [Quit: Leaving]
cstratak has joined #pypy
amaury has joined #pypy
cstratak has quit [Quit: Leaving]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
marky1991 has joined #pypy
zware has left #pypy ["Parting"]
ronny has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
danieljabailey has quit [Ping timeout: 258 seconds]
danieljabailey has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
tnorth has quit [Ping timeout: 264 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
amaury has quit [Ping timeout: 248 seconds]
traverseda_lapto has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
traverseda_lapto has quit [Ping timeout: 240 seconds]
traverseda_lapto has joined #pypy
yuyichao__ has quit [Ping timeout: 240 seconds]
yuyichao__ has joined #pypy