arigato 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 | mac OS and Fedora are not Windows
danielboston26 has joined #pypy
<danielboston26> does anyone here use editra with pypy?
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
ast-ral has joined #pypy
user24 has quit [Ping timeout: 268 seconds]
user24 has joined #pypy
mattip has quit [Ping timeout: 252 seconds]
sknebel has quit [Ping timeout: 268 seconds]
sknebel has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 244 seconds]
user24 has quit [Quit: Leaving]
Kipras_ has quit [Read error: Connection reset by peer]
Kipras_ has joined #pypy
dddddd has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
speeder39_ has joined #pypy
forgottenone has joined #pypy
<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.
<abrown> Can anyone take a look? Pastebin of error: https://pastebin.com/AhjQC9dc
ast-ral has quit [Quit: Page closed]
ast-ral has joined #pypy
<ast-ral> test
<ast-ral> hello
<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
<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.)
<ast-ral> ok thanks :)
<simpson> As you get more practice, you'll get more used to knowing what the types should be, and you'll have less trouble.
adamholmberg has joined #pypy
forgottenone has quit [Ping timeout: 246 seconds]
adamholmberg has quit [Ping timeout: 246 seconds]
danielboston26 has left #pypy ["Leaving"]
mdash has quit [Ping timeout: 260 seconds]
mdash has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 245 seconds]
<ast-ral> is there a way to do something similar to if type(obj) == SomeType:
<simpson> isinstance(), usually for subclassing.
<ast-ral> oh, duh
<ast-ral> thanks
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
abrown has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
speeder39_ has quit [Quit: Connection closed for inactivity]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
jamesaxl has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
mattip has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
antocuni has joined #pypy
mattip has quit [Ping timeout: 268 seconds]
mattip has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
antocuni has quit [Ping timeout: 240 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
dmalcolm has quit [Ping timeout: 245 seconds]
dmalcolm has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 268 seconds]
JStoker has quit [Ping timeout: 250 seconds]
JStoker has joined #pypy
JStoker has quit [Read error: Connection reset by peer]
JStoker has joined #pypy
antocuni has joined #pypy
JStoker has quit [Ping timeout: 252 seconds]
mattip has quit [Remote host closed the connection]
Garen_ has joined #pypy
<arigato> abrown (for the logs): it's missing knowledge that condition_value should be an Integer
<arigato> ...an IntegerValue instance
<arigato> there's an assert in one path leading to the line, but not the other (when you close the loop)
Garen has quit [Ping timeout: 250 seconds]
dddddd has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
speeder39_ has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 250 seconds]
antocuni has quit [Ping timeout: 272 seconds]
lritter has joined #pypy
abrown has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 240 seconds]
mattip has joined #pypy
<arigato> cfbolz: finally managed to write a unit test from issue 2904
speeder39_ has quit [Quit: Connection closed for inactivity]
<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
<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"
mattip has quit [Remote host closed the connection]
forgottenone has joined #pypy
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 272 seconds]
JStoker has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
PileOfDirt has joined #pypy
<cfbolz> arigato: so it really is independent of virtual
<cfbolz> s
<cfbolz> arigato: thanks for narrowing it down so well, will try to think more about it soon
Garen has joined #pypy
Garen_ has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
adamholmberg has quit [Ping timeout: 246 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
moei has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
altendky has quit [Quit: Connection closed for inactivity]