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
<marky1991> oh, pretty late in europe. I'll ask again tomorrow
oberstet has quit [Quit: Leaving]
marky1991 has quit [Quit: Leaving]
lritter has quit [Ping timeout: 256 seconds]
mjacob has quit [Ping timeout: 246 seconds]
mjacob has joined #pypy
Taggnostr has quit [Remote host closed the connection]
Taggnostr has joined #pypy
mgedmin has quit [Quit: ZNC - https://wiki.znc.in/ZNC]
mgedmin has joined #pypy
jcea has quit [Ping timeout: 264 seconds]
isidentical has joined #pypy
<mattip> marky1991: that clearly is wrong. Want to submit a PR to fix it?
krono has joined #pypy
oberstet has joined #pypy
oberstet has quit [Remote host closed the connection]
oberstet has joined #pypy
<cfbolz> marky1991: yeah, that looks wrong somehow, // would make more sense
glyph has quit [Quit: End of line.]
glyph has joined #pypy
marky1991 has joined #pypy
<marky1991> ok, i'll probably work on a fix then. I now see why the +- logic is there, need to run through some examples and add some tests
<marky1991> i"m surprised no one ever hit it though, the code in ctypes is 10+ years old
<marky1991> i'm hitting it due to pyglet
<marky1991> but thanks for confirming
<cfbolz> marky1991: because in PyPy2 it's fine, I suspect
<cfbolz> (there, / has the behavior of // by default)
<marky1991> ah, right
<marky1991> not a lot of existing tests it seems?
<marky1991> i see stdlib test_ctypes, which is pretty bare bones and then extra_tests/test_ctypes, which also isn't very big
<marky1991> should I add the new tests to extra_tests?
<marky1991> i've never used that folder before
<marky1991> oh, it looks like there's a .c test as well, hmm
<mattip> marky1991: yes, extra_tests is the right place
<marky1991> cool
jcea has joined #pypy
cptpcrd2 has left #pypy ["WeeChat 2.3"]
marky1991 has quit [Ping timeout: 256 seconds]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 260 seconds]
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<marky1991> im struggling to build pypy3 , due to a ssl compilation error
<marky1991> i'M getting the same "SSL_CTX_set_min_proto_version" undefined symbol error that was reported in https://freenode.irclog.whitequark.org/pypy/2020-11-02
<marky1991> hmm, maybe I don't exactly care, let me try something
marky1991 has quit [Ping timeout: 240 seconds]
asmeurer has joined #pypy
lritter has joined #pypy
<mattip> marky1991 (for the logs): you can fix the cytpes issue in pure python, no need to translate pypy
asmeurer has quit [Quit: asmeurer]
<fijal> eh, strange question
<fijal> would it make sense to distribute "C sources" from compilation as a way to address linux binary compatibility problems
<mattip> what is the use case?
<mattip> btw, currently building py3.7 takes ~30 minutes, which is comparable to building pytorch/tensorflow
<cfbolz> on a sufficiently fast machine ;-)
<mattip> we could easily add another tarball of C sources to the release
<mattip> just wondering who is the target audience
<fijal> mattip: different version of ubuntu is target audience
<fijal> so right now what I need to do is to fix the docker images, because the version of libffi changed
<mattip> the releases were made to be portable
<mattip> between glibc linuxes
<mattip> and ships libffi.so.6
<fijal> right, so if it's libffi.so.7, boom
isidentical has quit [Read error: Connection reset by peer]
isidentical1 has joined #pypy
<cfbolz> fijal: *ships*
oberstet has quit [Quit: Leaving]
isidentical1 is now known as isidentical
max3 has joined #pypy
<max3> does anyone know what happen to the stm branch of pypy? https://bitbucket.org/pypy/pypy/src/stmgc-c8/
<max3> i can't find the src anywhere
<cfbolz> it's still a branch, I suppose
<max3> cfbolz thanks
max3 has quit [Client Quit]
marky1991 has joined #pypy
<marky1991> could someone remind me how to run the tests untranslated?
<marky1991> i tried just python ../../pytest.py test_array.py , but that's just testing cpython
<fijal> ugh
<cfbolz> marky1991: sorry, we're not explaining this very well. do you have a translated pypy around?
<cfbolz> if yes, you can edit the ctypes sources, and run the test on the *translated* pypy
<cfbolz> by saying pypy-c -m pytest ...
<fijal> cfbolz: why does it not find it then?
<fijal> any clue?
<cfbolz> I am not sure this stuff is integrated into the arm build
<fijal> "ah"
<fijal> ok, how do I integrate it into the arm build?
<fijal> or, specifically, what's "this stuff"
<cfbolz> fijal: squeaky's portable builds are not in our repo
<fijal> so you are talking about portable builds and not about nightlies?
<cfbolz> argh
<cfbolz> s/not/now
<cfbolz> I am just adding to the confusion, I should eat
<fijal> hehehe
<fijal> ok, cool, I can put some work into making it happen for arm64 too
<marky1991> ok, i got it with -m pytest as suggested
<marky1991> thanks
<cfbolz> marky1991: it's all written in pure python
<cfbolz> so it's relatively regular library development
<marky1991> just difficult to get it to use the right python
<cfbolz> yep
dmalcolm has quit [Remote host closed the connection]
marky1991 has quit [Ping timeout: 240 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6193 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7441 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8525 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7384 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8525 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7384 [nulano: test branch, py3.7-win64-cpyext-longobject]
mattip has quit [Ping timeout: 265 seconds]
mattip has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-32/builds/6193 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/65 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/145 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/7441 [nulano: test branch, py3.7-win64-cpyext-longobject]
ronan has quit [Remote host closed the connection]
ronan has joined #pypy
ronan is now known as Guest59203
Guest59203 is now known as ronan
mattip has quit [Ping timeout: 246 seconds]
<bbot2> Retry: http://buildbot.pypy.org/builders/own-win-x86-64/builds/145 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Retry: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/65 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/66 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/146 [nulano: test branch, py3.7-win64-cpyext-longobject]
mattip has joined #pypy
isidentical has quit [Quit: isidentical]
<exarkun> maybe my pypy is out of date, but it seems pypy2.7 os.execvp uses the default encoding instead of the filesystem encoding when it gets unicode arguments
<exarkun> cpython uses filesystem encoding