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)"
Nizumzen has joined #pypy
Hotpot33 has quit [Ping timeout: 276 seconds]
kipras`away is now known as kipras
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
exarkun has quit [Ping timeout: 268 seconds]
exarkun has joined #pypy
kipras is now known as kipras`away
marr has quit [Ping timeout: 240 seconds]
tbodt has joined #pypy
astronavt has quit [Quit: Leaving...]
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tbodt has joined #pypy
astronavt has joined #pypy
Nizumzen has joined #pypy
antocuni has quit [Ping timeout: 248 seconds]
ssbr` has joined #pypy
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
jcea has quit [Quit: jcea]
adamholm_ has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
ArneBab_ has joined #pypy
adamholm_ has quit [Remote host closed the connection]
ArneBab has quit [Ping timeout: 248 seconds]
<kenaan> mjacob default e9597229c18d /pypy/doc/: Fix Sphinx build warnings.
Hotpot33 has joined #pypy
inhahe_ has quit [Ping timeout: 240 seconds]
inhahe_ has joined #pypy
tbodt has quit [Ping timeout: 260 seconds]
tbodt has joined #pypy
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
adamholmberg has joined #pypy
<jneen> what does "FrozenDesc has no attribute pycall" mean
adamholmberg has quit [Ping timeout: 240 seconds]
<ronan> jneen: it means that you're trying to call something that isn't callable according to RPython
<jneen> hmmm
<jneen> could it be dict.iteritems()
<jneen> i was a little sketchy on that one
<ronan> maybe
<ronan> unimplemented builtin methods can give you that error, IIRC
tbodt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jneen> i found it
<jneen> it's dict([...])
<kenaan> rlamy unicode-utf8 3e5aa507f585 /pypy/: Fix errorhandler use in utf8_encode_charmap()
dddddd has quit [Remote host closed the connection]
<jneen> alsoooo @staticmethod seems kind of... broken
<jneen> you have to call it with self.method_name(...)
<jneen> and the build thinks that means it's being sent an extra arg
<jneen> errrr, hang on i might be wrong
<jneen> yeah nvm pebkac nothing to see here
jimbaker has quit [Ping timeout: 248 seconds]
<kenaan> rlamy unicode-utf8 a4d68881a89d /: Handle errorhandlers that go backward
lritter has joined #pypy
<kenaan> rlamy unicode-utf8 0accab6d493c /pypy/interpreter/unicodehelper.py: fix
lritter has quit [Remote host closed the connection]
adamholmberg has joined #pypy
<kenaan> rlamy unicode-utf8-test 1665df77270e /: hg merge unicode-utf8
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5142 [ronan: force build, unicode-utf8-test]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6435 [ronan: force build, unicode-utf8-test]
adamholmberg has quit [Ping timeout: 268 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/6435 [ronan: force build, unicode-utf8-test]
<arigato> ronan: fwiw, the merge of unicode-utf8-test with unicode-utf8-re passes the module/_sre tests
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/5142 [ronan: force build, unicode-utf8-test]
<fijal> FYI I removed all the parts that need newunicode
<fijal> so -test can be closed
<fijal> arigato: so, we can probably run the benchmark run
<fijal> (unclear hwo would we compare)
* fijal fixes micronumpy
<arigato> if the results are "it's kind of similar in speed" then success, and the next step is to make reasonable jit traces
<fijal> that's the output I got so far
<fijal> everything I run was within 5% or so, except django that was a lot faster and jsonbench that was ~8% slower or so
<fijal> probably because of dicts
<fijal> maybe it makes sense to have a dict made out of unicode and recompute the lnegth
<arigato> can I merge unicode-utf8-test inside unicode-utf8-re? it seems to fix translation
<arigato> (but then I get translation errors from module/_sre, which is the point)
<fijal> how about killing -test and merging utf8-re into unicode-utf8?
<fijal> and we can fix the translation
<arigato> ok
<fijal> there is one more question about micronumpy, but I think I'll get a coffee first
<fijal> arigato: tornado benchmark spends most of it's time formatting tracebacks for closed connections or something like that
<fijal> I wonder how much I care about that
<kenaan> arigo unicode-utf8-re 78d73593a136 /pypy/module/_sre/interp_sre.py: Add sanity-checks
<kenaan> arigo unicode-utf8-re 80cb52b67f60 /pypy/module/_sre/interp_sre.py: in-progress: translation fixes, but I don't understand why I need that
<kenaan> arigo unicode-utf8-re 58b6fedc39bc /: hg merge unicode-utf8
<LarstiQ> fijal: on this branch only, or also normally?
<fijal> also normally
<LarstiQ> seems a weird place to spend majority of time
<fijal> but the amount varies wildly
<fijal> LarstiQ: well it's not TOO surprising for pypy to be slow at formatting tracebacks
<LarstiQ> right
<fijal> but it's surprising a basic http server hit by ab or siege does that a lot
* LarstiQ nods
<fijal> why are there futures to do something on a stream that's closed by then?
<arigato> there are r_uint issues
<arigato> it's unclear to me why prev_codepoint_pos() must take a r_uint, and also why half the calls don't care
adamholmberg has joined #pypy
<fijal> arigato: I don't know
<arigato> ...ok, it doesn't take r_uint
<fijal> if anything I cargo culted r_uint
<arigato> none of the calls pass r_uint
* arigato kills the comment
<kenaan> arigo unicode-utf8-re 698fcd50ff42 /pypy/module/_sre/interp_sre.py: translation fix
<kenaan> arigo unicode-utf8-re 0d4b7b9d28b5 /rpython/rlib/: Kill the wrong comment about r_uint in prev_codepoint_pos
adamholmberg has quit [Ping timeout: 255 seconds]
<kenaan> arigo unicode-utf8-re ec4522b42070 /rpython/rlib/rsre/rsre_core.py: More translation fixes
<kenaan> arigo unicode-utf8-re 363f54e90b19 /rpython/rlib/rsre/: More
<arigato> fijal: ok, now it seems to translate. feel free to merge!
inad922 has joined #pypy
inad922 has quit [Remote host closed the connection]
dddddd has joined #pypy
kenaan has quit [Ping timeout: 248 seconds]
adamholmberg has joined #pypy
antocuni has joined #pypy
marr has joined #pypy
mvantellingen has quit [Ping timeout: 240 seconds]
sn6uv has quit [Ping timeout: 240 seconds]
mvantellingen has joined #pypy
astronavt has quit [Ping timeout: 255 seconds]
mvantellingen has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
drolando has quit [Remote host closed the connection]
drolando has joined #pypy
mvantellingen has joined #pypy
antocuni has quit [Ping timeout: 255 seconds]
Nizumzen has joined #pypy
jcea has joined #pypy
kipras`away is now known as kipras
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
Guest53285 has quit [Ping timeout: 260 seconds]
marvin has joined #pypy
marvin is now known as Guest65612
exarkun has quit [Ping timeout: 268 seconds]
exarkun has joined #pypy
dddddd has quit [Ping timeout: 248 seconds]
dddddd has joined #pypy
Rotonen has quit [Quit: reboot]
Rotonen has joined #pypy
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #pypy
Nizumzen has quit [Ping timeout: 255 seconds]
gclawes has quit [Remote host closed the connection]
amaury has joined #pypy
<fijal> arigato: I think I'm taking a full day off :)
amaury has quit [Ping timeout: 260 seconds]
citizen_stig has joined #pypy
zmt00 has quit [Ping timeout: 240 seconds]
Nizumzen has joined #pypy
citizen_stig has quit [Remote host closed the connection]
citizen_stig has joined #pypy
citizen_stig has quit [Remote host closed the connection]
zmt00 has joined #pypy
citizen_stig has joined #pypy
exarkun has quit [Ping timeout: 250 seconds]
exarkun has joined #pypy
citizen_stig has quit [Ping timeout: 248 seconds]
gclawes has joined #pypy
sn6uv has joined #pypy
citizen_stig has joined #pypy
sn6uv has quit [Ping timeout: 246 seconds]
forgottenone has joined #pypy
jamesaxl has quit [Quit: WeeChat 1.9.1]
astronavt has joined #pypy
exarkun has quit [Ping timeout: 255 seconds]
exarkun has joined #pypy
forgottenone has quit [Remote host closed the connection]
amaury has joined #pypy
kenaan has joined #pypy
<kenaan> mattip buildbot afea1ba1dd41 /bot2/pypybuildbot/master.py: need to think more about running benchmarks with onlyIfChanged
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
astronavt has quit [Remote host closed the connection]
astronavt has joined #pypy
astronav_ has joined #pypy
astronavt has quit [Ping timeout: 276 seconds]
astronav_ has quit [Remote host closed the connection]
<LarstiQ> unfortunately without saying which version was tried
* LarstiQ confirms it's in 5.8
<cfbolz> LarstiQ: weeeeell, also it cleanly raises an rpython exception, which is not a segfault, thus not easily exploitable
<LarstiQ> cfbolz: cmp(float('nan'), float('nan'))?
<cfbolz> LarstiQ: no, sorry, I mean the other example
<cfbolz> page 7
<LarstiQ> right
<cfbolz> LarstiQ: I am not sure cmp(nan, nan) can be wrong. any number you return makes no sense
astronavt has joined #pypy
<LarstiQ> cfbolz: return a non int? ;)
<cfbolz> return nan, I suppose :-P
<LarstiQ> numpy returns False for all three
<LarstiQ> i.e, np.nan <, ==, > np.nan
<LarstiQ> but cmp's interface doesn't allow that
* LarstiQ shrugs
astronavt has quit [Remote host closed the connection]
<LarstiQ> and with that, time to retire for the night
<cfbolz> LarstiQ: I suppose I should fix the multiprocessing thing
astronavt has joined #pypy
astronavt has quit [Remote host closed the connection]
exarkun has quit [Ping timeout: 276 seconds]
exarkun has joined #pypy
astronavt has joined #pypy
citizen_stig has quit [Remote host closed the connection]
Nizumzen has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<kenaan> cfbolz default 543c4e0c83b1 /pypy/module/time/: don't crash when calling sleep with inf or nan (see https://www.blackhat.com/docs/eu-17/materials/eu-17-Arnaboldi...
adamholmberg has quit [Remote host closed the connection]
<kenaan> amauryfa py3.6 cadf41717a3f /pypy/interpreter/astcompiler/: The ast module now has a "Constant" node that AST optimizers can use. Use it in place of PyPy's specific "Const".
<kenaan> amauryfa py3.6 2d7ef69f48bd /pypy/module/posix/: Scandir: Add a context manager, and a ResourceWarning when it is not explictly closed.
tbodt has joined #pypy
jacob22__ has quit [Ping timeout: 260 seconds]
jacob22__ has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
exarkun has quit [Ping timeout: 240 seconds]
exarkun has joined #pypy
oberstet has quit [Ping timeout: 240 seconds]
inhahe_ has quit [Ping timeout: 240 seconds]
oberstet has joined #pypy
inhahe_ has joined #pypy
oberstet has quit [Ping timeout: 248 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 248 seconds]
antocuni has joined #pypy