03:18
gef has quit [Quit: No Ping reply in 180 seconds.]
03:19
gef has joined #pypy
04:31
gef has quit [Ping timeout: 250 seconds]
05:17
gef has joined #pypy
05:53
<
cfbolz >
something is still wrong with testcapimodule
06:37
<
mattip >
when importing it I get "undefined symbol: Py_BuildValue"
06:39
<
mattip >
which should be PyPy_BuildValue
06:41
<
mattip >
my bad, the c-extension module is not built?
06:45
<
mattip >
right, confusion, it is built in a temp directory, then imported, then copied to the final location
06:45
<
mattip >
my first comment was correct: it is not getting the proper include paths or something
06:53
<
mattip >
on line 6532 _testcapimodule.c undefines Py_BuildValue which breaks on PyPy
06:54
<
mattip >
I found this by copying the compile command for _testcapimodule.c which is printed during the build stage of importing _testcapi
06:55
<
mattip >
and adding a "-E" so it only precompiles the file, then looking for "\<Py_BuildValues\>"
07:01
<
mattip >
usually, Py_BuildValue is defined as _Py_BuildValue_SizeT, this test wants to actually use Py_BuildValue (without PY_SSIZE_T_CLEAN)
07:01
<
mattip >
which is defined in Python/modsupport.c as calling va_build_value(format, va, 0) instead of va_build_value(format, va, FLAG_SIZE_T)
07:04
<
mattip >
which we copy verbatum into pypy
07:05
gef has quit [Ping timeout: 252 seconds]
07:06
gef has joined #pypy
07:09
<
mattip >
pushed a fix, you can apply locally to the c file in 3c6353adb043
07:19
<
cfbolz >
mattip: thanks! that would have taken me ages :-(
07:24
<
cfbolz >
cool, now I can run test_call
07:24
<
cfbolz >
of course stuff fails 😅
08:03
Julian has joined #pypy
08:08
Julian has quit [Ping timeout: 264 seconds]
08:41
Eclipse2212 has joined #pypy
08:58
Julian has joined #pypy
09:06
gef_ has joined #pypy
09:08
gef has quit [Ping timeout: 264 seconds]
09:30
Dejan has quit [Quit: Leaving]
09:30
Dejan has joined #pypy
09:43
gef_ has quit [Ping timeout: 258 seconds]
10:05
atomizer has joined #pypy
10:15
Eclipse2212 has quit [Ping timeout: 264 seconds]
10:19
Julian has quit [Ping timeout: 252 seconds]
10:30
atomizer has quit [Ping timeout: 258 seconds]
10:47
<
mattip >
cfbolz: feel free to ping/share tracebacks if you are stuck
10:51
Eclipse2212 has joined #pypy
10:53
<
cfbolz >
mattip: I was wondering why the lib-python tests don't run, but it's for a stupid reason
11:03
<
mattip >
right, there is a missing Repr
11:05
<
cfbolz >
mattip: is that from the stdlib merge maybe? the lib-python tests used to run
11:05
* cfbolz
just adds stuff
11:08
<
mattip >
I think there is a new file
11:08
<
mattip >
Dejan: IMO that is the wrong hack: it would be better to add sys._base_executable
11:23
<
cfbolz >
mattip: no, the file is removed on 3.8
11:24
<
cfbolz >
but I brought it back accidentally via a 3.7 merge at some point
11:24
stkrdknmibalz has quit [Quit: WeeChat 3.0.1]
11:51
Eclipse2212 has quit [Ping timeout: 252 seconds]
13:26
Eclipse2212 has joined #pypy
13:33
<
mattip >
cfbolz: it seems lib_pypy/_testmultiphase.c does not compile
13:34
<
mattip >
it would be nice to solve that separately from vectorcall somehow
13:35
<
mattip >
one strategy would be to merge vectorcall as-is, with the rest of it missing?
13:35
<
cfbolz >
mattip: there's not so much missing
13:35
<
mattip >
just that offset flag thing
13:36
<
cfbolz >
mattip: no, I copy pasted those. But seems some details are still wrong
13:36
<
mattip >
maybe leave it for a follow-up PR?
13:37
<
cfbolz >
mattip: works for me
13:53
<
mattip >
ok, most of the _testmultiphase.c failure was a bad merge
13:54
<
mattip >
but we seem to need PyState_{Find,Add,Remove}Module
13:57
<
mattip >
which, strangely, are interfaces for non multi-phase initialization
14:09
<
cfbolz >
mattip: yes, I removed such a call in testcapi too
14:31
Julian has joined #pypy
14:44
Julian has quit [Ping timeout: 258 seconds]
14:48
Julian has joined #pypy
14:53
jryans has quit [Write error: Connection reset by peer]
14:53
daubers has quit [Remote host closed the connection]
14:54
daubers has joined #pypy
14:56
jryans has joined #pypy
15:14
Eclipse2212 has quit [Quit: WeeChat 3.1]
15:33
Julian has quit [Ping timeout: 264 seconds]
15:46
Julian has joined #pypy
16:05
Dejan has quit [Quit: Leaving]
16:41
habnabit_ has quit [*.net *.split]
16:41
idnar has quit [*.net *.split]
16:41
idnar_ has joined #pypy
16:42
habnabit_ has joined #pypy
16:42
habnabit_ has joined #pypy
16:42
habnabit_ has quit [Changing host]
16:55
Julian has quit [Quit: leaving]
17:18
<
mattip >
cool, the lib-python test reporting on py3.8 now works.
17:19
<
mattip >
yeilds {'failures': 484, 'errors': 770, 'skipped': 1491}
17:23
<
cfbolz >
mattip: and how many passed?
17:56
<
mattip >
total was 11013 tests, so ~10000
17:57
<
mattip >
also, this one liner sorts the error messages by exception + text
17:57
<
mattip >
grep '^[A-Za-z]*Error' /tmp/stdout.txt |sort |uniq -c |sort -n
17:57
<
mattip >
280 AttributeError: module 'signal' has no attribute 'valid_signals'
17:58
<
mattip >
197 RuntimeError: no running event loop
17:58
<
mattip >
98 ModuleNotFoundError: No module named '_posixshmem'
17:58
<
cfbolz >
mattip: right, the second is top level await, the third multiprocessing stuff
18:00
<
mattip >
that grep catches 1386 lines, with a long tail of unique errors
18:01
<
mattip >
cool. So maybe not so bad. I wonder how py3.7 is in comparison
18:03
<
mattip >
{'Ran': 6231, 'failures': 105, 'errors': 17, 'skipped': 1021}
18:03
<
cfbolz >
so, lots of work
18:03
<
mattip >
maybe something is off, they went from 6231 tests to 11013?
18:09
<
cfbolz >
not impossible
18:09
<
cfbolz >
toooons of work (looking through the failures a bit)
18:10
<
cfbolz >
well, to be expected
18:10
<
mattip >
the 3.7 -> 3.8 transition was supposed to be a simple
18:11
<
cfbolz >
mattip: it's always the details that kill us
18:18
ronan__ has joined #pypy
18:20
Julian has joined #pypy
18:23
ronan has quit [Ping timeout: 264 seconds]
18:51
ronan__ is now known as ronan
19:07
idnar_ is now known as idnar
19:21
Julian has quit [Quit: leaving]
20:29
glyph has quit [Quit: End of line.]
20:30
glyph has joined #pypy
20:47
lritter has joined #pypy
21:04
lritter has quit [Ping timeout: 252 seconds]
21:17
glyph has quit [Read error: Connection reset by peer]
21:19
glyph has joined #pypy
21:23
glyph has quit [Client Quit]
21:23
smarr has joined #pypy
21:23
glyph has joined #pypy
21:27
glyph has quit [Client Quit]
21:27
glyph has joined #pypy
21:30
<
smarr >
hi, has been a while since I last was here. What's the best way to diff RPython trace files? My memory tells me that I might have used a script in the past to remove/filter out things like pointers, which make a basic diff very noise. Though, since it has been a long time, I don't really know anymore what I did. Any hints welcome
21:46
glyph has quit [Read error: Connection reset by peer]
21:47
glyph has joined #pypy
21:49
<
smarr >
ah, I think I found it, pyptrace.vim
21:51
glyph has quit [Client Quit]
21:51
glyph has joined #pypy
23:13
glyph has quit [Quit: End of line.]
23:14
glyph has joined #pypy