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]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
rubdos has quit [Ping timeout: 260 seconds]
rubdos has joined #pypy
jcea has joined #pypy
kipras has quit [Read error: Connection reset by peer]
speeder39_ has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4352 [Yury V. Zaytsev: force build, py3.5]
jcea has quit [Quit: jcea]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #pypy
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #pypy
themsay has quit [Ping timeout: 250 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
themsay has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
dddddd has quit [Remote host closed the connection]
speeder39_ has quit [Quit: Connection closed for inactivity]
<kenaan> mattip unicode-utf8-py3 53455a64a497 /pypy/interpreter/unicodehelper.py: fix 98c9d750a001
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5945 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7219 [mattip: force build, unicode-utf8-py3]
<kenaan> mattip unicode-utf8-py3 87ee2e64d118 /pypy/doc/whatsnew-pypy3-head.rst: make doc test pass
_whitelogger has joined #pypy
commandoline has quit [*.net *.split]
igitoor has quit [*.net *.split]
mdash has quit [*.net *.split]
nedbat has quit [*.net *.split]
Cheery has quit [*.net *.split]
igitoor has joined #pypy
Cheery has joined #pypy
commandoline has joined #pypy
nedbat has joined #pypy
igitoor has quit [Changing host]
igitoor has joined #pypy
themsay has quit [Ping timeout: 245 seconds]
themsay has joined #pypy
themsay has quit [Ping timeout: 244 seconds]
themsay has joined #pypy
zmt00 has quit [Read error: Connection reset by peer]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
zmt00 has joined #pypy
lritter has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5945 [mattip: force build, unicode-utf8-py3]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7219 [mattip: force build, unicode-utf8-py3]
themsay has quit [Ping timeout: 246 seconds]
Ai9zO5AP has joined #pypy
<mattip> zaytsev: the cffi builds use the usual distutils/setuptools methods for finding msvc compilers from python3.
<mattip> it is looking for a vcvarsall.bat but via registry entries, not using the environment variables
<mattip> if I was starting over, I would only use that method since it is "blessed" by cpython
<zaytsev> mattip: okay, so that explains it. but do you have an idea why registry entries are not there? i installed everything using official installer, you saw it. i thought that vcvarsall.bat is not there, but i can't chekc now
<mattip> mine is at the VS140COMNTOOLS path
<mattip> so I guess we should have been suspicious when your needed to set that environment variable :(
<cfbolz> arigato: of course the unicode list strategy has exactly the same questions attached on the utf8 branch :-(
<cfbolz> right now it's storing ascii only, but there are loopholes, I think
jcea has joined #pypy
<kenaan> mattip unicode-utf8-py3 0be26dc39a59 /pypy/objspace/std/unicodeobject.py: unicodeobject.text_w must be valid unicode Can we speed this up by storing a _valid state when creating ...
<kenaan> mattip unicode-utf8-py3 58a8827b62dc /pypy/interpreter/unicodehelper.py: fix definitely broken code
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5946 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7220 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4355 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4173 [mattip: force build, unicode-utf8-py3]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4173 [mattip: force build, unicode-utf8-py3]
<mattip> not sure about 0be26dc39a59, let's see what tests say
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4355 [mattip: force build, unicode-utf8-py3]
agronholm has quit [Ping timeout: 250 seconds]
i9zO5AP has joined #pypy
Ai9zO5AP has quit [Ping timeout: 240 seconds]
mdash has joined #pypy
oberstet has joined #pypy
i9zO5AP has quit [Quit: WeeChat 2.3]
<cfbolz> mattip: I am confused by this, should W_UnicodeObject *always* contain valid utf-8?
<cfbolz> Shouldn't
dddddd has joined #pypy
Rhy0lite has joined #pypy
antocuni has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5946 [mattip: force build, unicode-utf8-py3]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has joined #pypy
adamholm_ has joined #pypy
<mattip> cfbolz: hmm, so the check should be at newtext instead? yes, maybe
<mattip> but then what about all the ways to decode with error handlers?
adamholmberg has quit [Ping timeout: 246 seconds]
<cfbolz> mattip: are you sure that the invalid unicode was created via newtext?
oberstet has quit [Quit: Leaving]
<mattip> that is the main gateway to creating a W_UnicodeObject
<ronan> cfbolz, mattip: W_UnicodeObject is *not* always valid Unicode
<cfbolz> Because array module?
adamholmberg has joined #pypy
adamholm_ has quit [Read error: Connection reset by peer]
<ronan> cfbolz: not in py3. But what you can have is surrogates
<cfbolz> Right
<mattip> like u"\udc00", which the last commit refuses to create. Backing out
<mattip> I was trying to fix the socket test that was not raising a UnicodeDecodeError
<mattip> socket.getaddrinfo('localhost', '\uD800')
<mattip> it seems I need to check before the call to the C function, not at space.text_w(space.wrap(u'\uD800'))
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
xcm has quit [Remote host closed the connection]
adamholm_ has quit [Remote host closed the connection]
xcm has joined #pypy
nimaje has quit [Ping timeout: 252 seconds]
<kenaan> mattip unicode-utf8-py3 92187a9964e4 /pypy/objspace/std/unicodeobject.py: Backed out changeset: 0be26dc39a59
<kenaan> mattip unicode-utf8-py3 15a9ac1c0012 /pypy/module/_socket/: test, fix encoding port from unicode to bytes
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7220 [mattip: force build, unicode-utf8-py3]
nimaje has joined #pypy
nimaje1 has joined #pypy
nimaje is now known as Guest2852
Guest2852 has quit [Killed (card.freenode.net (Nickname regained by services))]
nimaje1 is now known as nimaje
<kenaan> mattip unicode-utf8-py3 a2e41be99943 /pypy/interpreter/unicodehelper.py: fix for mac OS
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5947 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7221 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4356 [mattip: force build, unicode-utf8-py3]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4174 [mattip: force build, unicode-utf8-py3]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4174 [mattip: force build, unicode-utf8-py3]
<ronan> mattip: the meaning of text_w() is unclear on unicode-utf8-py3. On py3.5, it encodes to utf8, so shouldn't it be the same on the branch?
nimaje1 has joined #pypy
nimaje is now known as Guest9568
nimaje1 is now known as nimaje
<ronan> (i.e. 0be26dc39a59 looked correct to me)
Guest9568 has quit [Read error: Connection reset by peer]
<mattip> well, it caused lots of test failures
nimaje1 has joined #pypy
nimaje has quit [Killed (wolfe.freenode.net (Nickname regained by services))]
nimaje1 is now known as nimaje
<mattip> and broke translation on win32
<mattip> so maybe there are places we are abusing text_w that should be utf8_w ?
nimaje is now known as Guest74671
Guest74671 has quit [Killed (niven.freenode.net (Nickname regained by services))]
nimaje1 has joined #pypy
<ronan> mattip: I guess so. What's the point of having 2 methods doing the same thing?
<kenaan> mattip unicode-utf8-py3 8830c8411301 /TODO: improve TODO
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 244 seconds]
nimaje1 has joined #pypy
nimaje is now known as Guest66037
Guest66037 has quit [Killed (leguin.freenode.net (Nickname regained by services))]
nimaje1 is now known as nimaje
nimaje has quit [Ping timeout: 268 seconds]
xcm has quit [Ping timeout: 246 seconds]
senyai has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5947 [mattip: force build, unicode-utf8-py3]
xcm has joined #pypy
<mattip> our arm builds are split in two, a buildbot http://buildbot.pypy.org/buildslaves/hhu-cross-raspbianhf
<mattip> that builds the image, and then a runner that downloads and runs it. The first is a cross-compiler, and has not been working for a while
<mattip> I will send a mail to the maintainer
lritter has quit [Ping timeout: 240 seconds]
speeder39_ has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7221 [mattip: force build, unicode-utf8-py3]
nimaje has joined #pypy
antocuni has quit [Ping timeout: 272 seconds]
jacob22__ has quit [Read error: Connection reset by peer]
mdash_ has joined #pypy
jacob22__ has joined #pypy
kandinsk1 is now known as kandinski
Zaab1t has joined #pypy
xcm is now known as Guest56442
Guest56442 has quit [Killed (asimov.freenode.net (Nickname regained by services))]
xcm has joined #pypy
mdash_ has quit [Quit: leaving]
Kipras_ has joined #pypy
Ai9zO5AP has joined #pypy
i9zO5AP has joined #pypy
i9zO5AP has quit [Client Quit]
Ai9zO5AP has quit [Ping timeout: 245 seconds]
amz3 has joined #pypy
<amz3> hello, what does this note means in cffi documentation: [2] C function calls are done with the GIL released. @ https://cffi.readthedocs.io/en/latest/ref.html
<amz3> does it mean that when I call a C function the GIL is released?
Ai9zO5AP has joined #pypy
<cfbolz> amz3: yes
<amz3> tx
speeder39_ has quit [Quit: Connection closed for inactivity]
Rhy0lite has quit [Quit: Leaving]
speeder39_ has joined #pypy
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
xcm has quit [Remote host closed the connection]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4356 [mattip: force build, unicode-utf8-py3]
xcm has joined #pypy
agronholm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
voldial has joined #pypy
<voldial> Can I start regular python3 without builtins * getting imported?
Kipras_ has quit [Read error: Connection reset by peer]
Zaab1t has quit [Quit: bye bye friends]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
wleslie has quit [Ping timeout: 246 seconds]
wleslie has joined #pypy
glyph has quit [Quit: End of line.]
glyph has joined #pypy
Arfrever has quit [Ping timeout: 244 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
Ai9zO5AP has quit [Ping timeout: 245 seconds]
Ai9zO5AP has joined #pypy
amz3 has quit [Ping timeout: 272 seconds]