cfbolz 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 | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
Smigwell has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
TheNewbie has quit [Read error: Connection reset by peer]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
lritter_ has joined #pypy
lritter has quit [Ping timeout: 240 seconds]
dddddd has quit [Remote host closed the connection]
lritter_ has quit [Quit: Leaving]
jcea has quit [Quit: jcea]
inhahe has quit [Ping timeout: 258 seconds]
inhahe_ has joined #pypy
_whitelogger has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 260 seconds]
xcm has quit [Ping timeout: 240 seconds]
xcm has joined #pypy
mattip has quit [Ping timeout: 240 seconds]
mattip has joined #pypy
jvesely has quit [Quit: jvesely]
zmt01 has joined #pypy
zmt00 has quit [Ping timeout: 260 seconds]
micisuta has joined #pypy
dddddd has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Ganwell_ has quit [Quit: WeeChat 2.4]
<cfbolz> arigato: aroud?
<cfbolz> the new "metaclass found to be 'list', but calling <type 'list'> with args (name, bases, dict) raised 'list() takes at most 1 argument (3 given)'" type error improvement leads to problems, sometimes
<cfbolz> specifically if the metaclass is really "type", and we are getting a typeerror because eg "duplicate base class 'BaseB'"
<cfbolz> should I disable the new error if the metaclass is type?
<arigato> probably
<cfbolz> or still worth it, because you get the arguments told
<cfbolz> (I really like the new error for non-type cases)
<arigato> I think you get literally "(name, bases, dict)", not the actual arguments passed
<arigato> if the metaclass is 'type' then it's usually not what you are interested in
<cfbolz> no no, you get the name and the bases (not the dict):
<arigato> ah OK
<arigato> still, I expect that in almost all cases the name and the bases should be obvious from the source code
<cfbolz> right
<kenaan> cfbolz py3.7 225854988165 /pypy/: add new ENCODING token
<kenaan> cfbolz py3.6 f3d88f2b389f /pypy/: don't give new error message if metaclass is actually type
oberstet has joined #pypy
<cfbolz> woops, translation is broken
<cfbolz> arigato, mattip: something cffi related
<arigato> oops
<arigato> a merge problem from default->py3.6? let me check
<arigato> yes, seems like an improper (partial) merge
adamholmberg has joined #pypy
<kenaan> arigo py3.6 08ff8ba2e98c /pypy/module/_cffi_backend/misc.py: This seems to have been forgotten in the most recent merge from default
<cfbolz> hrmpf
<cfbolz> I did that merge, right? how can that have happened?
adamholmberg has quit [Ping timeout: 260 seconds]
<arigato> indeed, no clue at all
<kenaan> cfbolz py3.7 36c20d1dddd7 /pypy/module/unicodedata/moduledef.py: don't export version 9.0.0 data any more
<kenaan> cfbolz py3.7 fd3749680834 /pypy/: merge py3.6
<mattip> on default, bm_spitfire tries to use over 10GB of memory (on pypy2 with jit off)
<mattip> on python2 it is well behaved
<cfbolz> That doesn't sound good
<mattip> benchmarks default branch
<mattip> since I only have 16GB, it crashes
<mattip> something feels off, on the nightly runs it works fine
<mattip> well, it is slower than cpython but runs to completion
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6716 [Carl Friedrich Bolz-Tereick: force build, py3.7]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7939 [Carl Friedrich Bolz-Tereick: force build, py3.7]
<kenaan> cfbolz py3.7 17f00b954798 /pypy/objspace/std/: no reason to not follow cpython exactly
<mattip> on the benchmark machine, if I set ulimit -v 13000000 (that is ~13GB) it fails, if I set it to 16000000 it passes
lritter has joined #pypy
<cfbolz> mattip: how much memory does cpython use?
<mattip> too little to register
<mattip> less than 1gb
<mattip> my machine is just under the requirement to run the benchmark
<mattip> so I will adjust it a bit. Anyway, each of the 50 runs is ~1 sec on cpython, 5 secs with jit off
oberstet has quit [Remote host closed the connection]
<kenaan> mattip benchmarks[chameleon] 24f7763db60b /unladen_swallow/: update spitfire to master which no longer has psyco nor o4
<kenaan> mattip benchmarks[chameleon] 09d5bf1ff68d /unladen_swallow/performance/bm_spitfire.py: limit table size to run with <16GB since pypy chews up gb of memory
<cfbolz> mattip: we should definitely investigate, that sounds like a real problem
<mattip> well, one fish at a time
<mattip> it might be something to do with the metaclass templating of spitfire
<cfbolz> mattip: let's file an issue?
<mattip> ok
<fijal> may I complain that python is unusable for anything else than actively using python ever day?
<fijal> 3 year old software generally requires tweaks to run it
<Dejan> fijal, arguably you are not using it the right way
<fijal> arguably!
<fijal> like, using libraries, installing them using pip
<Dejan> I am not a Python expert (5y of Python coding, 20+ years of coding in general) - if Python application is released in such way that dependencies are frozen, you can using it after 20 years, in theory
<fijal> writing software based on documentation
<fijal> right, that is probably the case
<Dejan> the key is in deps being frozen during the release
<fijal> but that also means that changing it is a bit hard
<fijal> because you have to dig 3y old documentation
<Dejan> true
<Dejan> but you change legacy code VERY CAREFULY
<fijal> and you don't get any security updates or bug fixes
<Dejan> :)
<fijal> heh
<fijal> well, I'm sad 3 y old is "legacy"
<fijal> that is "mostly unsupported"
<Dejan> that is also true, but that is a problem with ANY language
<Dejan> in modern world 3 y is really old, yep
<Dejan> we live in agile age
<Dejan> speaking about technology
<fijal> it's much less issue with C
<Dejan> I downloaded few weeks ago an old version of JavE
<fijal> arguably because C is much harder to use
<Dejan> (ASCII editor)
<Dejan> it was compiled with Java from 20 years ago
<Dejan> 1.4
<Dejan> and believe it or not, it worked on my Fedora with Java 13
<Dejan> a GUI application :D
<Dejan> .jar that was compiled with Java 1.4 20 years ago!
<mattip> java c, c++ and the win32api work very hard to make that happen
<mattip> python, javascript, ruby less so
<Dejan> there is a huge cost to that!
<Dejan> :)
<Dejan> that is why changing something in Java takes years
<Dejan> :D
<Dejan> (or adding new features)
adamholmberg has joined #pypy
Smigwell has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7939 [Carl Friedrich Bolz-Tereick: force build, py3.7]
lesshaste has joined #pypy
lesshaste is now known as Guest32826
Rhy0lite has joined #pypy
jvesely has joined #pypy
<Dejan> I think I'll buy this when they release it
<Dejan> :D
micisuta has quit [Ping timeout: 268 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6716 [Carl Friedrich Bolz-Tereick: force build, py3.7]
<kenaan> mattip benchmarks[chameleon] e07bc02ab2e8 /: fix up runners to rename spitfire -> spitfire2 since it is now much changed
siddhesh has quit [Ping timeout: 252 seconds]
siddhesh has joined #pypy
siddhesh has quit [Ping timeout: 265 seconds]
siddhesh has joined #pypy
micisuta has joined #pypy
jcea has joined #pypy
abrown has quit [Quit: Leaving]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6717 [ronan: force build, py3.6-sqlite]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7940 [ronan: force build, py3.6-sqlite]
micisuta has quit [Ping timeout: 268 seconds]
<kenaan> cfbolz default fe1e0785e184 /rpython/rlib/unicodedata/: there was another version-as-string comparison :-(
<kenaan> cfbolz py3.7 9d57c8fcd1df /rpython/rlib/unicodedata/: merge default
<mattip> I updated buildbot's benchmark runs.
<mattip> Once I can update buildbot master, the exe names will loose the `-c`
<mattip> this is so there will be a break with the old benchmarks, since most of them changed
<mattip> we should be able to run the benchmarks on python3 as well
<cfbolz> yay!
<mattip> still a bit of work to do to get them to run daily and get the results up on speed.pypy.org
<mattip> we should run a baseline CPython3.6 for comparison too
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7940 [ronan: force build, py3.6-sqlite]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6717 [ronan: force build, py3.6-sqlite]
micisuta has joined #pypy
micisuta1 has joined #pypy
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
micisuta has quit [Ping timeout: 258 seconds]
micisuta1 is now known as micisuta
bbot2 has joined #pypy
<mattip> "Benchmark repo branch"
<mattip> it allows you to run a specific branch in the benchmark repo, different than the pypy repo branch/revision
<mattip> also, the benchmark run takes the exe name like the testing runs do: in the "set property" step
<mattip> from pypy/testrunner/get_info.py
luizirber has joined #pypy
<mattip> which allows us to select pypy/pypy3
<cfbolz> mattip: awesome!
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Smigwell has quit [Read error: Connection reset by peer]
Smigwell has joined #pypy
<kenaan> mattip benchmarks[chameleon] ac6774f94795 /: close banch to be merged
<kenaan> mattip pypy.org[nikola] 8db38f1bf2da /public/: add the public (nikola) build
Rhy0lite has quit [Quit: Leaving]
dustinm has quit [Ping timeout: 240 seconds]
dustinm` has joined #pypy
Guest32826 has quit [Quit: Leaving]
Smigwell has quit [Read error: Connection reset by peer]
i9zO5AP has joined #pypy
Ai9zO5AP has quit [Ping timeout: 265 seconds]
micisuta1 has joined #pypy
micisuta has quit [Ping timeout: 260 seconds]
micisuta1 has quit [Ping timeout: 268 seconds]
lritter has quit [Quit: Leaving]
adamholmberg has quit [Remote host closed the connection]