On 6/2/07, sansmojo <[EMAIL PROTECTED]> wrote: > > So, I checked out the code there, and it tries to import decimal, > which doesn't exist in my version of python. However, it tries an > alternate import of django.utils.decimal, which doesn't exist. There > is, however, a django.utils._decimal. Is this a bug or should I > replace decimal with _decimal?
It's quite possible there is a bug here; the decimal change was fairly significant, and it's possible something got missed (especially in oldforms, since development focus is no longer on that area). On top of that, as you noted, Python 2.3 didn't have a decimal type, so it will be slightly more prone to problems until we find all the stray decimal imports. However, where are you seeing this import statement? The only import of decimal I can see in oldforms/__init__.py is on line 785, and it reads 'from django.util import _decimal as decimal - which should be OK. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

