cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | the pypy angle is to shrug and copy the implementation of CPython as closely as possible, and staying out of design decisions
[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
* mariano facepalms
<mariano> it's my rply error handler
<mariano> yep
<mariano> thanks!
mariano has quit [Quit: leaving]
mjacob has quit [Ping timeout: 264 seconds]
mjacob has joined #pypy
otisolsen70 has joined #pypy
derpydoo has joined #pypy
derpydoo has quit [Ping timeout: 256 seconds]
korvo has quit [Quit: Client closed]
korvo has joined #pypy
Julian has joined #pypy
Julian has quit [Quit: leaving]
korvo has quit [Quit: Client closed]
korvo has joined #pypy