non descriptive error

Fredrik Lundh fredrik at pythonware.com
Mon Oct 10 02:30:21 EDT 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"

$ python script.py
  File "script.py", line 3

                   ^
SyntaxError: invalid syntax

> 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 :)

on your machine ?

</F>






More information about the Python-list mailing list