[Arfrever] has quit [Read error: Connection reset by peer]
[Arfrever] has joined #pypy
jcea has quit [Ping timeout: 246 seconds]
korvo has quit [Ping timeout: 250 seconds]
itamarst has quit [Quit: Connection closed for inactivity]
korvo has joined #pypy
korvo has quit [Quit: Client closed]
korvo has joined #pypy
mariano has joined #pypy
<mariano>
hi! how do I print the message of a ValueError in a try/except? rpython doesn't let me access the message attribute and the default str implementation doesn't help
<mariano>
err[0] doesn't work either, str(err) gives me "<ValueError object at 0x454360>"
<mariano>
err.__str__() doesn't compile
<mariano>
err.args[0] doesn't work
<fijal>
mariano: I don't think you do, I think you need a custom exception for that (I might be wrong/outdated though)
jcea has joined #pypy
xorAxAx has quit [Ping timeout: 256 seconds]
agronholm has quit [Ping timeout: 256 seconds]
cfbolz has quit [Ping timeout: 264 seconds]
samth has quit [Ping timeout: 256 seconds]
ronan has quit [Ping timeout: 256 seconds]
idnar has quit [Ping timeout: 256 seconds]
jerith has quit [Ping timeout: 256 seconds]
Techcable has quit [Ping timeout: 272 seconds]
Alex_Gaynor has quit [Ping timeout: 256 seconds]
dbohdan[phone] has quit [Ping timeout: 256 seconds]
krono has quit [Ping timeout: 256 seconds]
yizawa has quit [Ping timeout: 256 seconds]
graingert has quit [Ping timeout: 256 seconds]
pjenvey has quit [Ping timeout: 256 seconds]
fijal has quit [Ping timeout: 255 seconds]
eamanu has quit [Ping timeout: 256 seconds]
pjenvey has joined #pypy
cfbolz has joined #pypy
dbohdan[phone] has joined #pypy
krono has joined #pypy
yizawa has joined #pypy
fijal has joined #pypy
samth has joined #pypy
eamanu has joined #pypy
agronholm has joined #pypy
xorAxAx has joined #pypy
jerith has joined #pypy
graingert has joined #pypy
Techcable has joined #pypy
Alex_Gaynor has joined #pypy
idnar has joined #pypy
ronan has joined #pypy
ronan has quit [Read error: Connection reset by peer]
ronan has joined #pypy
itamarst has joined #pypy
<mariano>
fijal: the exception is thrown by rply :/
<mariano>
a quick grep shows it may be a more specific exception