[Python-3000] raise with traceback? (original) (raw)
Georg Brandl g.brandl at gmx.net
Sun Aug 20 17:21:35 CEST 2006
- Previous message: [Python-3000] int-long unification
- Next message: [Python-3000] raise with traceback?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
as
raise ValueError, "something went wrong"
is going to go away, how will one raise with a custom traceback? The obvious
raise ValueError("something went wrong"), traceback
or something more esoteric like
raise ValueError("something went wrong") with traceback
?
Georg
- Previous message: [Python-3000] int-long unification
- Next message: [Python-3000] raise with traceback?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]