antocuni changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "PyPy: the Gradual Reduction of Magic (tm)"
tbodt has joined #pypy
gefarion has quit [Ping timeout: 240 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jimbaker_ has quit [Changing host]
jimbaker_ has joined #pypy
Hotpot33 has quit [Ping timeout: 248 seconds]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
tbodt has quit [Client Quit]
drolando has joined #pypy
gefarion has joined #pypy
tbodt has joined #pypy
gefarion has quit [Quit: Leaving]
pilne has joined #pypy
exarkun has joined #pypy
<kenaan> rlamy unicode-utf8 ac75e33e51bb /pypy/: Add utf8-based replacement for runicode.unicode_encode_decimal() to unicodehelper and fix PyUnicode_EncodeDeci...
inhahe_ has quit []
marr has quit [Ping timeout: 268 seconds]
drolando has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drolando has joined #pypy
<kenaan> mjacob py3.6 f04d4604c7e3 /: hg merge py3.5 (+ fixes) I'm not 100% sure about the merge in test_dis.py, but most of the tests are failing anyway.
inhahe_ has joined #pypy
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
<kenaan> rlamy unicode-utf8 598f10607a50 /pypy/: translation fixes
<kenaan> rlamy unicode-utf8-test 33d09fc56c08 /: hg merge unicode-utf8
<kenaan> rlamy unicode-utf8-test 9fe5f582087d /pypy/objspace/std/objspace.py: fix space.newunicode
<kenaan> rlamy unicode-utf8-test e6db8eec731a /pypy/: hg merge unicode-utf8
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5139 [ronan: force build, unicode-utf8-test]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6431 [ronan: force build, unicode-utf8-test]
adamholmberg has quit [Remote host closed the connection]
exarkun has quit [Ping timeout: 246 seconds]
exarkun has joined #pypy
ArneBab has joined #pypy
pilne has quit [Quit: Quitting!]
ArneBab_ has quit [Ping timeout: 248 seconds]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6431 [ronan: force build, unicode-utf8-test]
ssbr has quit [Ping timeout: 255 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5139 [ronan: force build, unicode-utf8-test]
Hotpot33 has joined #pypy
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
ArneBab has quit [*.net *.split]
inhahe_ has quit [*.net *.split]
SunDwarf has quit [*.net *.split]
dustinm has quit [*.net *.split]
utkarsh_ has quit [*.net *.split]
dmalcolm_ has quit [*.net *.split]
kolko has quit [*.net *.split]
jiffe has quit [*.net *.split]
jerith has quit [*.net *.split]
kenaan has quit [*.net *.split]
Guest77097 has quit [*.net *.split]
ronan has quit [*.net *.split]
tito has quit [*.net *.split]
jeroud has quit [*.net *.split]
infernix has quit [*.net *.split]
MarkMangoba has quit [*.net *.split]
ceridwen has quit [*.net *.split]
__main__ has quit [*.net *.split]
nopf has quit [*.net *.split]
dstufft has quit [*.net *.split]
[0__0] has quit [*.net *.split]
reaperhulk has quit [*.net *.split]
amontalenti has quit [*.net *.split]
Kronuz has quit [*.net *.split]
benbangert has quit [*.net *.split]
whitewolf has quit [*.net *.split]
runciter has quit [*.net *.split]
bbot2 has quit [*.net *.split]
bjs has quit [*.net *.split]
kirma has quit [*.net *.split]
JStoker has quit [*.net *.split]
mwhudson has quit [*.net *.split]
gclawes has quit [*.net *.split]
pedronis has quit [*.net *.split]
Hotpot33 has quit [*.net *.split]
drolando has quit [*.net *.split]
jacob22__ has quit [*.net *.split]
njs has quit [*.net *.split]
AndrewBC has quit [*.net *.split]
Garen has quit [*.net *.split]
infinite has quit [*.net *.split]
ulope has quit [*.net *.split]
riddle has quit [*.net *.split]
pulkitg has quit [Ping timeout: 240 seconds]
abvi[m]1 has quit [Ping timeout: 240 seconds]
bendlas has quit [Ping timeout: 255 seconds]
yuvipanda has quit [Ping timeout: 252 seconds]
drolando has joined #pypy
jacob22__ has joined #pypy
jneen has joined #pypy
mwhudson has joined #pypy
kirma has joined #pypy
bjs has joined #pypy
pedronis has joined #pypy
JStoker has joined #pypy
gclawes has joined #pypy
bbot2 has joined #pypy
froztbyte has joined #pypy
holdsworth has joined #pypy
iblis17 has joined #pypy
exarkun is now known as Guest96788
glyph has joined #pypy
AndrewBC has joined #pypy
irclogs_io_bot has joined #pypy
michaelgreene has joined #pypy
lukasa has joined #pypy
bgola has joined #pypy
Lightsword has joined #pypy
Garen has joined #pypy
riddle has joined #pypy
infinite has joined #pypy
utek has joined #pypy
ulope has joined #pypy
dan- has joined #pypy
benbangert has joined #pypy
nopf has joined #pypy
whitewolf has joined #pypy
reaperhulk has joined #pypy
runciter has joined #pypy
[0__0] has joined #pypy
amontalenti has joined #pypy
dstufft has joined #pypy
Kronuz has joined #pypy
nopf has quit [Max SendQ exceeded]
nopf has joined #pypy
Hotpot33 has joined #pypy
ArneBab has joined #pypy
inhahe_ has joined #pypy
jerith has joined #pypy
dmalcolm_ has joined #pypy
jiffe has joined #pypy
dustinm has joined #pypy
SunDwarf has joined #pypy
kenaan has joined #pypy
utkarsh_ has joined #pypy
kolko has joined #pypy
jiffe has quit [Max SendQ exceeded]
dustinm has quit [Max SendQ exceeded]
ctismer has joined #pypy
lastmikoi has joined #pypy
Thinh has joined #pypy
xorAxAx has joined #pypy
njs has joined #pypy
jimbaker has joined #pypy
mattbillenstein has joined #pypy
ndash has joined #pypy
dustinm has joined #pypy
john51 has quit [Read error: Connection reset by peer]
jiffe has joined #pypy
john51 has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 255 seconds]
jeroud has joined #pypy
infernix has joined #pypy
tito has joined #pypy
Guest77097 has joined #pypy
__main__ has joined #pypy
ronan has joined #pypy
ceridwen has joined #pypy
MarkMangoba has joined #pypy
dddddd has quit [Remote host closed the connection]
Guest77097 has quit [Ping timeout: 255 seconds]
marvin has joined #pypy
marvin is now known as Guest37833
slackyy has joined #pypy
nunatak has joined #pypy
nunatak has quit [Max SendQ exceeded]
nunatak has joined #pypy
Guest96788 has quit [Ping timeout: 268 seconds]
exarkun has joined #pypy
astronavt has joined #pypy
astronavt has quit [Quit: Leaving...]
astronavt has joined #pypy
jamesaxl has joined #pypy
lritter has joined #pypy
zmt00 has quit [Quit: Leaving]
dustinm has quit [Quit: Leaving]
dustinm has joined #pypy
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #pypy
Cheery has quit [Ping timeout: 268 seconds]
Cheery has joined #pypy
mentalita has joined #pypy
mentalita has quit [Quit: Leaving]
mentalita has joined #pypy
abvi[m]1 has joined #pypy
abvi[m]1 has quit [Read error: Connection reset by peer]
pulkitg has joined #pypy
pulkitg has quit [Remote host closed the connection]
marr has joined #pypy
pulkitg has joined #pypy
astronavt has quit [Remote host closed the connection]
inad922 has joined #pypy
lritter has quit [Quit: Leaving]
abvi[m] has joined #pypy
yuvipanda has joined #pypy
bendlas has joined #pypy
Guest37833 has quit [Remote host closed the connection]
marvin has joined #pypy
marvin is now known as Guest53285
oberstet has quit [Ping timeout: 268 seconds]
lritter has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6432 [mjacob: force build, py3.6]
antocuni has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
adamholmberg has joined #pypy
inad922 has quit [Ping timeout: 246 seconds]
inhahe_ has quit [Ping timeout: 248 seconds]
inhahe_ has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
nunatak has quit [Remote host closed the connection]
Nizumzen has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6432 [mjacob: force build, py3.6]
marr has quit [Ping timeout: 248 seconds]
mentalita has quit [Quit: Leaving]
mentalita has joined #pypy
mentalita has quit [Quit: Leaving]
mentalita has joined #pypy
lritter has quit [Remote host closed the connection]
Rotonen has quit [Ping timeout: 240 seconds]
Rotonen has joined #pypy
mentalita has quit [Quit: Leaving]
mentalita has joined #pypy
<fijal> heh
<fijal> ronan: pypy 3.5 does not check if it's valid unicode btw ;-)
antocuni has joined #pypy
Rotonen has quit [Ping timeout: 240 seconds]
inhahe_ has quit [Ping timeout: 248 seconds]
inhahe_ has joined #pypy
<kenaan> fijal unicode-utf8 fe927a5758d2 /pypy/module/array/: disallow invalid unicode from array
<fijal> space.int_w(space.ord(space.getitem(w_unistr, space.newint(i))))
<fijal> is this really the best way to read a unichr?
<fijal> or do we not care that normalization is dog slow?
Rotonen has joined #pypy
dddddd has joined #pypy
<kenaan> fijal unicode-utf8 b4456e64ff3b /pypy/module/unicodedata/: fix unicodedata module
joannah has joined #pypy
<kenaan> fijal unicode-utf8 7cd0df437105 /pypy/module/pyexpat/interp_pyexpat.py: fix pyexpat
<kenaan> rlamy unicode-utf8 08976d2691b2 /pypy/module/_codecs/interp_codecs.py: fix call_errorhandler()
<fijal> ronan: I'm fighting struct module FYI
<fijal> ronan: that what you just did has a line in TODO to remove too I think
<fijal> (we can clean it up later too)
<ronan> fijal: why did you add that check, btw?
<fijal> it seemed like a good idea
<fijal> to cleanly complain instead of looping forever without Ctrl-C if your errorhandler is bogus
<ronan> well, CPython disagrees... :(
inad922 has joined #pypy
<fijal> ronan: I guess the question is as usual - is it a bug or a feature?
<fijal> but also I don't feel like spending any more time discussing that at all
<ronan> fijal: well, if it's explicitly tested, CPython considers it a feature
<fijal> ronan: in cpython or in pypy?
<fijal> anyway, as I said, I don't feel like debating it at all :-)
<ronan> I'd say we should limit the amount of visible changes caused by the branch
<ronan> and leave the philosophical debates for later
<fijal> fine
<fijal> ronan: so we have cpyext, micronumpy, _sre and one obscure test in sys
<kenaan> fijal unicode-utf8 0d84c39f767e /: fix struct module
<fijal> we can slowly think about running tests
<fijal> benchmarks
<fijal> arigato: how is the sre progressing?
<ronan> fijal: and a bunch of lib-python test failures
<fijal> link?
<fijal> can we rerun it?
<ronan> yes
<fijal> those are mostly things that should be fixed by now or fixed by the time armin is done with _sre
<fijal> (or we can pick them up)
<kenaan> rlamy unicode-utf8-test a31f4ea5722a /pypy/module/: hg merge unicode-utf8
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5140 [ronan: force build, unicode-utf8-test]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6433 [ronan: force build, unicode-utf8-test]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5140 [ronan: force build, unicode-utf8-test]
<fijal> pffff
<fijal> may I say how much I love fighting the signdeness of things?
<ronan> pfff indeed
<kenaan> fijal unicode-utf8 86769d294fd1 /pypy/module/unicodedata/interp_ucd.py: random assert
dw has quit [Remote host closed the connection]
dw has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6433 [ronan: force build, unicode-utf8-test]
<kenaan> rlamy unicode-utf8 5e36b35d5716 /pypy/module/struct/formatiterator.py: fix translation
<kenaan> rlamy unicode-utf8 5ede24e505ee /pypy/module/struct/formatiterator.py: oops
<kenaan> rlamy unicode-utf8-test 1bb5950b8ff5 /: hg merge unicode-utf8
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5141 [ronan: force build, unicode-utf8-test]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6434 [ronan: force build, unicode-utf8-test]
dddddd has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
joannah has quit [Ping timeout: 260 seconds]
oberstet has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6434 [ronan: force build, unicode-utf8-test]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
adamholmberg has joined #pypy
dddddd has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
<fijal> arigato: is sre work merge-able?
mattip has joined #pypy
astronavt has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5141 [ronan: force build, unicode-utf8-test]
kipras is now known as kipras`away
inad922 has quit [Ping timeout: 240 seconds]
marr has joined #pypy
_whitelogger has joined #pypy
antocuni has quit [Ping timeout: 255 seconds]
mvantellingen has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
mvantellingen has joined #pypy
dddddd has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
mat^2 has joined #pypy
mat^2 has quit [Remote host closed the connection]
<mjacob> ronan: you've got an impressive run of fixing many of the weird bugs in the py3.5 branch
<mjacob> ronan: let me know if you're stuck on any of the remaining ones; there are chances that i looked into these in the last weeks
<arigato> fijal: not yet
<mjacob> (without finding a really good solution)
<fijal> ok
<arigato> it's getting there, but the main issue is to design tests to make sure we're not left with issues of confusion between bytes and characters
<mjacob> some time ago i hacked cpython 3.2 to use utf-8 internally and re turned out to be the most difficult to fix (at least of those features that are used to start the interpreter)
<mjacob> arigato: could the annotator help in not mixing bytes and characters?
<mjacob> (maybe i just dealt too much with languages with advanced type systems)
<arigato> mjacob: yes, it's possible, but I'm unsure to want to go there
<arigato> so far in a subset
<arigato> , I've done it in pure Python
<arigato> by using classes Position(n) instead of n
<arigato> maybe it could be extended to pypy/module/_sre
<arigato> after all, we should never do space.wrap(x) with x a Position(n)
<fijal> we should never do space.wrap I would say :)
<arigato> space.newint() :-)
<fijal> arigato: I fail to understand yet-another-problem-with-r-uint
<arigato> :-/
<fijal> well yes, it's a classic problem
<fijal> the annotation changes to r_uint
<fijal> but it was int before
<fijal> the int was wrong
* fijal tries some signature
<fijal> eh
<fijal> so signature does not support optional arguments :/
<fijal> arigato: is ord() known to return non-neg?
<arigato> probably
<fijal> arigato: no!
<fijal> arigato: where would it be? annotation for ord?
<arigato> def ord(self):
<arigato> return SomeInteger(nonneg=True)
<Alex_Gaynor> fijal: `rpython/annotator/unaryop.py` -> L769 & L792
<Alex_Gaynor> arigato: look at the other def ord in that file, it's quite something
<arigato> # warning, on 32-bit with 32-bit unichars, this might return
<arigato> # negative numbers
<arigato>
<arigato> indeed
<fijal> eh ok
<fijal> but the maxunicode is 0x10FFFF no?
<arigato> in trunk we can have unicode strings containing characters past that
<fijal> right, but not on this branch
<fijal> I mean, that said, rawffi needs checking I presume
<arigato> yes, in that branch we shouldn't use ord(unichar) a lot, and all the places probably need checking
<fijal> it's mostly stuff in rawffi etc.
<fijal> ok, but that's not something I actually want to check
<fijal> I want to fix the translation so I can check benchmarks
<arigato> that's something we're going to forget, then
<arigato> please do something against us forgetting :-)
<fijal> yes of course
<fijal> maybe I'll just fix it
<fijal> arigato: well the problem is we have not decided to merge the branch just yet
exarkun has quit [Read error: Connection reset by peer]
<mattip> hi. We have 3 ARM targets, HardFloat (HL) raspian, HardFloat (HL) raring, and SoftFloat (EL) precise. I want to remove raring, it is no longer a debian-supported version
<mattip> any objections? Any reason to keep raring around?
<mattip> (it is debian 13.04)
<mattip> my goal is to enable py3.5 on ARM, so trying to reduce the number of arm nightly runs
<LarstiQ> s/debian/ubuntu/?
<fijal> mattip: I have no idea who uses pypy on what ARM so why not?
<mattip> LarstiQ: yup
exarkun has joined #pypy
<kenaan> arigo unicode-utf8-re 2114fde9ada8 /: in-progress
<mattip> also - no real reason to keep building default branch when it does not change
<mattip> I can do the same trick I did for rpython with a changefilter on the branch. Any objections?
<arigato> no, thanks
zmt00 has joined #pypy
<fijal> arigato: should I just look at annotation and carefully check for all the places that call unichr_as_utf8 and unichr_as_utf8_append?
<fijal> or I mean ord(unichr)
pilne has joined #pypy
<arigato> unsure how, but it would be nice to have a list of all ord(unichr)
<fijal> arigato: at the end of annotation?
<fijal> (as a hack simply)
<arigato> maybe?
<kenaan> arigo unicode-utf8-re 170afb57631b /: Getting there
inhahe_ has quit [Ping timeout: 240 seconds]
inhahe_ has joined #pypy
<fijal> eh tornado on OS X is misbehaving :?
<kenaan> arigo unicode-utf8-re 6b113f6d5350 /pypy/module/_sre/: Tests and fixes
<arigato> fijal: unicode-utf8-re fails to translate in interp_codecs, so I guess it's due to the particular revision I forked from
<fijal> arigato: yeah, don't worry about translation failures
<fijal> arigato: I *also* whacked at interp_sre to just translate
<arigato> I'd say now it should be mergeable anyway, and we'll fix any more translation failures if there are some
<arigato> yes
<fijal> yeah I can deal with it
<fijal> tomorrow though
<arigato> ok, then please merge when you can, and then feel free to ask me about translation failures there
<arigato> (or elsewhere, for that matter :-)
antocuni has joined #pypy
<fijal> yes, works :-)
<fijal> arigato: thanks!
<kenaan> fijal unicode-utf8 93560a4f1a42 /: fix _rawffi and add a todo item
<arigato> it *should* be correct, e.g. you can't write "ctx.match_start + 1" because in test mode it will explode
<arigato> because match_start and most other integers are byte positions, in utf8
<arigato> instead you have to call ctx.next(ctx.match_start)
<arigato> ...ah, which will explode translation right now
<fijal> :]
<arigato> next() is written using @not_rpython in the base class, to make sure we don't have an indirect call to it
<arigato> which is the case in rsre_core
<arigato> but indeed not in the few usages of next() from pypy.module._sre
<kenaan> arigo unicode-utf8-re ebe0641d78a5 /: Must not call ctx.next() when the type of ctx is not exactly known. Workaround for interp_sre, where the fe...
<kenaan> mattip buildbot 9c8b26858cfa /bot2/pypybuildbot/: kill raring build, activate py3.5 on ARM, add more onlyIfChanged
antocuni has quit [Ping timeout: 240 seconds]
exarkun has quit [Ping timeout: 255 seconds]
exarkun has joined #pypy
mentalita has quit [Quit: Leaving]
mentalita has joined #pypy
marr has quit [Remote host closed the connection]
antocuni has joined #pypy
<fijal> arigato: ok, so the current status is that on tornado (which is a bit slower, like 5%, it's definitely within stddev of my measurments) traces are like 3x longer
<fijal> so I guess we look
<fijal> similar number of loops/bridges
<fijal> so I guess we look, maybe on something less complex
<fijal> (althought it's JUST 150 loops)
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
<fijal> we kinda knew it's bad
bbot2 has joined #pypy
mattip has left #pypy ["bye"]
<fijal> those are the traces
<fijal> (IMO vmprof.com is kinda unreadable)
<fijal> and of course crashes
<fijal> "great"
* fijal gives up for tonight
dddddd has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
<fijal> I'm measuring something very wrong
marr has joined #pypy
<fijal> pfff, results unclear
<marmoute_> Didn't you gave up 1h ago ?
<fijal> marmoute_: apparently not!
<fijal> marmoute_: does hg use unicode at all?
<marmoute_> Not much
<fijal> heh
<fijal> I *guess* "results unclear, but less memory used" is a win
<fijal> but also our benchmarks suck a bit
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
<fijal> turns out encode/decode is not a crucial operation
<fijal> oh well
<fijal> well, stupid django benchmark is 2x faster, I guess we win?
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
jcea has joined #pypy
sn6uv has joined #pypy