2017-07-05 11:38
cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs:
https://botbot.me/freenode/pypy/ ) | use cffi for calling C | "the modern world where network packets and compiler optimizations are effectively hostile"
00:01
yuyichao has joined #pypy
00:08
rokujyouhitoma has joined #pypy
00:12
rokujyouhitoma has quit [Ping timeout: 260 seconds]
00:14
marky1991 has joined #pypy
00:20
kipras is now known as kipras`away
00:22
kipras`away is now known as kipras
00:23
infernix has quit [Ping timeout: 240 seconds]
00:46
infernix has joined #pypy
01:00
marky1991 has quit [Read error: Connection reset by peer]
01:09
rokujyouhitoma has joined #pypy
01:13
rokujyouhitoma has quit [Ping timeout: 260 seconds]
01:38
kipras is now known as kipras`away
01:55
jcea has quit [Quit: jcea]
02:09
rokujyouhitoma has joined #pypy
02:13
rokujyouhitoma has quit [Ping timeout: 240 seconds]
02:37
ArneBab_ has joined #pypy
02:41
ArneBab has quit [Ping timeout: 248 seconds]
02:45
exarkun has quit [Ping timeout: 260 seconds]
02:46
exarkun has joined #pypy
03:10
rokujyouhitoma has joined #pypy
03:15
rokujyouhitoma has quit [Ping timeout: 240 seconds]
03:59
pilne has quit [Quit: Quitting!]
04:11
rokujyouhitoma has joined #pypy
04:15
rokujyouhitoma has quit [Ping timeout: 258 seconds]
04:26
exarkun has quit [Ping timeout: 240 seconds]
04:26
exarkun has joined #pypy
04:27
realtime has quit [Ping timeout: 255 seconds]
05:12
rokujyouhitoma has joined #pypy
05:16
rokujyouhitoma has quit [Ping timeout: 240 seconds]
06:05
exarkun has quit [Ping timeout: 240 seconds]
06:06
exarkun has joined #pypy
06:12
rokujyouhitoma has joined #pypy
06:13
oberstet has joined #pypy
06:17
rokujyouhitoma has quit [Ping timeout: 260 seconds]
06:51
leto_ni has joined #pypy
07:13
inhahe_ has quit [Read error: Connection reset by peer]
07:13
inhahe_ has joined #pypy
07:13
rokujyouhitoma has joined #pypy
07:17
rokujyouhitoma has quit [Ping timeout: 240 seconds]
07:23
yuyichao has quit [Read error: Connection reset by peer]
07:28
yuyichao has joined #pypy
07:46
exarkun has quit [Ping timeout: 240 seconds]
07:46
exarkun has joined #pypy
08:01
ArneBab has joined #pypy
08:03
ArneBab_ has quit [Ping timeout: 260 seconds]
08:14
rokujyouhitoma has joined #pypy
08:18
rokujyouhitoma has quit [Ping timeout: 240 seconds]
08:39
altendky has quit [Quit: Connection closed for inactivity]
08:45
raynold has quit [Quit: Connection closed for inactivity]
08:45
antocuni has joined #pypy
08:45
Tiberium has joined #pypy
09:11
eregon has quit [Ping timeout: 240 seconds]
09:15
rokujyouhitoma has joined #pypy
09:18
marr has joined #pypy
09:19
rokujyouhitoma has quit [Ping timeout: 240 seconds]
09:22
exarkun has quit [Read error: Connection reset by peer]
09:29
exarkun has joined #pypy
09:37
cwillu has joined #pypy
09:47
eregon has joined #pypy
10:07
antocuni has quit [Ping timeout: 258 seconds]
10:16
rokujyouhitoma has joined #pypy
10:20
rokujyouhitoma has quit [Ping timeout: 260 seconds]
11:08
_whitelogger has joined #pypy
11:16
rokujyouhitoma has joined #pypy
11:21
rokujyouhitoma has quit [Ping timeout: 248 seconds]
11:24
ronan has joined #pypy
11:30
marky1991 has joined #pypy
11:32
ulope has quit [Ping timeout: 240 seconds]
11:36
Tiberium has quit [Remote host closed the connection]
11:36
ulope has joined #pypy
11:36
antocuni has joined #pypy
11:38
marr has quit [Ping timeout: 240 seconds]
11:55
altendky has joined #pypy
12:17
rokujyouhitoma has joined #pypy
12:21
Rhy0lite has joined #pypy
12:22
cwillu has quit [Ping timeout: 248 seconds]
12:22
rokujyouhitoma has quit [Ping timeout: 276 seconds]
12:24
adamholmberg has joined #pypy
12:58
marr has joined #pypy
13:18
rokujyouhitoma has joined #pypy
13:22
rokujyouhitoma has quit [Ping timeout: 260 seconds]
14:05
<
exarkun >
Can I have a 32 bit interpreted pypy on a 64 bit machine? Bonus points: can I make py.test do that?
14:19
rokujyouhitoma has joined #pypy
14:23
rokujyouhitoma has quit [Ping timeout: 240 seconds]
14:54
Tiberium has joined #pypy
15:07
yuyichao has quit [Ping timeout: 246 seconds]
15:19
rokujyouhitoma has joined #pypy
15:20
yuyichao has joined #pypy
15:24
rokujyouhitoma has quit [Ping timeout: 260 seconds]
15:24
<
ronan >
exarkun: nope
15:25
<
exarkun >
meanwhile I obtained a separate 32bit system :/
15:25
demonimin has quit [Remote host closed the connection]
15:35
demonimin has joined #pypy
16:10
leto_ni has quit [Ping timeout: 276 seconds]
16:20
rokujyouhitoma has joined #pypy
16:25
rokujyouhitoma has quit [Ping timeout: 260 seconds]
16:27
ebarrett has quit [Quit: WeeChat 1.7]
16:31
ebarrett has joined #pypy
16:40
<
exarkun >
... 90 minutes later, test still running, sigh
16:43
ebarrett has quit [Quit: WeeChat 1.7]
16:45
pilne has joined #pypy
17:05
raynold has joined #pypy
17:05
<
raynold >
ahh it's a wonderful day
17:07
jamesaxl has joined #pypy
17:09
antocuni has quit [Ping timeout: 260 seconds]
17:16
david-fb has joined #pypy
17:21
rokujyouhitoma has joined #pypy
17:26
rokujyouhitoma has quit [Ping timeout: 260 seconds]
17:42
<
fijal >
exarkun: why do you run so many tests?
17:42
<
fijal >
exarkun: is it a good time to help you with that?
17:42
<
fijal >
you can have 32-on-64 if you install chroot
17:42
<
exarkun >
fijal: it's just one test
17:43
<
exarkun >
a really crappy one apparently
17:43
<
Rotonen >
systemd-nspawn is also a neat for that as it provides you with easy bootstrapping facilities for the container install
17:43
Tiberium has quit [Remote host closed the connection]
17:43
<
exarkun >
a py.test port of test_bigrepeat
17:44
<
exarkun >
it's pretty obvious why it's so slow
17:44
<
exarkun >
not yet obvious what the right way to make it fast/pass
17:44
<
fijal >
exarkun: I guess this is the reason why noone bothered :/
17:45
<
exarkun >
if there were an issue tracker then folks could record the results of their efforts for future maintainers ;)
17:46
<
fijal >
that is an idiotic test...
17:47
<
fijal >
it checks if we have an overflow check on the multiplication of size, essentially
17:47
<
fijal >
so it's trivial to make sure it happens, not fun to run the test
17:47
<
fijal >
you can
*obviously* make the test a lot different by swapping the numbers around
17:47
<
fijal >
so the list is not that big, but the multiplier on the right is
17:48
<
fijal >
this is potentially slightly more interesting?
17:50
<
exarkun >
I thought you were working on unicode
17:50
<
fijal >
well, I plan to once armin gets here, yeah
17:51
<
exarkun >
I did look at test_codecs a week or two ago. lone surrogates aren't treated as errors, at least for utf32.
17:51
<
exarkun >
I stopped looking at it before I found the code that's responsible for knowing lone surrogates suck, though.
17:51
<
fijal >
man those tests are dumb....
17:52
<
fijal >
exarkun: maybe you can wait till next week when me & armin can do some assesment?
17:52
<
fijal >
seems like a waste of time for now
17:52
<
exarkun >
of test_codecs?
17:52
<
fijal >
of all those tests
17:52
<
fijal >
it might be a waste of time regardless of course :-/
17:53
<
fijal >
but I struggle to find a sensible one
17:53
<
exarkun >
I could just delete all the remaining failing tests, then we'd be done right
17:53
<
fijal >
exarkun: i mean, chances are it would not be THAT far off is what I mean
17:54
<
exarkun >
I can take a look
17:55
<
fijal >
exarkun: please ask me or ronan next time for tests
17:56
<
fijal >
that one maybe
17:56
<
fijal >
I was foolish to assume those are mostly sane :/
17:56
<
exarkun >
RuntimeError: a
17:56
<
exarkun >
what could go wrong
18:01
<
fijal >
ronan: can you feed some tests to exarkun?
18:01
<
fijal >
something that's not like test_cpyext
18:05
marvin_ has quit [Ping timeout: 260 seconds]
18:08
<
mattip >
one of the wrappers is not catching exceptions
18:14
<
pjenvey >
mjacob: I think that test_pydoc failure was pretty bogus, do you recall that one?
18:15
<
exarkun >
it looks related to missing argspec on "built-in" functions
18:15
<
exarkun >
maybe kind of boring as far as pydoc goes, maybe kind of legit as far as the argspecs missing
18:17
<
pjenvey >
some of those are debatable, I think argument clinic landed in 3.5 and added some argspecs iirc
18:17
<
pjenvey >
lsprof clear seems important
18:17
<
pjenvey >
public api method anyway
18:18
<
pjenvey >
test_descr always important, and it has a nice crasher
18:19
marvin has joined #pypy
18:20
marvin is now known as Guest51964
18:22
rokujyouhitoma has joined #pypy
18:22
<
ronan >
exarkun: test_rlcompleter seems worth fixing
18:22
oberstet has quit [Ping timeout: 255 seconds]
18:23
<
ronan >
test_pickle/test_pickletools is probably something stupid, but someone should look
18:25
<
pjenvey >
definitely pickle failures
18:26
rokujyouhitoma has quit [Ping timeout: 260 seconds]
18:52
yuyichao_ has joined #pypy
18:55
yuyichao has quit [Ping timeout: 240 seconds]
19:07
Rhy0lite has quit [Quit: Leaving]
19:13
<
mattip >
so numpy is running in a loop converting values to a smaller dtype, and somewhere along the line one or more values overflow
19:13
<
mattip >
numpy only checks at the end of the conversion if there was any error, and then handles it
19:14
<
mattip >
while cpyext checks after each call that if an error exists, the return value matches the desired one
19:16
<
mattip >
so should we 1) only perform that check if a pre-existing error did not exist, 2) check after every iteration in numpy that no error occurred, or
19:17
<
mattip >
3) check for SystemError as well as OverflowError or something else all together?
19:17
<
mattip >
s/desired one/declared error value/
19:22
rokujyouhitoma has joined #pypy
19:27
rokujyouhitoma has quit [Ping timeout: 276 seconds]
19:35
lritter has joined #pypy
20:10
lritter has quit [Quit: Leaving]
20:18
leto_ni has joined #pypy
20:23
rokujyouhitoma has joined #pypy
20:27
rokujyouhitoma has quit [Ping timeout: 246 seconds]
20:37
<
kenaan >
mattip default ad807f62258a /rpython/translator/c/src/: quiet a gcc warning by adding RPY_UNUSED
__attribute__ ((__unused__))
20:37
<
kenaan >
mattip default 4b21dcb59a60 /pypy/module/cpyext/unicodeobject.py: char * -> const char *, fixes issue #2626
21:07
exarkun has quit [Ping timeout: 255 seconds]
21:08
exarkun has joined #pypy
21:09
kipras`away is now known as kipras
21:11
<
mjacob >
pjenvey: hi! did you mean to highlight mattip earlier?
21:11
jamesaxl has quit [Ping timeout: 240 seconds]
21:22
<
pjenvey >
mjacob: no, I thought you had done some stuff with that
21:24
rokujyouhitoma has joined #pypy
21:28
leto_ni has quit [Ping timeout: 276 seconds]
21:29
rokujyouhitoma has quit [Ping timeout: 260 seconds]
21:37
<
mjacob >
pjenvey: if i did, then i forgot
21:37
<
mjacob >
pjenvey: but feel free to refresh my memory :)
22:02
adamholmberg has quit [Remote host closed the connection]
22:03
adamholmberg has joined #pypy
22:07
adamholmberg has quit [Ping timeout: 240 seconds]
22:10
zware has quit [Ping timeout: 240 seconds]
22:14
zware has joined #pypy
22:19
antocuni has joined #pypy
22:25
rokujyouhitoma has joined #pypy
22:29
rokujyouhitoma has quit [Ping timeout: 258 seconds]
22:33
tormoz has quit [Remote host closed the connection]
22:35
tormoz has joined #pypy
22:46
lritter has joined #pypy
22:46
exarkun has quit [Ping timeout: 248 seconds]
22:47
exarkun has joined #pypy
22:56
tormoz has quit [Remote host closed the connection]
22:58
tormoz has joined #pypy
23:26
rokujyouhitoma has joined #pypy
23:26
ronan has quit [Remote host closed the connection]
23:28
zware has quit [Remote host closed the connection]
23:30
rokujyouhitoma has quit [Ping timeout: 260 seconds]
23:31
ronan has joined #pypy
23:45
zware has joined #pypy
23:46
antocuni has quit [Ping timeout: 260 seconds]
23:49
yuyichao_ has quit [Ping timeout: 240 seconds]
23:57
zware has quit [Quit: No Ping reply in 180 seconds.]