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
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
jcea has quit [Quit: jcea]
dddddd has quit [Remote host closed the connection]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
_whitelogger has joined #pypy
kanaka has quit [Ping timeout: 246 seconds]
kanaka has joined #pypy
speeder39_ has joined #pypy
Taggnostr has quit [Ping timeout: 252 seconds]
speeder39_ has quit [Quit: Connection closed for inactivity]
xcm has quit [Remote host closed the connection]
Taggnostr has joined #pypy
xcm has joined #pypy
<hruske> tensorflow is also using cython
<mattip> probably pytorch and mxnet as well then
<hruske> ahaha, pytorch sdist package on pypi just throws a message saying you should install pytorch from pytorch.org
<kenaan> mattip default 9ece3d54c956 /pypy/: fix, use unicodehelper.wcharpsize2utf8 more widely
<kenaan> mattip py3.6 8c13dfd0c64b /pypy/: merge default into branch, use unicodehelper.wcharpsize2utf8 which can raise
<kenaan> mattip py3.6 c73741830344 /pypy/: fix translation and fix failing test
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4433 [mattip: force build, py3.6]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7310 [mattip: force build, py3.6]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4433 [mattip: force build, py3.6]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<kenaan> mattip default ad61d87e47a5 /rpython/rtyper/lltypesystem/rffi.py: add track_allocation to utf82wcharp
<kenaan> mattip py3.6 b7734909be86 /rpython/rtyper/lltypesystem/rffi.py: merge default into branch
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4434 [mattip: force build, py3.6]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4434 [mattip: force build, py3.6]
<cfbolz> OK, the strptime test now passes, so do the import tests
<mattip> +1
<cfbolz> mattip: the unicode stuff is a bit whack-a-mole
<mattip> do you mean all the noisy commits?
<cfbolz> mattip: no, just that it's a million small things. but anyway, story of your last year, I suppose ;-)
<cfbolz> mattip: rffi has a typo, I'm fixing it
<kenaan> cfbolz default 5dd4d5699b26 /rpython/rtyper/lltypesystem/rffi.py: fix typo
<kenaan> cfbolz py3.6 8ee263d8a3b8 /rpython/rtyper/lltypesystem/rffi.py: merge default
<mattip> thanks, there are more. Working on them
<cfbolz> ah, also the lib-python tests don't run on 3.6
<kenaan> cfbolz py3.6 09fa8b41bcf5 /lib-python/conftest.py: add missing tests
iomari has joined #pypy
iomari has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<kenaan> mattip py3.6 20b185cf3f0c /: fixes
Zaab1t has joined #pypy
Zaab1t has quit [Quit: bye bye friends]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7310 [mattip: force build, py3.6]
isomari has joined #pypy
isomari has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
isomari has joined #pypy
dddddd has joined #pypy
jcea has joined #pypy
lritter has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
isomari has quit [Ping timeout: 246 seconds]
isomari has joined #pypy
xcm has quit [Ping timeout: 244 seconds]
<kenaan> cfbolz py3.6 dcf828c11e94 /pypy/module/posix/test/test_posix2.py: unlink deleted the test file that the other tests depended on
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4435 [mattip: force build, py3.6]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4435 [mattip: force build, py3.6]
<mattip> win32 build fails, but not sure how to fix it.
<mattip> rpython/rlib/_os_support.py line 68 has return path.as_unicode(), but path is apparently a str, not a FileEncode or FileDecode
danieljabailey has quit [Ping timeout: 250 seconds]
<cfbolz> mattip: can you get access to a shell on that machine? if you have a pdb on the failing translation you can ask for the callers of that function
<mattip> yeah
<mattip> probably some unicode->utf8 stuff I only partially finished, and now it is broken
<cfbolz> yeah :-(
<mattip> ok, at pdb, I have the graph and the block. How do I get the callers?
<kenaan> cfbolz py3.6 888ecff170da /pypy/module/readline/test/test_readline.py: add the same skip that test_curses.py uses
<cfbolz> mattip: find a translator, it should have a .callg attribute. let me grep what its keys are
<cfbolz> mattip: or, if you have graphviz and pygame, you can say 'callg graph'
<mattip> cool
<cfbolz> no, it's translator.callgraph
<cfbolz> but it's a bit weird, the keys are something complicated
<cfbolz> [(value[1] for value in translator.callgraph if value[0] is graph]
<cfbolz> [value[1] for value in translator.callgraph if value[0] is graph]
<cfbolz> that should give you the calling graphs maybe?
<cfbolz> no, that gives you the callees
<cfbolz> so maybe this: [value[0] for value in translator.callgraph if value[1] is graph]
isomari has quit [Ping timeout: 246 seconds]
<mattip> I started with graph as_str__str, and that gave me the graph of_str0__str, so I need to go up one more level
<mattip> s/of_str0__str/of as_str0__str/
<mattip> but trying the same expression with the caller came up empty
<mattip> ahh, got it, thanks! I was using the direct result of your expression, which was a list.
<mattip> cool
<mattip> even if I wrote that down, I would forget where I wrote it next time I need it
<cfbolz> mattip: callg is really much nicer, if you can get it
<cfbolz> how do you connect to the machine? ssh?
<mattip> rdp. It is in the next room
<mattip> so I could do callg
<cfbolz> try it, it makes navigating the callgraph kind of nice
<cfbolz> (but yes, you need pygame and graphviz
<cfbolz> )
<mattip> ... and for all of you impatient people waiting at home, the answer is module/posix/interp_nt._getfinalpathname_llimpl
<mattip> so I am passing it a utf8 str instead of a unicode
<cfbolz> :-)
<cfbolz> mattip: maybe we could add an annenforceargs somewhere?
* cfbolz is reading the most amazing code about optimizing sys.exc_info
<mattip> the real problem is that windows has two families of functions: winfuncA and winfuncW for char* and w_char*,
<mattip> and the only path right now to the winfuncW is through UnicodeTraits() which wants unicode strings
<mattip> so we need a Utf8Traits() that calls the winfuncW with utf8 strings
<mattip> cfbolz: link?
<cfbolz> (it's broken, I need to fix it)
<mattip> the commit messaage: do not escape the frame when seeing code that reads e.g. 'sys.exc_info()[1]' or 'sys.exc_info()[:2]'
<cfbolz> mattip: yes, the tests are even great
<cfbolz> and it seems I was even involved in writing it
<kenaan> cfbolz py3.6 c8b336bec4ac /pypy/module/sys/vm.py: adapt this completely amazing code that optimizes sys.exc_info() to wordcode
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6038 [Carl Friedrich Bolz: force build, py3.6]
marky1991 has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
jcea has quit [Ping timeout: 268 seconds]
jcea has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6038 [Carl Friedrich Bolz: force build, py3.6]
moei has joined #pypy
danieljabailey has joined #pypy
forgottenone has joined #pypy
<fijal> cfbolz: yes, careful yoga :-)
<cfbolz> Yep
<kenaan> mattip default 13b00df4c588 /rpython/rlib/: revert 6165ec8e5e76, broke translation on win32
<kenaan> mattip py3.6 199b7e88fe60 /rpython/rlib/: merge default into branch
<kenaan> mattip py3.6 02cb9ab27bd1 /pypy/module/: merge heads
kipras has joined #pypy
jcea has quit [Remote host closed the connection]
forgottenone has quit [Quit: Konversation terminated!]
Zaab1t has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
jcea has joined #pypy
Zaab1t has quit [Quit: bye bye friends]
nunatak has joined #pypy
nunatak has quit [Remote host closed the connection]
agronholm has quit [Ping timeout: 240 seconds]
jcea has quit [Ping timeout: 252 seconds]
danieljabailey has quit [Ping timeout: 240 seconds]
xcm has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy
jcea has joined #pypy
agronholm has joined #pypy
kanaka has quit [Changing host]
kanaka has joined #pypy
marky1991 has quit [Ping timeout: 246 seconds]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 246 seconds]
inhahe has quit []
inhahe has joined #pypy
inhahe has quit [Client Quit]
inhahe has joined #pypy
inhahe has quit []
inhahe has joined #pypy
kipras has quit [Ping timeout: 246 seconds]
inhahe has quit [Read error: Connection reset by peer]
inhahe has joined #pypy
<kenaan> cfbolz py3.6 068ea0e91377 /pypy/module/_collections/: call .keys first on the argument to OrderedDict
jacob22 has quit [Read error: Connection reset by peer]
jacob22 has joined #pypy