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
adamholmberg has quit [Ping timeout: 265 seconds]
adamholmberg has joined #pypy
adamholm_ has joined #pypy
oberstet3 has quit [Quit: Leaving]
adamholm_ has quit [Remote host closed the connection]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
adamholm_ has quit [Ping timeout: 264 seconds]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
lritter has quit [Remote host closed the connection]
asmeurer__ has quit [Quit: asmeurer__]
pf_moore has quit [Quit: Connection closed for inactivity]
dddddd has quit [Remote host closed the connection]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
Hotpot33 has joined #pypy
asmeurer has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jacob22__ has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 248 seconds]
asmeurer has quit [Quit: asmeurer]
tbodt has joined #pypy
jacob22__ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmeurer has joined #pypy
tbodt has joined #pypy
tbodt has quit [Ping timeout: 240 seconds]
jacob22__ has quit [Ping timeout: 248 seconds]
jacob22__ has joined #pypy
jacob22__ has quit [Remote host closed the connection]
jacob22__ has joined #pypy
jacob22__ has quit [Ping timeout: 240 seconds]
Hotpot33 has quit [Ping timeout: 260 seconds]
jacob22__ has joined #pypy
Hotpot33 has joined #pypy
Rotonen has quit [Ping timeout: 240 seconds]
Rotonen has joined #pypy
jcea has quit [Remote host closed the connection]
tbodt has joined #pypy
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…]
jamesaxl has joined #pypy
Hotpot33 has quit [Ping timeout: 264 seconds]
gutworth_ is now known as gutworth
gutworth has quit [Changing host]
gutworth has joined #pypy
asmeurer has quit [Quit: asmeurer]
energizer has quit [Ping timeout: 264 seconds]
tayfun26 has joined #pypy
Guest33959 has quit [Ping timeout: 240 seconds]
marvin has joined #pypy
marvin is now known as Guest21870
solarjoe4 has joined #pypy
solarjoe_ has joined #pypy
antocuni has joined #pypy
solarjoe4 has quit [Quit: Leaving]
marr has joined #pypy
dddddd has joined #pypy
amaury__ has quit [Ping timeout: 240 seconds]
dustinm- has quit [Write error: Connection reset by peer]
dustinm has joined #pypy
abecker has joined #pypy
pf_moore has joined #pypy
tayfun26 has quit [Remote host closed the connection]
tayfun26 has joined #pypy
amaury__ has joined #pypy
amaury__ is now known as amaury
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
solarjoe_ has quit [Quit: Leaving]
jacob22_ has joined #pypy
jacob22__ has quit [Ping timeout: 240 seconds]
<kenaan> cfbolz pyparser-improvements 1c51dd151fee /pypy/interpreter/pyparser/: improve error messages of ParseError only covers very simple cases, but at least if tells you about...
jcea has joined #pypy
marky1991 has joined #pypy
heinrich5991 has joined #pypy
jamesaxl has quit [Quit: WeeChat 2.0.1]
jamesaxl has joined #pypy
<heinrich5991> I get a `size_t *` passed to my function
<heinrich5991> how do I write my python integer into the memory location pointed to by that `size_t *`
<cfbolz> heinrich5991: using which library? cffi?
<heinrich5991> using cffi, the `size_t *` looks like this: <cdata 'size_t *' 0x55c55db117c0> and has type <class '_cffi_backend.CData'>
<heinrich5991> sorry, wasn't finished
<cfbolz> heinrich5991: I've never used cffi, but I think it's probably like this: argument[0] = python_int
<heinrich5991> ah thanks
<heinrich5991> yes, seems to work
lritter has joined #pypy
mattip has left #pypy ["bye"]
adamholmberg has joined #pypy
amaury_ has joined #pypy
amaury has quit [Ping timeout: 248 seconds]
<mjacob> antocuni: sound i indeed pack my running shoes? i probably won't go running alone in leysin. :)
marky1991 has quit [Ping timeout: 240 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
raynold has quit [Quit: Connection closed for inactivity]
tayfun26 has quit [Quit: tayfun26]
desowin has quit [Ping timeout: 245 seconds]
rubdos has quit [Ping timeout: 245 seconds]
marky1991 has joined #pypy
redj_ has joined #pypy
panni__ has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
pepesza has quit [*.net *.split]
avakdh has quit [*.net *.split]
fijal has quit [*.net *.split]
ulope has quit [*.net *.split]
redj has quit [*.net *.split]
iko has quit [*.net *.split]
panni_ has quit [*.net *.split]
pepesza- has joined #pypy
ulope has joined #pypy
<nanonyme> Hm, was there some reasonable way in CFFI to stringify an enum pointer's value?
<nanonyme> Dereferencing gives int, not enum so can't be stringified
<nanonyme> (I guess?)
<arigato> nanonyme: yes, I think it's ffi.string()
<arigato> more precisely, ffi.string(ffi.cast("my_enum_type", 123))
<nanonyme> Oh
<arigato> dereferencing gives an int, which is done in order to be closer to C
<nanonyme> For me it was mainly foo = ffi.new("myenumtype*"); callsomeapi(foo)
<arigato> but you can use ffi.cast("my_enum_type", 123) if you really want an object of that type
<nanonyme> I'm basically just trying to get a nicer error into exception through stringifying the enum
<arigato> yes, makes sense
avakdh has joined #pypy
fijal has joined #pypy
<nanonyme> Thanks, I'll try that when back at work
adamholmberg has joined #pypy
amaury_ has quit [Quit: Konversation terminated!]
amaury_ has joined #pypy
Remi_M has quit [Quit: See you!]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
energizer has joined #pypy
adamholmberg has quit [Ping timeout: 252 seconds]
adamholmberg has joined #pypy
<antocuni> mjacob: I'm surely bring both my skis and running shoes :)
rubdos has joined #pypy
marky1991 has joined #pypy
orion has joined #pypy
orion is now known as Guest27915
marky1991 has quit [Ping timeout: 256 seconds]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
adamholmberg has joined #pypy
jcea has quit [Quit: jcea]
tbodt has joined #pypy
tbodt has quit [Client Quit]
asmeurer has joined #pypy
abecker has quit [Quit: leaving]
asmeurer has quit [Ping timeout: 264 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
_main_ has joined #pypy
__main__ has quit [Read error: Connection reset by peer]
tbodt has joined #pypy
_main_ is now known as __main__
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 256 seconds]
antocuni has quit [Ping timeout: 260 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
nunatak has joined #pypy
jcea has joined #pypy
inhahe_ has quit [Ping timeout: 240 seconds]
amaury_ has quit [Ping timeout: 256 seconds]
tormoz has quit [Ping timeout: 264 seconds]
asmeurer has joined #pypy
tbodt has quit [Read error: Connection reset by peer]
redj_ is now known as redj
tbodt has joined #pypy
asmeurer has quit [Quit: asmeurer]
hniksic has joined #pypy
<hniksic> hi
<simpson> Hi.
<hniksic> does anyone have experience with using GTK under PyPy?
amaury_ has joined #pypy
<hniksic> I work for a company with a large Python/GTK codebase
<hniksic> quite large, really
<hniksic> and the speed gains of PyPy look really really attractive for us
<hniksic> but after some googling it's not clear if gobject-introspection is supported at the moment
<simpson> hniksic: I haven't used it, but https://pypi.python.org/pypi/pgi is supposed to be a compatible replacement for gi.
dmalcolm has quit [Ping timeout: 256 seconds]
marky1991 has quit [Read error: Connection reset by peer]
<hniksic> simpson: I found those, but the repository (https://github.com/pygobject/pgi) calls them experimental/unmaintained
<simpson> hniksic: Presumably if you want something maintained you will have to pay for it, when it comes to corporate involvement. That said, I don't know.
amaury_ has quit [Ping timeout: 246 seconds]
<hniksic> simpson: paying for support is fine, of course, but pgi looks pretty much abandoned
asmeurer has joined #pypy
<simpson> hniksic: It can't be any worse than gi itself~
<simpson> I didn't get this information from the void, but from the compat wiki: https://bitbucket.org/pypy/compatibility/wiki/Home
<hniksic> thanks, I'll contact the author for further information
<hniksic> for what it's worth, I got the information of PGI being unmaintained from its github repo
<hniksic> I tried running some small Python/GTK programs under PyPy, and they appear to run just fine
hniksic has left #pypy [#pypy]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
dmalcolm has joined #pypy
energizer has quit [Quit: Leaving]
nunatak has quit [Quit: Leaving]
demonimin has quit [Ping timeout: 248 seconds]
demonimin has joined #pypy
demonimin has joined #pypy
raynold has joined #pypy
drolando has quit [Quit: Textual IRC Client: www.textualapp.com]
asmeurer has quit [*.net *.split]
avakdh has quit [*.net *.split]
ulope has quit [*.net *.split]
fryguybob has quit [*.net *.split]
kanaka has quit [*.net *.split]
mvantellingen has quit [*.net *.split]
jamesaxl has quit [Quit: WeeChat 2.0.1]
asmeurer has joined #pypy
mvantellingen has joined #pypy
ulope has joined #pypy
kanaka has joined #pypy
fryguybob has joined #pypy
avakdh has joined #pypy
amaury_ has joined #pypy
demonimin has quit [Ping timeout: 240 seconds]
demonimin has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest27915 has quit [Remote host closed the connection]
orion has joined #pypy
orion is now known as Guest8011
tbodt has joined #pypy
demonimin has quit [Ping timeout: 260 seconds]
amaury_ has quit [Ping timeout: 264 seconds]