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
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
jvesely has quit [Quit: jvesely]
CrazyPython has joined #pypy
wleslie has joined #pypy
jvesely has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
lritter has quit [Ping timeout: 245 seconds]
lritter has joined #pypy
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
<kenaan> mattip code_page-utf8 5db4b2b481b5 /pypy/: test, fix encoding code_pages
<kenaan> mattip code_page-utf8 3805e48e8f37 /pypy/doc/whatsnew-pypy3-head.rst: close branch to be merged
<kenaan> mattip py3.6 d3664d4fd243 /: merge code_page-utf8: adds encoding, decoding codepages on win32
jcea has quit [Quit: jcea]
inhahe has quit []
zmt01 has joined #pypy
inhahe has joined #pypy
zmt00 has quit [Ping timeout: 245 seconds]
dddddd has quit [Remote host closed the connection]
lritter has quit [Ping timeout: 240 seconds]
_whitelogger has joined #pypy
jvesely has quit [Remote host closed the connection]
jvesely has joined #pypy
jacob22 has joined #pypy
jacob22 has quit [Read error: Connection reset by peer]
jacob22_ has joined #pypy
jvesely has quit [Quit: jvesely]
tsaka__ has joined #pypy
tsaka__ has quit [Ping timeout: 276 seconds]
Cheery has quit [Ping timeout: 245 seconds]
Cheery has joined #pypy
tsaka__ has joined #pypy
oberstet has joined #pypy
ronan__ has joined #pypy
ronan__ is now known as ronan
hotpot33 has joined #pypy
antocuni has joined #pypy
YannickJadoul has joined #pypy
waldhar has quit [Quit: ZNC 1.7.4 - https://znc.in]
ronan has quit [Ping timeout: 240 seconds]
hotpot33 has quit [Changing host]
hotpot33 has joined #pypy
ronan has joined #pypy
<YannickJadoul> Huh, the last three py3.6 nightly builds have a Windows zip file of size 0B?
<YannickJadoul> "compress pypy-c failed"
antocuni has quit [Ping timeout: 245 seconds]
antocuni has joined #pypy
<arigato> "[Errno 2] No such file or directory: 'c:\\\\users\\\\matti\\\\appdata\\\\local\\\\temp\\\\usession-default-146\\\\build\\\\pypy-c-jit-98016-b3fa16549942-win32\\\\lib_pypy\\\\_blake2\\\\_blake2b_cffi.pypy36-pp73-win32.pyd-169878c0-38350ac6-741aa442-4e29ae92-28cd7953-71b802b9-45975abf-4dfdf582-32d63d3d-c4f6ddae-3ddca02b-0aeb411a-fb878c3f'"
<arigato> from the logs of "compress pypy-c failed"
mattip_ has joined #pypy
<mattip_> it seems the package script is trying to zip up some garbage file
<mattip_> so three problems:
<mattip_> why is that file built,
<mattip_> why does “hg purge” not erase it,
<mattip_> why does package.py not ignore it
<mattip_> I know how to solve the last one
mattip_ has quit [Remote host closed the connection]
oberstet has quit [Quit: Leaving]
ronan has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
antocuni has quit [Ping timeout: 276 seconds]
<arigato> fwiw the error is reported by anaconda, not by package.py
<arigato> just saying
mattip_ has joined #pypy
<mattip_> arigato: true, it is the shutil.copytree that is failing, but it is a good thing since the pyd is garbage
Rhy0lite has joined #pypy
antocuni has joined #pypy
jvesely has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
antocuni has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
oberstet has joined #pypy
jcea has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
<mattip_> also, "hg purge" cannot remove the files in the "hg update" build step, which succeeds anyway. Perhaps it is a limitation of file name length?
<arigato> wat
<arigato> more likely, isn't it because the files are still open?
<arigato> but ronan has a point
<arigato> it's 266 characters in length
<arigato> which may be over some limit
antocuni has joined #pypy
mattip_ has quit [Remote host closed the connection]
mattip_ has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
dddddd has joined #pypy
<kenaan> mattip default 65f80b74784f /: backport changes from py3.6 to minimize diff
<kenaan> mattip default 874d998bc429 /pypy/tool/release/package.py: ignore cffi build artifacts that also happen to be over 260 chars in length
<kenaan> mattip py3.6 7d4bfee3b8a6 /: merge default into py3.6
<mattip_> there are still rpython differences between default and py3.6 in rpython/translator/platform/darwin.py
<mattip_> I was in the middle of checking whether we need -flat_namespace when the macOS buildbot went off line
antocuni has quit [Ping timeout: 265 seconds]
<kenaan> mattip buildbot 4a51f6392247 /bot2/pypybuildbot/builds.py: add a step to purge hg files via command line trickery on windows
mattip_ has quit [Quit: Leaving]
antocuni has joined #pypy
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
ronan has quit [Quit: Ex-Chat]
ronan has joined #pypy
bbot2 has joined #pypy
mattip_ has joined #pypy
marky1991 has joined #pypy
jacob22_ has quit [Ping timeout: 265 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4948 [mattip: force build, py3.6]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4948 [mattip: force build, py3.6]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4949 [mattip: force build, py3.6]
oberstet has quit [Quit: Leaving]
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4949 [mattip: force build, py3.6]
<kenaan> mattip buildbot 16b15bf68743 /bot2/pypybuildbot/builds.py: move build step to outer function
marky1991 has quit [Ping timeout: 276 seconds]
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
bbot2 has joined #pypy
marky1991 has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4950 [mattip: force build, py3.6]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4950 [mattip: force build, py3.6]
<mattip_> any guesses how to format DOS commands on buildbot? I want
<mattip_> 'for /F "usebackq tokens=1,2" %I IN (`hg stat`) DO @IF "?" == "%I" DEL %J'
<mattip_> to run
* mattip_ asking on #buildbot
<arigato> no (and also, "wat")
<mattip_> hg stat can report the file name, but cannot remove it
<arigato> you're trying to redo "hg purge"?
<arigato> maybe "hg up -r null; del *.*; hg up" ?
marky1991 has quit [Ping timeout: 268 seconds]
YannickJadoul has quit [Quit: Leaving]
antocuni has quit [Ping timeout: 240 seconds]
nimaje has quit [Quit: WeeChat 2.5]
nimaje has joined #pypy
<kenaan> mattip buildbot 4221429ae63d /bot2/pypybuildbot/builds.py: try 4a51f6392247 again but differently (arigato)
<catern> this file executes without an error, producing two .so's
<catern> but if I change the ffi.compile() to ffi.verify() then I get an error
bbot2 has quit [Quit: buildmaster reconfigured: bot disconnecting]
<catern> should I always call .verify before compiling or something? the setuptools integration doesn't do that, it just calls .compile()..
bbot2 has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4951 [mattip: force build, py3.6]
antocuni has joined #pypy
<mattip_> the answer on #buildbot was "you use version 0.8.8 from 2013, we fixed it in 0.9.0"
<mattip_> and while the `hg up -r null` trick is better, it seems there are dead processes holding some files open
<mattip_> so out of the three questions above, I have fixed the last two
ronan has quit [Ping timeout: 240 seconds]
<mattip_> but no idea where pypy\goal\pypy3-c.exe-5f6e43a1-1f8e7129-.... comes from
<mattip_> catern: what OS are you using?
<catern> mattip_: Debian Linux
<catern> Debian 10, Buster
ronan has joined #pypy
tsaka__ has quit [Quit: Konversation terminated!]
tsaka__ has joined #pypy
ekaologik has joined #pypy
<arigato> catern: I think you're getting a runtime error when trying to import the one with the bogus declaration in the cdef()
<arigato> or even only when you actually try to use the type "struct stat"
tsaka__ has quit [Ping timeout: 268 seconds]
<catern> that is kinda lame, is there any way to check it at build time?
<catern> .verify actually doesn't work in my full case because I use typedef which apparently isn't supported by .verify
antocuni has quit [Ping timeout: 245 seconds]
marky1991 has joined #pypy
<arigato> yes, .verify() is old and deprecated
<arigato> so there is no single-call helper, so far
<arigato> you can probably do something like import the compiled module, and try to access all the structure types, with ffi.list_types()
<catern> urgh, in that case I'll just rely on my unit tests...
<arigato> yes, that's the best solution
<catern> does accessing the structure really validate the sizes?
<catern> it's quite worrying that this compiles
<catern> ok yeah it does seem to validate the sizes when creating a new instance of the structure at least
antocuni has joined #pypy
<arigato> yes, it will validate the struct when you do various things, the first time
<arigato> you can also do e.g. ``ffi.cast("struct stat *", 0)`` or various things, but ``ffi.new("struct stat *")`` works fine
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4951 [mattip: force build, py3.6]
<kenaan> mattip py3.6 e04884ede379 /pypy/tool/release/package.py: fix bad merge
ronan has quit [Ping timeout: 240 seconds]
<kenaan> wlav cppyy-dev 3d97f3c4624e /pypy/module/_cppyy/test/test_fragile.py: pointers to unknown classes now work (but are otherwise not usable)
<kenaan> wlav cppyy-dev 65d87222eef1 /pypy/module/_cppyy/interp_cppyy.py: extend support of templated methods
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/4952 [mattip: force build, py3.6]
ronan has joined #pypy
<catern> fair enough, unit tests it is I suppose, this is Python after all. thanks for the guidance!
jacob22_ has joined #pypy
antocuni has quit [Ping timeout: 240 seconds]
ronan has quit [Ping timeout: 240 seconds]
marky1991 has quit [Ping timeout: 245 seconds]
ronan has joined #pypy
marky1991 has joined #pypy
oberstet has joined #pypy
marky1991 has quit [Ping timeout: 240 seconds]
ronan has quit [Ping timeout: 240 seconds]
ronan has joined #pypy
antocuni has joined #pypy
<antocuni> fwiw, we now have an #hpy channel :)
Rhy0lite has quit [Quit: Leaving]
antocuni has quit [Ping timeout: 265 seconds]
ronan has quit [Read error: Connection reset by peer]
ronan has joined #pypy
lritter has joined #pypy
tsaka__ has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
Ai9zO5AP has joined #pypy
i9zO5AP has quit [Ping timeout: 268 seconds]
tsaka__ has quit [Ping timeout: 265 seconds]
ronan has quit [Ping timeout: 240 seconds]
marky1991 has quit [Ping timeout: 265 seconds]
jacob22_ has quit [Ping timeout: 265 seconds]
jacob22_ has joined #pypy
ronan has joined #pypy
ekaologik has quit [Quit: https://quassel-irc.org - Komfortabler Chat. Überall.]
Ai9zO5AP has quit [Quit: WeeChat 2.5]
jacob22_ has quit [Remote host closed the connection]
jacob22_ has joined #pypy
jacob22_ has quit [Ping timeout: 265 seconds]
<kenaan> wlav cppyy-dev 47555bb4c1cc /pypy/module/_cppyy/: prepare for more template tests
<kenaan> wlav cppyy-dev 5e3e6dd38086 /pypy/module/_cppyy/test/test_templates.py: more template tests from cppyy/test (CPython)
CrazyPython has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
kipras has joined #pypy
CrazyPython has quit [Ping timeout: 250 seconds]
ronan has joined #pypy
<mattip_> the next version of pip will expect `sysconfig.get_config_var("SOABI")` to return a value on non-cpython implementations
<mattip_> so we should release a version with 24c4196d86af in it before then
<mattip_> I am not sure what the implications are for python2, but we could just backport it to be sure
antocuni has joined #pypy
jacob22_ has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
CrazyPython has joined #pypy
ronan has quit [Ping timeout: 240 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
ronan has joined #pypy
antocuni has quit [Ping timeout: 276 seconds]
antocuni has joined #pypy