non descriptive error

Robert Kern robert.kern at
Mon Oct 10 07:05:34 CEST 2005

Timothy Smith wrote:

> it is definately a bug in 2.3 when using the decimal module. i can 
> reproduce it.
> from decimal import Decimal
> a = Decimal('0'
> and when you attempt to run it you will get "error"
> of course i do understand that decimal wasn't part of 2.3, but atleast 
> now when if anyone gets that terse message they know where to start 
> looking :)

[~]$ cat
from decimal import Decimal
a = Decimal('0'

[~]$ python2.3
  File "", line 4

SyntaxError: invalid syntax

Robert Kern
rkern at

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter

More information about the Python-list mailing list