Re: [Python-Dev] Improve error msgs?

2006-06-19 Thread Raymond Hettinger
In abstract.c, there are many error messages like type_error("object does not support item assignment"); It helps debugging if the object's type was prepended. Should I go through the code and try to enhance them where possible? So that's definite "perhaps"? Anyway,

Re: [Python-Dev] Improve error msgs?

2006-06-18 Thread Brett Cannon
On 6/18/06, Georg Brandl [EMAIL PROTECTED] wrote: Georg Brandl wrote: Georg Brandl wrote: In abstract.c, there are many error messages like type_error(object does not support item assignment); It helps debugging if the object's type was prepended. Should I go through the code and try to enhance

Re: [Python-Dev] Improve error msgs?

2006-06-17 Thread Georg Brandl
Georg Brandl wrote: In abstract.c, there are many error messages like type_error(object does not support item assignment); It helps debugging if the object's type was prepended. Should I go through the code and try to enhance them where possible? So that's definite perhaps? Anyway,

Re: [Python-Dev] Improve error msgs?

2006-06-14 Thread Armin Rigo
Hi Georg, On Wed, Jun 14, 2006 at 08:51:03AM +0200, Georg Brandl wrote: type_error(object does not support item assignment); It helps debugging if the object's type was prepended. Should I go through the code and try to enhance them where possible? I think it's an excellent idea. Armin