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
<energizer> is there a 'success stories' page or list of companies/projects that use PyPy in production?
ceridwen has joined #pypy
ceridwen has joined #pypy
ceridwen has quit [Changing host]
Ai9zO5AP has quit [Ping timeout: 245 seconds]
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy
_aegis_ has quit [Ping timeout: 276 seconds]
_aegis_ has joined #pypy
inhahe_ has joined #pypy
inhahe has quit [Ping timeout: 265 seconds]
dddddd has quit [Remote host closed the connection]
oberstet has joined #pypy
forgottenone has joined #pypy
_whitelogger has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
_whitelogger has joined #pypy
<mattip> all the "SystemError: END_FINALLY not properly nested in this bytecode" seem to be fixed,
<mattip> there is still a "SystemError: POP_BLOCK not properly nested in this bytecode"
<mattip> in test_sys_settrace
<cfbolz> energizer: no, we always wanted one but never got organized enough
<mattip> there are also a few exception message mismatches, nothing important
<energizer> cfbolz: it might be nice to just have a "please let us know if your company is using pypy" on pypy.org, so at least you'd have a collection
<cfbolz> energizer: yes, would be nice
<mattip> we could add this kind of a page to our website https://www.python.org/success-stories
<mattip> but even that one is a bit weak considering the added value python creates for companies
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
<bizulk> CFFI : structure allocation error (struct size about : 400 mo) . Example : https://pastebin.com/wdv1TA9n
<Dejan> mo ?
<Dejan> megaoctets?
<bizulk> what's happening ? cdef says the struct size is 1
<bizulk> yes
<bizulk> in that example I set a big table of ints.
<bizulk> if I just allocate same struct size wit "ffi.new" there is no problem
<mattip> bizulk: works as-is for me on ubuntu with python3, cffi 1.12.3, no error
<bizulk> under python 3.6 32 bits on windows10, cffi 1.12.3
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
Ai9zO5AP has joined #pypy
<bizulk> I tried python 64 bits, no error....
<mattip> it seems to be an overflow
<mattip> can reproduce on 32 bit linux
<bizulk> surely... If I split the structure in two fields, I get a part of the size
<bizulk> I'll send an issue to them.
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
antocuni has joined #pypy
infinite has quit [Ping timeout: 276 seconds]
<bizulk> @mattip thanks for the tries
infinite has joined #pypy
<mattip> arigato ^^^
i9zO5AP has joined #pypy
Ai9zO5AP has quit [Ping timeout: 265 seconds]
circ-user-KIvj2 has joined #pypy
<Dejan> cool, CentOS 8 released, and it has a rolling distro option called "Stream"
<fijal> energizer: it's fiendlishly hard to get companies to say anythign
<fijal> a) publically admit, b) write anythign about it
<fijal> I spent some significant effort getting blog posts about success stories and unless you have something on offer, it's not happening
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
<marmoute> +1 on that
antocuni has quit [Ping timeout: 240 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
tsaka__ has joined #pypy
YannickJadoul has joined #pypy
speeder39_ has quit [Quit: Connection closed for inactivity]
<YannickJadoul> Silly thing, but how closely does PyPy want to match CPython's error messages?
<YannickJadoul> I found "duplicate base class '%N'" in PyPy, but "duplicate base class %U" in CPython, yesterday
<mattip> if it is easy to fix, go for it. If it is annoying, skip it.
<mattip> I don't think %U is supported, so it might be annoying
<YannickJadoul> mattip: Ah, right, like that. It's literally one line, but I didn't know if I was nitpicking or not
<mattip> there is a note in pypy/interpreter/error.py oefmt that %N will always be %U in py3.6 and up
<mattip> do you see a different error when the error is produced?
antocuni has joined #pypy
Rhy0lite has joined #pypy
antocuni has quit [Ping timeout: 245 seconds]
<YannickJadoul> mattip: The thing I noticed when writing a test, was that there were no extra quotes
<YannickJadoul> "duplicate base class 'BaseB'"
<YannickJadoul> vs. "duplicate base class BaseB"
<mattip> where PyPy adds the quotes? I like that better, it clearly deliniates the class name. So make the test only check the "duplicate base class" part
<YannickJadoul> Yes, indeed
<YannickJadoul> Just noticed the difference and thought I'd be worth mentioning
<mattip> ok, thanks
<fijal> YannickJadoul: the exact error messages are not part of python standard
<fijal> we should strive to be as good or better than cpython though
<fijal> so "cpython gives a better error message" -> valid bug report. "pypy gives a more specific error" -> not a bug
<YannickJadoul> fijal: OK, thanks, that makes sense :)
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
xcm has quit [Remote host closed the connection]
<mattip> the remaining errors in test_sys_trace have to do with asyncio, and there are some exception mismatches
<mattip> when looking at the fset_f_lineno function (in pyfram) it seems we are quick to raise "if not d.is_in_line_tracing",
xcm has joined #pypy
<mattip> at that point in the code CPython is a bit more picky, the comment says it lets YEILD_VALUE and YEILD_FROM opcodes through
<mattip> might that be a difference?
jcea has quit [Quit: jcea]
DarkUranium has joined #pypy
<DarkUranium> Hey guys. Is, uh, this the place to aska bout RPython?
<cfbolz> yes
<DarkUranium> Neat. So, I haven't used it before, and my question is two-fold: 1) Does RPython produce code that could be *embedded* in another C application? and 2) Does RPython compile to platforms it does not have a JIT for? (obviously, only using the interpreter on such platforms)
dddddd has joined #pypy
<Dejan> DarkUranium, your nick seems familiar :)
<DarkUranium> hehe
<DarkUranium> I remember yours, too, but dunno from where.
<Dejan> where you on the #D channel sometimes?
<DarkUranium> I see you're also in #d, but I don't think that's where I remember it from.
<DarkUranium> Yes.
<DarkUranium> (afk for ~20 mins; sorry, bad timing!)
<Dejan> that is probably
<Dejan> sure, no probs
<Dejan> i am at work too
<DarkUranium> I'm not anymore, but I gotta eat :D
<mattip> 1) RPython is used for creating interpreters, so you want to embed an interpreter in a C application?
xcm has quit [Remote host closed the connection]
<fijal> there is some embedding support in RPython
<fijal> 2) RPython compiles to ANSI C - so yes, it's possible to have it for platforms where JIT is not supported. What platforms do you have in mind?
xcm has joined #pypy
antocuni has joined #pypy
<DarkUranium> Dejan, back!
<DarkUranium> mattip, w.r.t. #1, yes.
xcm has quit [Remote host closed the connection]
<DarkUranium> fijal, for now, only iOS (where the lack of JITs is a policy thing, not a technical requirement). But eventually, microcontrollers (assuming RPython fits)
<DarkUranium> Not gonna lie, I'm only interested in RPython for prototyping.
<DarkUranium> But I *would* like for even the prototypes to work on all the relevant platforms.
xcm has joined #pypy
<fijal> I think RPython is not very good for microcontrollers
<DarkUranium> fijal, that's the one thing where it's not too critical, but point remains.
<DarkUranium> A web backend would be nice for the JIT, for example.
<DarkUranium> (like PyPy.js, but y'know, not unmaintained)
<DarkUranium> (and nowadays, WebASM might make more sense than asm.js)
<fijal> that's a potential target, but it requires quite a bit of work
<DarkUranium> Yeah. Especially given what a mess webasm is.
<cfbolz> webasm is still missing a few features to be *really* useful for pypy
<cfbolz> rpython
<cfbolz> eg right now you'd have to compile the GC to webasm, which is a bit of an antipattern, given that the VM has a perfectly good gc already
<DarkUranium> I know.
<cfbolz> the feature is going to come though eventually, I hope
<DarkUranium> I also know it's poorly-designed (its approach to locals makes proper optimization difficult, the lack of arbitrary jumps can slow down even switch() [not relevant for Python, but it is for C-like langs], etc)
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
xcm has quit [Remote host closed the connection]
tsaka__ has quit [Read error: Connection reset by peer]
tsaka__ has joined #pypy
xcm has joined #pypy
xcm has quit [Killed (orwell.freenode.net (Nickname regained by services))]
xcm has joined #pypy
<kenaan> mattip py3.6 388678c00faf /pypy/interpreter/pyframe.py: remove windows ^M line endings
<kenaan> mattip py3.6 c9039acb3770 /pypy/interpreter/pyframe.py: cpython compatibility
tsaka__ has quit [Ping timeout: 268 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6656 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7701 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/85 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5439 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6474 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4613 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/83 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/219 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/222 [mattip: force build, release-pypy3.6-7.x]
<Dejan> release?
<Dejan> \o/
<cfbolz> Will still take a bit
<kenaan> mattip default 63d4875300a6 /pypy/doc/release-v7.2.0.rst: Update the release note
<kenaan> mattip release-pypy2.7-v7.x 1dbbc67ce3f1 /: merge default into branch
<kenaan> mattip py3.6 533072912c5f /pypy/doc/: merge default into branch
<kenaan> mattip release-pypy3.6-7.x b7e028d5c657 /: merge py3.6 into release
<kenaan> mattip default 4a76e7a33530 /pypy/tool/release/: add aarch64 to release targets
<mattip> ok, that was backwards :(
<mattip> well, I guess this way we will have a pre-json release candidate
<cfbolz> mattip: Yay :-)
<Dejan> aarch64 in release targets \0/
<mattip> comments and corrections to the release notes would be welcome http://doc.pypy.org/en/latest/release-v7.2.0.html
<mattip> even typos
<kenaan> rlamy py3.6 22433dc6e71c /pypy/: Fix race condition with SemLock that would sometimes cause a deadlock when using multiprocessing and threads together.
<ronan> mattip: is it too late to get that into the release?
<mattip> nope, I kicked the wrong version so will have to rebuild anyway. Seems like an important fix too
<mattip> "test_stuff" - hehe
<mattip> ronan: I will let the bots finish everything I started, so it will be a day or two till I redo the 3.6 release
<ronan> oops, I forgot to change the test name
marky1991 has quit [Quit: Saliendo]
<fijal> mattip: can I say that ARM should be capitalized as Arm in Arm Holdings or should I just fix it myself?
<bbot2> Started: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/194 [mattip: force build, release-pypy3.6-7.x]
<fijal> cfbolz: ping
<cfbolz> fijal: yep?
<mattip> fijal: sure, please fix anything that looks wrong
<ronan> mattip: pypy2 seems to have the same issue, but porting the test is a bit annoying
<fijal> cfbolz: let me know how your digging goes - as I said, i have time and can be convinced to do something in that area
<mattip> ronan: ok, I will cancel the builds then, it seems it was too early.
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-aarch64/builds/85 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/6656 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/7701 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/83 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/5439 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6474 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-macosx-x86-64/builds/4613 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/rpython-linux-x86-32/builds/219 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/rpython-linux-x86-64/builds/222 [mattip: force build, release-pypy3.6-7.x]
<bbot2> Exception: http://buildbot.pypy.org/builders/rpython-win-x86-32/builds/194 [mattip: force build, release-pypy3.6-7.x]
tsaka__ has joined #pypy
YannickJadoul has quit [Quit: Leaving]
dmalcolm has joined #pypy
Rhy0lite has quit [Quit: Leaving]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
oberstet has quit [Remote host closed the connection]
forgottenone has quit [Quit: Konversation terminated!]
antocuni has quit [Ping timeout: 265 seconds]
kipras has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
kipras has quit [Read error: Connection reset by peer]
kipras has joined #pypy
kipras has quit [Read error: Connection reset by peer]
kipras has joined #pypy
kipras has quit [Read error: Connection reset by peer]
<energizer> fijal: if you just need examples, tos9 might be up for publicly saying they use it?
kipras has joined #pypy
kipras has quit [Read error: Connection reset by peer]
Taggnostr2 has quit [Remote host closed the connection]
Taggnostr has joined #pypy
i9zO5AP has quit [Ping timeout: 265 seconds]
i9zO5AP has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
speeder39_ has joined #pypy