arigato 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 | mac OS and Fedora are not Windows
danieljabailey has quit [Quit: ZNC 1.6.6+deb1ubuntu0.1 - http://znc.in]
danieljabailey has joined #pypy
lritter has quit [Remote host closed the connection]
jcea has quit [Ping timeout: 250 seconds]
dddddd has quit [Quit: Hasta otra..]
Kipras_ has quit [Read error: Connection reset by peer]
Kipras_ has joined #pypy
dan- has quit [Ping timeout: 245 seconds]
dan- has joined #pypy
dan- has quit [Changing host]
dan- has joined #pypy
dan- has quit [Ping timeout: 240 seconds]
dan- has joined #pypy
dan- has quit [Changing host]
dan- has joined #pypy
<mattip> NumPy HEAD + PyPy on the py3.6 branch fails in PySequenceFast_ITEMS
<mattip> it seems cpython does not enforce using PySequece_Fast() before calling another PySequenceFast* function,
<mattip> so we crash on non-converted lists and tuples
forgottenone has joined #pypy
dan- has quit [Ping timeout: 240 seconds]
dan- has joined #pypy
dan- has quit [Changing host]
dan- has joined #pypy
<mattip> s/crash/raise an exception/
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
jamesaxl has joined #pypy
Arfrever has joined #pypy
antocuni has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
dddddd has joined #pypy
mattip_ has joined #pypy
<mattip_> numpy is now testing its interop with ctypes, but our memoryview(Structure) support is not good
<mattip_> we simply punt on the format string and return 'B'
<cfbolz> mattip_: yes, our ctypes is still fairly buggy :-(
<mattip_> is there a way to create a memorview object from pure python? I don't think so
<mattip_> maybe from _cffi_backend somehow
<mattip_> cfbolz: can you rubber duck a bit?
<cfbolz> I can try, but I know literally knowing about memoryview :-(
<mattip_> I am trying to trackdown where something is not right with unicode-utf8-py3
<cfbolz> mattip_: ^^
<mattip_> it translates and runs, but when I key in a unicode value in the repl it crashes
<mattip_> it seems like the unicode is being encoded as utf8 and the last bytes is being copied twice
<mattip_> but I don't understand where the keypress is being encoded. Is it pyrepl? is is somewhere else?
<mattip_> of course with pyinteractive everything works fine
<cfbolz> mattip_: how does it crash?
<cfbolz> I've seen some things like that in pdb on pypy as well
<cfbolz> on default though
<mattip_> it crashes when trying to decode the encoded utf8, since it has a repeated bytes sometimes that byte is invalid unicode
<mattip_> so the sequence seems to be unicode keypress -> encoded utf8 -> space.newtext(utf8) -> pyrepl.UnixConsole.refresh(utf8.decode)
<mattip_> the last step raises a fatal exception
<cfbolz> mattip_: is this a py3 only problem?
<mattip_> it seems like a unicode-utf8 only problem, but the unicode-utf8 branch does not translate now, after the rsre refactoring
<mattip_> where the unicode-utf8-py3 one does
<cfbolz> ah, right :-(
<cfbolz> mattip_: and let me guess, pyrepl is not tested?
<mattip_> something about context.next is not being annotated properly
<mattip_> on unicode-utf8
<cfbolz> otherwise you could run the pyrepl tests and try to narrow it down
<mattip_> tests do not seem to show the issue
<cfbolz> :-(
<mattip_> actually look pretty good
<mattip_> pypy.module._cffi_backend.test.test_re_python is broken on py3.5 too, so really there are less than 20 failing tests, other than pypyjit
<mattip_> maybe I'll just keep trying to fix those, and one will magiclly fix the repl problem
mattip_ has left #pypy ["Leaving"]
antocuni has quit [Ping timeout: 250 seconds]
<cfbolz> mattip: sorry
Taggnostr2 has quit [Ping timeout: 268 seconds]
kbtr has quit [Quit: Lost terminal]
kbtr has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
Graypup_ has joined #pypy
marky1991 has joined #pypy
adamholmberg has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
Rhy0lite has joined #pypy
mutzel has joined #pypy
mutzel has left #pypy [#pypy]
antocuni has joined #pypy
jcea has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
forgottenone has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 244 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
antocuni has quit [Ping timeout: 268 seconds]
marky1991 has quit [Ping timeout: 250 seconds]
antocuni has joined #pypy
antocuni has quit [Ping timeout: 268 seconds]
Zaab1t has joined #pypy
antocuni has joined #pypy
antocuni has quit [Ping timeout: 272 seconds]
antocuni has joined #pypy
irclogs_io_bot has quit [Remote host closed the connection]
irclogs_io_bot has joined #pypy
antocuni has quit [Ping timeout: 244 seconds]
antocuni has joined #pypy
<ronan> mattip: not sure why pypy.module._cffi_backend.test.test_re_python fails, it *is* meant to pick up the host's cffi AFAIK. Maybe cffi needs to be reinstalled?
antocuni has quit [Ping timeout: 268 seconds]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
forgottenone has quit [Quit: Konversation terminated!]
marky1991 has joined #pypy
glyph has quit [Remote host closed the connection]
glyph has joined #pypy
glyph_ has joined #pypy
glyph has quit [Ping timeout: 240 seconds]
glyph_ is now known as glyph
lritter has joined #pypy
Zaab1t has quit [Quit: bye bye friends]
marky1991 has quit [Ping timeout: 246 seconds]
Rhy0lite has quit [Quit: Leaving]
jamesaxl has quit [Quit: WeeChat 2.2]
marky1991 has joined #pypy
<mdash> if I wanted to build my rpython project as a shared library so it can be used in an embedded fashion like pypy, where would I start reading?
<mattip> mdash: look at the `shared` option http://doc.pypy.org/en/latest/config/translation.shared.html
<mattip> that is the "how", the "what" is more difficult to design
<mattip> mdash: for a "what not" see this issue https://bitbucket.org/pypy/pypy/issues/2617
<mdash> mattip: i've got some ideas for experimenting. :)
<mattip> about how PyPy should be exposing less
<mdash> mattip: thanks, this helps
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
themsay has joined #pypy
jcea has quit [Ping timeout: 260 seconds]