00:03
danielboston26 has joined #pypy
00:03
<
danielboston26 >
does anyone here use editra with pypy?
00:15
adamholmberg has joined #pypy
00:19
adamholmberg has quit [Ping timeout: 250 seconds]
00:28
adamholmberg has joined #pypy
00:28
adamholmberg has quit [Remote host closed the connection]
00:34
adamholmberg has joined #pypy
00:34
adamholmberg has quit [Remote host closed the connection]
00:45
ast-ral has joined #pypy
00:49
user24 has quit [Ping timeout: 268 seconds]
01:02
user24 has joined #pypy
01:11
mattip has quit [Ping timeout: 252 seconds]
01:14
sknebel has quit [Ping timeout: 268 seconds]
01:17
sknebel has joined #pypy
01:39
adamholmberg has joined #pypy
01:43
adamholmberg has quit [Ping timeout: 244 seconds]
02:14
user24 has quit [Quit: Leaving]
03:24
Kipras_ has quit [Read error: Connection reset by peer]
03:24
Kipras_ has joined #pypy
03:38
dddddd has quit [Remote host closed the connection]
03:41
adamholmberg has joined #pypy
03:45
adamholmberg has quit [Ping timeout: 250 seconds]
03:49
speeder39_ has joined #pypy
03:49
forgottenone has joined #pypy
04:19
<
abrown >
I'm struggling with class inheritance in RPython; in talking to cfbolz earlier I realized I needed to switch over to
_immutable_fields_ from
_immutable_ because in some cases I have a single mutable field. However, when I do so I have to start using
_attrs_ but when I do this I get NoSuchAttrError.
04:33
ast-ral has quit [Quit: Page closed]
04:33
ast-ral has joined #pypy
04:36
<
ast-ral >
is there any way to check if a program passes rtyping before trying to translate or do you just have to go for it
04:37
<
simpson >
Just go for it. The second thing that the translator does is rtyping. (The first thing is importing your entrypoint and doing some platform checks.)
04:38
<
ast-ral >
ok thanks :)
04:38
<
simpson >
As you get more practice, you'll get more used to knowing what the types should be, and you'll have less trouble.
04:42
adamholmberg has joined #pypy
04:42
forgottenone has quit [Ping timeout: 246 seconds]
04:46
adamholmberg has quit [Ping timeout: 246 seconds]
04:46
danielboston26 has left #pypy ["Leaving"]
05:09
mdash has quit [Ping timeout: 260 seconds]
05:09
mdash has joined #pypy
05:15
adamholmberg has joined #pypy
05:15
adamholmberg has quit [Remote host closed the connection]
05:19
adamholmberg has joined #pypy
05:19
adamholmberg has quit [Remote host closed the connection]
05:23
adamholmberg has joined #pypy
05:30
adamholmberg has quit [Ping timeout: 245 seconds]
05:31
<
ast-ral >
is there a way to do something similar to if type(obj) == SomeType:
05:32
<
simpson >
isinstance(), usually for subclassing.
05:33
adamholmberg has joined #pypy
05:33
adamholmberg has quit [Remote host closed the connection]
05:33
adamholmberg has joined #pypy
05:38
adamholmberg has quit [Ping timeout: 250 seconds]
05:45
adamholmberg has joined #pypy
05:45
adamholmberg has quit [Remote host closed the connection]
05:47
adamholmberg has joined #pypy
05:47
adamholmberg has quit [Remote host closed the connection]
05:51
abrown has quit [Ping timeout: 250 seconds]
05:56
adamholmberg has joined #pypy
05:56
adamholmberg has quit [Remote host closed the connection]
06:11
adamholmberg has joined #pypy
06:11
adamholmberg has quit [Remote host closed the connection]
06:21
adamholmberg has joined #pypy
06:21
adamholmberg has quit [Remote host closed the connection]
06:36
adamholmberg has joined #pypy
06:36
adamholmberg has quit [Remote host closed the connection]
06:42
adamholmberg has joined #pypy
06:42
adamholmberg has quit [Remote host closed the connection]
06:44
adamholmberg has joined #pypy
06:49
adamholmberg has quit [Ping timeout: 268 seconds]
06:54
adamholmberg has joined #pypy
06:54
adamholmberg has quit [Remote host closed the connection]
07:00
adamholmberg has joined #pypy
07:00
adamholmberg has quit [Remote host closed the connection]
07:18
speeder39_ has quit [Quit: Connection closed for inactivity]
07:23
adamholmberg has joined #pypy
07:23
adamholmberg has quit [Remote host closed the connection]
07:28
adamholmberg has joined #pypy
07:28
adamholmberg has quit [Remote host closed the connection]
07:34
adamholmberg has joined #pypy
07:34
adamholmberg has quit [Remote host closed the connection]
07:36
adamholmberg has joined #pypy
07:37
jamesaxl has joined #pypy
07:41
adamholmberg has quit [Ping timeout: 250 seconds]
07:48
adamholmberg has joined #pypy
07:48
adamholmberg has quit [Remote host closed the connection]
08:49
adamholmberg has joined #pypy
08:53
mattip has joined #pypy
08:54
adamholmberg has quit [Ping timeout: 250 seconds]
09:12
Garen has quit [Read error: Connection reset by peer]
09:12
Garen has joined #pypy
09:53
antocuni has joined #pypy
10:30
mattip has quit [Ping timeout: 268 seconds]
10:30
mattip has joined #pypy
10:51
adamholmberg has joined #pypy
10:55
adamholmberg has quit [Ping timeout: 240 seconds]
11:24
antocuni has quit [Ping timeout: 240 seconds]
11:34
xcm has quit [Remote host closed the connection]
11:35
xcm has joined #pypy
11:37
dmalcolm has quit [Ping timeout: 245 seconds]
11:45
dmalcolm has joined #pypy
11:52
adamholmberg has joined #pypy
11:57
adamholmberg has quit [Ping timeout: 268 seconds]
12:00
JStoker has quit [Ping timeout: 250 seconds]
12:18
JStoker has joined #pypy
12:31
JStoker has quit [Read error: Connection reset by peer]
12:32
JStoker has joined #pypy
13:06
antocuni has joined #pypy
13:15
JStoker has quit [Ping timeout: 252 seconds]
13:24
mattip has quit [Remote host closed the connection]
13:32
Garen_ has joined #pypy
13:34
<
arigato >
abrown (for the logs): it's missing knowledge that condition_value should be an Integer
13:34
<
arigato >
...an IntegerValue instance
13:35
<
arigato >
there's an assert in one path leading to the line, but not the other (when you close the loop)
13:36
Garen has quit [Ping timeout: 250 seconds]
13:38
dddddd has joined #pypy
13:54
adamholmberg has joined #pypy
13:58
adamholmberg has quit [Ping timeout: 250 seconds]
14:39
speeder39_ has joined #pypy
15:55
adamholmberg has joined #pypy
15:59
adamholmberg has quit [Ping timeout: 250 seconds]
16:20
antocuni has quit [Ping timeout: 272 seconds]
16:38
lritter has joined #pypy
16:42
abrown has joined #pypy
16:56
adamholmberg has joined #pypy
17:01
adamholmberg has quit [Ping timeout: 240 seconds]
17:08
mattip has joined #pypy
17:47
<
arigato >
cfbolz: finally managed to write a unit test from issue 2904
17:58
speeder39_ has quit [Quit: Connection closed for inactivity]
18:08
<
arigato >
I think by now that it's something like: the optimized loop is called after a preamble that forces two input arguments to be equal; we correctly don't assume that they are equal in the loop, except in one case: the loop checks that one of them is equal zero, and then replaces the other one with the constant zero too
18:15
<
arigato >
or some slightly more subtle version of it---at the end of the preamble we have "h == height - 1", the loop checks that "h == 0", and then incorrectly assumes "height == 1"
18:18
mattip has quit [Remote host closed the connection]
18:27
forgottenone has joined #pypy
18:58
adamholmberg has joined #pypy
19:03
adamholmberg has quit [Ping timeout: 272 seconds]
19:11
JStoker has joined #pypy
19:47
forgottenone has quit [Quit: Konversation terminated!]
20:25
PileOfDirt has joined #pypy
20:28
<
cfbolz >
arigato: so it really is independent of virtual
20:37
<
cfbolz >
arigato: thanks for narrowing it down so well, will try to think more about it soon
21:03
Garen has joined #pypy
21:05
Garen_ has quit [Ping timeout: 250 seconds]
21:32
adamholmberg has joined #pypy
21:36
adamholmberg has quit [Ping timeout: 246 seconds]
21:57
xcm has quit [Remote host closed the connection]
21:59
xcm has joined #pypy
22:48
moei has joined #pypy
23:33
xcm has quit [Remote host closed the connection]
23:35
xcm has joined #pypy
23:41
altendky has quit [Quit: Connection closed for inactivity]